All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
node2d.hpp File Reference

Classes

class  kanzi::Node2D
 
struct  kanzi::Node2D::ClippingParameters
 Clipping information carried from parents. More...
 
class  kanzi::Node2D::ManagedCompositionTarget
 Managed composition target container. More...
 

Namespaces

 kanzi
 

Macros

#define KZU_LAYER_PROFILING_LAYOUT
 Profiling constant string for layouting total time. More...
 
#define KZU_LAYER_PROFILING_LAYOUT_MEASURE
 Profiling constant string for layouting measure time. More...
 
#define KZU_LAYER_PROFILING_LAYOUT_ARRANGE
 Profiling constant string for layouting arrange time. More...
 
#define KZU_LAYER_TEXTURE_COLOR_BUFFER
 Layer texture flag - color buffer. More...
 
#define KZU_LAYER_TEXTURE_COLOR_ALPHA
 Layer texture flag - alpha channel. More...
 
#define KZU_LAYER_TEXTURE_COLOR_HDR
 Layer texture flag - HDR color. More...
 
#define KZU_LAYER_TEXTURE_DEPTH_BUFFER
 Layer texture flag - depth buffer. More...
 
#define KZU_LAYER_TEXTURE_STENCIL_BUFFER
 Layer texture flag - stencil buffer. More...
 
#define KZ_NODE_2D_NEW_RENDER_PATH
 Layer new render path toggle. More...
 

Typedefs

typedef shared_ptr< Node2D > kanzi::Node2DSharedPtr
 
typedef shared_ptr< Node2D const > kanzi::Node2DConstSharedPtr
 
typedef weak_ptr< Node2D > kanzi::Node2DWeakPtr
 
typedef void(* kanzi::KzuLayerHitTestVisitor )(const Node2D *layer, Vector2 layerPoint, void *userData, Node **out_objectNode)
 Hit test visitor function. More...
 

Enumerations

enum  kanzi::KzuLayerPixelFormat { kanzi::KZU_LAYER_PIXEL_FORMAT_RGB, kanzi::KZU_LAYER_PIXEL_FORMAT_RGBA }
 Layer pixel formats. More...
 

Functions

KANZI_API void kanzi::kzuLayerHitTest (const Node2D *layer, Vector2 point, const Metaclass *type, Node **out_objectNode)
 Performs a hit test to a layer and all sub-layers. More...
 
KANZI_API void kanzi::kzuLayerHitTestIterate (const Node2D *layer, Vector2 point, KzuLayerHitTestVisitor visitor, void *userData, Node **out_objectNode)
 Iterate layers and call visitor function. More...
 

Macro Definition Documentation

#define KZU_LAYER_PROFILING_LAYOUT

Profiling constant string for layouting total time.

#define KZU_LAYER_PROFILING_LAYOUT_MEASURE

Profiling constant string for layouting measure time.

#define KZU_LAYER_PROFILING_LAYOUT_ARRANGE

Profiling constant string for layouting arrange time.

#define KZU_LAYER_TEXTURE_COLOR_BUFFER

Layer texture flag - color buffer.

#define KZU_LAYER_TEXTURE_COLOR_ALPHA

Layer texture flag - alpha channel.

#define KZU_LAYER_TEXTURE_COLOR_HDR

Layer texture flag - HDR color.

#define KZU_LAYER_TEXTURE_DEPTH_BUFFER

Layer texture flag - depth buffer.

#define KZU_LAYER_TEXTURE_STENCIL_BUFFER

Layer texture flag - stencil buffer.

#define KZ_NODE_2D_NEW_RENDER_PATH

Layer new render path toggle.