All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi Namespace Reference

Namespaces

 chrono
 
 placeholders
 

Classes

class  AbstractAnimation
 Interface for abstract animations. More...
 
class  AbstractMessageType
 
class  AbstractNodeReference
 
class  AbstractPropertyNotificationHandler
 Abstract property notification handler. More...
 
class  AbstractPropertyType
 
class  AbstractResourceReference
 
class  Action
 Action is the base class for objects that execute something when the owning Trigger is triggered. More...
 
class  AnimationBindingProcessor
 Animation validator. More...
 
class  Application
 Application class. More...
 
struct  ApplicationProperties
 Configurable application properties. More...
 
struct  AppliedStyleEntry
 Applied style entry. More...
 
struct  Attribute
 
struct  BackEasingFunction
 
class  BinaryResource
 
class  Binding
 Binding objects establish connections between properties, message values or arguments. More...
 
class  BindingProcessor
 Binding validator. More...
 
struct  BounceEasingFunction
 
class  Brush
 Brush class. More...
 
class  BrushRenderer
 TODO: follow the NVI pattern, use xxxOverride protected funcs Brush renderer class. More...
 
class  BrushResource
 
class  Buffer
 Type enumeration of the buffer. More...
 
class  BufferObjectStream
 Specifies stream to GL buffer object. More...
 
class  Button2D
 Button2D. More...
 
class  Button3D
 Button node. More...
 
class  ButtonConcept
 Button concept class. More...
 
class  ButtonConceptImpl
 Base class for buttons. More...
 
class  CallbackBindingProcessor
 Callback validator. More...
 
class  Camera
 Camera node defines a view transform that is used to render the 3D scene. More...
 
class  Chain
 Chain class. More...
 
class  Chain< Ret, Link, void >
 
class  Chain< void, Link, Arg >
 
class  Chain< void, Link, void >
 
struct  CircleEasingFunction
 
class  ClassPropertyDefaultValue
 ClassPropertyDefaultValue is a helper for installing property values as class metadata. More...
 
class  ClassPropertyDefaultValue< bool >
 
class  ClassPropertyDefaultValue< float >
 
class  ClassPropertyDefaultValue< int >
 
class  ClassPropertyDefaultValue< KzcColorRGBA >
 
class  ClassPropertyDefaultValue< Matrix3x3 >
 
class  ClassPropertyDefaultValue< Matrix4x4 >
 
class  ClassPropertyDefaultValue< ResourceID >
 
class  ClassPropertyDefaultValue< string >
 
class  ClassPropertyDefaultValue< Type, typename std::enable_if< std::is_enum< Type >::value >::type >
 
class  ClassPropertyDefaultValue< Vector2 >
 
class  ClassPropertyDefaultValue< Vector3 >
 
class  ClickManipulator
 Click manipulator generates messages necessary to implement logic for object that can be pressed, for example buttons. More...
 
class  ClipQuad
 Clipping quad. More...
 
class  ColorBrush
 Color brush class. More...
 
class  ColorBrushRenderer
 Color brush renderer class. More...
 
class  ColorRGBA
 Color with 4 floating point components: red, green, blue and alpha (r, g, b, a). More...
 
class  Composer
 
class  CompositionManager
 Composition manager. More...
 
class  Condition
 Condition for triggers. More...
 
class  Constraints
 Contains property types of Constraints. More...
 
class  ContentBrush
 Texture brush class. More...
 
class  ContentBrushRenderer
 OpenGL texture brush renderer class. More...
 
class  ContentItemCollectionModel
 Base class for exposing abstract access to collections of items of UI controls with content. More...
 
class  ContentItemModel
 Base class for exposing abstract access to content of UI controls with single content item model. More...
 
class  ContentReference
 
struct  CubicEasingFunction
 
class  DataObject
 DataObject is the base class for data. More...
 
class  DataSource
 DataSource is the base class for data sources. More...
 
class  DefaultEventSource
 
class  DefaultListBoxItemContainerGenerator
 
class  DefaultListBoxItemGenerator
 
class  DefaultRenderTarget
 
class  DispatchMessageAction
 Dispatch message action. More...
 
class  DockLayout2D
 DockLayout2D. More...
 
class  DockLayout3D
 Dock layout arranges its items. More...
 
class  DockLayoutConcept
 Dock layout concept base class. More...
 
class  DockLayoutConceptImpl
 Dock layout concept implementation base class. More...
 
class  Domain
 Domain binds Kanzi subsystems and objects together. More...
 
class  DragAndDropManipulator
 Drag and Drop. More...
 
class  DynamicMessageType
 
class  DynamicPropertyType
 
struct  ElasticEasingFunction
 
class  EmptyNode2D
 Empty Node 2D can be used to group other 2D nodes. More...
 
class  EmptyNode3D
 
class  EventFilter
 EventFilter class. More...
 
class  EventSource
 EventSource class. More...
 
struct  EventSourceProperties
 Configurable event source properties. More...
 
class  ExampleApplication
 
class  ExecuteScriptAction
 Execute script action. More...
 
struct  ExponentialEasingFunction
 
class  ExpressionBindingProcessor
 Expression validator. More...
 
class  ExpressionCondition
 Expression condition. More...
 
class  FlowLayout2D
 Flow Layout 2D arranges 2D items along a line and continues to the next line when it runs out of space. More...
 
class  FlowLayout3D
 Flow Layout 3D arranges 3D items along a line and continues to the next line when it runs out of space. More...
 
class  FlowLayoutConcept
 Flow layout concept base class. More...
 
class  FlowLayoutConceptImpl
 Flow layout concept implementation base class. More...
 
class  Framebuffer
 Framebuffer allows the rendering to the user-specified texture or renderbuffer, instead of rendering directly to the window. More...
 
class  FromToAnimation
 Template class for from-to animations. More...
 
class  GlBrushRenderer
 OpenGL brush renderer specifics. More...
 
struct  Global
 
class  GLProgramHandle
 GLProgramHandle manages RAII ownership for GL program object. More...
 
class  GlRenderState
 OpenGL render state. More...
 
class  GlRenderStateValueContainer
 OpenGL render state value container. More...
 
class  GLShaderHandle
 GLShaderHandle manages RAII ownership for GL shader object. More...
 
struct  GlShaderRenderer
 Shader property storage. More...
 
class  GPUResource
 
class  GridLayout2D
 Grid Layout 2D arranges 2D items in a grid. More...
 
class  GridLayout3D
 Grid Layout 3D arranges 3D items in a grid. More...
 
class  GridLayoutConcept
 GridConcept is a base class for the nodes that implement layout that arranges items in a grid. More...
 
class  GridLayoutConceptImpl
 GridConceptImplementation is an abstract class for implementing grid concept. More...
 
class  GridListBox2D
 Represents a node that layouts its list of 2D items in a grid. More...
 
class  GridListBox2DTraits
 
class  GridListBox3D
 Represents a node that layouts its list of 3D items in a grid. More...
 
class  GridListBox3DTraits
 
class  GridListBoxConcept
 Properties and messages for grid list boxes. More...
 
class  Image2D
 
class  InputManipulator
 
class  Instantiator3D
 Instantiator3D node is a 3D node that replicates the appearance of 3D object, or a tree of 3D objects the instantiator node targets. More...
 
class  IntClassPropertyDefaultValueHelper
 
class  KanziComponentsModule
 
class  Keyboard
 Represents keyboard. More...
 
class  KeyframeAnimation
 Template class for keyframe animations. More...
 
struct  KzuInputManager
 Input manager. More...
 
struct  KzuInputTouchPoint
 Touch point description. More...
 
struct  KzuRenderContext
 Render context. More...
 
class  KzuTimelineEntryMessages
 
struct  KzuViewport
 Structure for viewport. More...
 
class  LayerRenderpass
 
class  LegacyError
 
class  LevelOfDetail3D
 Level of detail selector node is a 3D node that changes the appearance of its child nodes based on the viewing distance. More...
 
class  Light
 Light node is a source of light for a 3D scene. More...
 
struct  LinearEasingFunction
 
class  ListBoxConcept
 Properties and messages for list boxes. More...
 
class  ListBoxConceptImpl
 ListBoxConceptImpl provides common base implementation for different list boxes. More...
 
class  ListBoxGridPresenter
 
class  ListBoxItemContainer
 Base class for List Box Item Containers for List Box. More...
 
class  ListBoxItemContainer2D
 List Box Item Container for List Box 2D. Wrapper component for storing item object nodes. More...
 
class  ListBoxItemContainer3D
 List Box Item Container for List Box 3D. Wrapper component for storing item object nodes. More...
 
class  ListBoxItemContainerGenerator2D
 
class  ListBoxItemContainerGenerator3D
 
class  ListBoxItemContainerImpl
 Implementation of base List Box Item Container class for List Box. More...
 
class  ListBoxItemGenerator2D
 
class  ListBoxItemGenerator3D
 
class  ListBoxTrajectoryPresenter
 
class  LongPressManipulator
 Long press input manipulator. More...
 
class  Material
 A material is an instance of a material type (shader) that contains the property values for the material type properties. More...
 
class  MaterialBrush
 Freeform shader brush. More...
 
class  MaterialBrushRenderer
 Freeform shader brush renderer. More...
 
class  Matrix3x3
 Matrix with 3x3 elements. More...
 
class  Matrix4x4
 Matrix with 4x4 elements. More...
 
class  MediaTimeline
 Timeline playing a media file. More...
 
class  Mesh
 Mesh stores the geometry data for rendering Model3d nodes. More...
 
struct  MeshBone
 Definition of mesh bone, that is used for mesh skinning. More...
 
struct  MeshCluster
 Mesh cluster. More...
 
struct  MeshVertexData
 Vertex data of a mesh. More...
 
struct  MessageArguments
 Message arguments is the base class for arguments passed in messages. More...
 
class  MessageDispatcherProperties
 
class  MessageTrigger
 Message handler trigger. More...
 
class  MessageType
 
class  Metaclass
 Metaclass provides type inspection mechanism for Kanzi classes. More...
 
class  MetaclassAbstractImpl
 
class  MetaclassImpl
 
class  MetaclassStaticImpl
 
class  Model3D
 Renders a mesh in 3D space. More...
 
class  Module
 Module is a class representing a functional module with its own metadata about the types it contains. More...
 
struct  ModuleDeleter
 Module deleter for shared_ptr. More...
 
class  Morph
 
class  MultiClickManipulator
 Multi click input manipulator. More...
 
class  NinePatchImage2D
 A nine-patch image is a 3x3 grid of images. The center image is framed by the other images which all stretch according to the layout size. More...
 
class  Node
 Base class for scene graph nodes in Kanzi. More...
 
class  Node2D
 
class  Node3D
 Base class for all 3D nodes. More...
 
struct  NodeContext
 
class  NodePropertyNotificationHandler
 Node property notification handler. More...
 
class  NodeReference
 
class  NullBrush
 Null brush class. More...
 
class  Object
 Object provides metadata and property access to derived classes. More...
 
class  ObjectFactory
 
class  OnAttachedTrigger
 On Attached Trigger. More...
 
class  OnPropertyChangedTrigger
 Property change Trigger. More...
 
class  Page
 Page component, allows to perform screen-to-screen transitions in 2D UI. More...
 
class  PageNavigationTracker
 Page navigation tracker manages navigation requests in scene tree. More...
 
class  PageTransitionReader
 
class  PanManipulator
 Pan input manipulator. More...
 
class  ParallelTimeline
 The Kanzi animation system consists animations and timelines: animations define how to animate a property, and timelines map the animations to time and to objects you want to animate. More...
 
class  ParallelTimelinePlayback
 Playback control class for ParallelTimeline. More...
 
class  PinchManipulator
 Pinch input manipulator. More...
 
class  Pipeline
 Pipeline class. More...
 
class  PlayAnimationAction
 Play animation action. More...
 
class  Plugin
 
class  Portal
 Portal layer. More...
 
struct  PowerEasingFunction
 
class  PrefabTemplate
 
class  PrefabTemplateNode
 
class  ProgressiveRenderingViewport2D
 
class  PropertyAnimationTimeline
 The Kanzi animation system consists animations and timelines: animations define how to animate a property, and timelines map the animations to time and to objects you want to animate. More...
 
class  PropertyAnimationTimelinePlayback
 Playback class for PropertyAnimationTimeline. More...
 
class  PropertyFieldAnimationTimeline
 The Kanzi animation system consists animations and timelines: animations define how to animate a property, and timelines map the animations to time and to objects you want to animate. More...
 
class  PropertyFieldAnimationTimelinePlayback
 Playback control for PropertyFieldAnimationTimeline. More...
 
class  PropertyType
 
class  PropertyType< ResourceID >
 
class  PropertyType< Type, typename std::enable_if< std::is_enum< Type >::value >::type >
 
struct  PropertyTypeEditorInfo
 
struct  QuadraticEasingFunction
 
struct  QuarticEasingFunction
 
struct  QuinticEasingFunction
 
class  RangeConcept
 RangeConcept represents a number range with an optional step. More...
 
class  RangeConceptImpl
 
class  RelativeNodeResolver
 
class  Renderbuffer
 Renderbuffers provide the images that can be rendered to by attaching them to the framebuffer as color or depth stencil images. More...
 
class  RenderContextStack
 Render context stack. More...
 
class  Renderer
 
class  Renderer3D
 Renderer is the core component for assigning lights, meshes, cameras, skin animations etc. More...
 
class  RendererStatisticsScope
 
class  Renderpass
 Render pass passes set of objects to be rendered down to renderer. More...
 
class  RenderStatePropertyNotificationHandler
 Property state and value container for render state. More...
 
class  RenderStateResourceContainer
 Render state resource container. More...
 
class  RenderTarget
 RenderTarget class. More...
 
class  Resource
 Represents the base class for all resources. More...
 
class  ResourceDictionary
 Resource dictionary. More...
 
class  ResourceID
 Resource ID. More...
 
class  ResourceManager
 
class  ResourceReference
 
class  Sampler
 Sampler provides the sampling parameters, such as minification and magnification filters, mipmap mode, and texture addressing mode for textures. More...
 
class  Scene
 Scene is a 3D node that is the root node for other 3D nodes. More...
 
class  ScenegraphTimelinePlaybackContext
 Helper class to resolve objects for animation timelines. More...
 
class  Scheduler
 Scheduler class. More...
 
class  Screen
 The screen represents the metrics of the target device and acts as the root node for the whole node tree. More...
 
class  ScrollView2D
 
class  ScrollView3D
 
class  ScrollViewConcept
 
class  ScrollViewConceptImpl
 
class  SequentialTimeline
 The Kanzi animation system consists animations and timelines: animations define how to animate a property, and timelines map the animations to time and to objects you want to animate. More...
 
class  SetPropertyAction
 Set property action. More...
 
class  Shader
 Shader GPU resource. More...
 
struct  ShaderTextureUniform
 Specifies single texture uniform entry. More...
 
class  ShapeRenderer
 
struct  SineEasingFunction
 
struct  Skeleton
 Skeleton container. More...
 
class  Slider2D
 

Examples

More...
 
class  Slider2DConceptImpl
 
class  Slider3D
 

Examples

More...
 
class  Slider3DConceptImpl
 
class  SliderConcept
 SliderConcept contains the trajectory ResourceID property. More...
 
class  SliderTrajectoryPresenter
 
struct  SmootherStepEasingFunction
 
struct  SmoothStepEasingFunction
 
class  SplashScreen
 Splash screen. More...
 
class  SRTValue2D
 Structure describing scale, rotation and translation transformation in 2D space. More...
 
class  SRTValue3D
 Structure describing scale, rotation and translation transformation in 3D space. More...
 
class  SRTValue3DLongerPath
 
class  StackLayout2D
 Stack Layout 2D arranges its items on a line along the axis you specify in the DirectionProperty. More...
 
class  StackLayout3D
 Stack Layout 3D arranges its items on a line along the axis you specify in the DirectionProperty. More...
 
class  StackLayoutConcept
 Stack layout concept base class. More...
 
class  StackLayoutConceptImpl
 Stack layout concept implementation base class. More...
 
class  StandardMaterial
 Contains property types of Standard material. More...
 
class  StateManager
 State manager for managing states of nodes or application. More...
 
class  StateManagerMessageArguments
 Represents base message arguments of state manager messages. More...
 
struct  StepEasingFunction
 
class  StopWatch
 Stop watch class. More...
 
class  Style
 Style applying properties, triggers and bindings to nodes. More...
 
class  Surface
 Surfaces provide images for Framebuffers where to render to. More...
 
class  SyncPoint
 
class  Tag
 Tag represents a mark that can be added to a node to mark that the node is of certain kind. More...
 
class  TextBlock2D
 Text Block 2D displays a small amount of text in 2D. More...
 
class  TextBlock3D
 Text Block 3D displays a small amount of text in 3D. More...
 
class  TextBlockConcept
 TextConcept is base class for nodes that implement text rendering. More...
 
class  TextBlockConceptImpl
 TextConceptImplementation is an abstract class for implementing text concept. More...
 
class  TextResource
 Text resource. More...
 
class  Texture
 Textures provide images that can be read from shaders through samplers. More...
 
class  TextureBrush
 Texture brush class. More...
 
class  TextureBrushRenderer
 Texture brush renderer class. More...
 
class  Timeline
 Timeline maps animations to time and objects. More...
 
class  TimelineClock
 Updates timelines based on time. More...
 
class  TimelineEvent
 Event on a timeline. More...
 
class  TimelinePlayback
 Playback object for timelines. Created for every timeline that is played. More...
 
class  TimelinePlaybackContext
 Helper interface to resolve objects for timelines. More...
 
struct  TimerMessageArguments
 
class  TimerTrigger
 Timer Trigger. More...
 
class  ToggleButton2D
 
class  ToggleButton3D
 Toggle button node. More...
 
class  ToggleButtonGroup2D
 Toggle Button Group 2D allows users of your application to select only one option from a set of options that are mutually exclusive. More...
 
class  ToggleButtonGroup3D
 Toggle Button Group 3D allows users of your application to select only one option from a set of options that are mutually exclusive. More...
 
class  ToggleButtonGroupConcept
 ToggleButtonGroup contains properties that are common to both ToggleButtonGroup2D and ToggleButtonGroup3D. More...
 
class  ToggleButtonGroupConceptImpl
 
class  Trajectory
 
class  Trajectory2DInputHandler
 
class  Trajectory2DInputLogic
 
class  Trajectory3DInputHandler
 
class  Trajectory3DInputLogic
 
class  TrajectoryLayout2D
 Trajectory Layout 2D arranges its items along a trajectory. More...
 
class  TrajectoryLayout3D
 Trajectory Layout 3D arranges its items along a trajectory. More...
 
class  TrajectoryLayoutConcept
 TrajectoryLayoutConcept contains trajectory layout related properties. More...
 
class  TrajectoryListBox3D
 Represents a node that layouts its list of 3D items on a trajectory. More...
 
class  TrajectoryListBox3DTraits
 
class  TransformedScene2D
 
class  TransformedScene3D
 
class  TransitionView2D
 Transition layer. More...
 
class  Trigger
 Trigger is the base class for defining events, conditions and actions for content-driven logic programming. More...
 
class  TypedDataObject
 Template class that can be used with standard types. More...
 
struct  Uniform
 
class  V8Module
 
class  ValueAnimation
 Interface template for value animations. More...
 
struct  Variant
 Union container for manipulating an object from a heterogeneous set of types in a uniform manner. More...
 
struct  VariantTransform2D
 3x3 matrix data to be stored in variant. More...
 
struct  VariantTransform3D
 4x4 matrix data to be stored in variant. More...
 
class  Vector2
 Vector with 2 floating point components: (x, y). More...
 
class  Vector3
 Vector with 3 floating point components: (x, y, z). More...
 
class  Vector4
 Vector with 4 floating point components: (x, y, z, w). More...
 
class  VertexAttribute
 
struct  Viewport
 
class  Viewport2D
 Use a Viewport 2D to set the size of a render target surface onto which content is projected. More...
 
class  Viewport3D
 Use a Viewport 3D to set the size of a render target surface onto which content is projected. More...
 
class  Watermark
 Watermark. More...
 

Typedefs

typedef function< void()> Task
 Tasks are stateless functions. More...
 
typedef vector< TaskTaskContainer
 
typedef
TaskContainer::const_iterator 
TaskConstIterator
 
typedef shared_ptr< ActionActionSharedPtr
 
typedef shared_ptr
< DispatchMessageAction
DispatchMessageActionSharedPtr
 
typedef shared_ptr
< PlayAnimationAction
PlayAnimationActionSharedPtr
 
typedef shared_ptr
< SetPropertyAction
SetPropertyActionSharedPtr
 
typedef shared_ptr
< AbstractAnimation
AbstractAnimationSharedPtr
 
typedef FromToAnimation< bool,
LinearEasingFunction
BoolLinearFromToAnimation
 
typedef shared_ptr
< BoolLinearFromToAnimation
BoolLinearFromToAnimationSharedPtr
 
typedef FromToAnimation< float,
LinearEasingFunction
FloatLinearFromToAnimation
 
typedef shared_ptr
< FloatLinearFromToAnimation
FloatLinearFromToAnimationSharedPtr
 
typedef FromToAnimation
< ColorRGBA,
LinearEasingFunction
ColorRGBALinearFromToAnimation
 
typedef shared_ptr
< ColorRGBALinearFromToAnimation
ColorRGBALinearFromToAnimationSharedPtr
 
typedef FromToAnimation< float,
function< float(float)> > 
FloatCustomFromToAnimation
 
typedef shared_ptr
< FloatCustomFromToAnimation
FloatCustomFromToAnimationSharedPtr
 
typedef KeyframeAnimation< bool > BoolKeyframeAnimation
 
typedef shared_ptr
< BoolKeyframeAnimation
BoolKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< int > IntKeyframeAnimation
 
typedef shared_ptr
< IntKeyframeAnimation
IntKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< float > FloatKeyframeAnimation
 
typedef shared_ptr
< FloatKeyframeAnimation
FloatKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation
< Vector2
Vector2KeyframeAnimation
 
typedef shared_ptr
< Vector2KeyframeAnimation
Vector2KeyframeAnimationSharedPtr
 
typedef KeyframeAnimation
< Vector3
Vector3KeyframeAnimation
 
typedef shared_ptr
< Vector3KeyframeAnimation
Vector3KeyframeAnimationSharedPtr
 
typedef KeyframeAnimation
< Vector4
Vector4KeyframeAnimation
 
typedef shared_ptr
< Vector4KeyframeAnimation
Vector4KeyframeAnimationSharedPtr
 
typedef KeyframeAnimation
< ColorRGBA
ColorRGBAKeyframeAnimation
 
typedef shared_ptr
< ColorRGBAKeyframeAnimation
ColorRGBAKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< string > StringKeyframeAnimation
 
typedef shared_ptr
< StringKeyframeAnimation
StringKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation
< ResourceID
ResourceIDKeyframeAnimation
 
typedef shared_ptr
< ResourceIDKeyframeAnimation
ResourceIDKeyframeAnimationSharedPtr
 
typedef shared_ptr
< ParallelTimeline
ParallelTimelineSharedPtr
 
typedef shared_ptr
< ParallelTimelinePlayback
ParallelTimelinePlaybackSharedPtr
 
typedef shared_ptr
< PropertyAnimationTimeline
PropertyAnimationTimelineSharedPtr
 
typedef shared_ptr
< PropertyAnimationTimelinePlayback
PropertyAnimationTimelinePlaybackSharedPtr
 
typedef shared_ptr
< PropertyFieldAnimationTimeline
PropertyFieldAnimationTimelineSharedPtr
 
typedef shared_ptr
< PropertyFieldAnimationTimelinePlayback
PropertyFieldAnimationTimelinePlaybackSharedPtr
 
typedef shared_ptr
< SequentialTimeline
SequentialTimelineSharedPtr
 
typedef shared_ptr< TimelineTimelineSharedPtr
 
typedef shared_ptr
< TimelinePlayback
TimelinePlaybackSharedPtr
 
typedef shared_ptr< TimelineClockTimelineClockSharedPtr
 
typedef ValueAnimation< bool > BoolAnimation
 
typedef shared_ptr< BoolAnimationBoolAnimationSharedPtr
 
typedef ValueAnimation< int > IntAnimation
 
typedef shared_ptr< IntAnimationIntAnimationSharedPtr
 
typedef ValueAnimation< float > FloatAnimation
 
typedef shared_ptr
< FloatAnimation
FloatAnimationSharedPtr
 
typedef ValueAnimation< ColorRGBAColorRGBAAnimation
 
typedef shared_ptr
< ColorRGBAAnimation
ColorRGBAAnimationSharedPtr
 
typedef ValueAnimation< Vector2Vector2Animation
 
typedef shared_ptr
< Vector2Animation
Vector2AnimationSharedPtr
 
typedef ValueAnimation< Vector3Vector3Animation
 
typedef shared_ptr
< Vector3Animation
Vector3AnimationSharedPtr
 
typedef ValueAnimation< Vector4Vector4Animation
 
typedef shared_ptr
< Vector4Animation
Vector4AnimationSharedPtr
 
typedef ValueAnimation< string > StringAnimation
 
typedef shared_ptr
< StringAnimation
StringAnimationSharedPtr
 
typedef ValueAnimation
< ResourceID
ResourceIDAnimation
 
typedef shared_ptr
< ResourceIDAnimation
ResourceIDAnimationSharedPtr
 
typedef ValueAnimation
< SRTValue2D
SRTValue2DAnimation
 
typedef shared_ptr
< SRTValue2DAnimation
SRTValue2DAnimationSharedPtr
 
typedef ValueAnimation
< SRTValue3D
SRTValue3DAnimation
 
typedef shared_ptr
< SRTValue3DAnimation
SRTValue3DAnimationSharedPtr
 
typedef vector< string_viewSystemProperties
 Read-only values from the system. More...
 
typedef shared_ptr
< AnimationBindingProcessor
AnimationBindingProcessorSharedPtr
 
typedef shared_ptr< KzuAnimationAnimationSharedPtr
 
typedef shared_ptr< BindingBindingSharedPtr
 
typedef shared_ptr< Binding
const > 
BindingSharedConstPtr
 
typedef shared_ptr< DataObjectDataObjectSharedPtr
 
typedef shared_ptr< DataSourceDataSourceSharedPtr
 
typedef shared_ptr
< BindingProcessor
BindingProcessorSharedPtr
 
typedef shared_ptr
< CallbackBindingProcessor
CallbackBindingProcessorSharedPtr
 
typedef kzsError(* KzuExpressionValidatorFunction )(const Variant *firstArgumentRegister, const Variant *secondArgumentRegister, Variant *outputRegister, PropertyField firstArgumentField, PropertyField secondArgumentField, PropertyField outputField, kzBool *out_valid)
 Expression validator function pointer type. More...
 
typedef shared_ptr
< ExpressionBindingProcessor
ExpressionBindingProcessorSharedPtr
 
typedef shared_ptr< ConditionConditionSharedPtr
 
typedef shared_ptr
< ExpressionCondition
ExpressionConditionSharedPtr
 
typedef shared_ptr
< BinaryResource
BinaryResourceSharedPtr
 
typedef shared_ptr< NodeNodeSharedPtr
 
typedef shared_ptr< TextResourceTextResourceSharedPtr
 Text resource shared pointer. More...
 
typedef TypedDataObject< bool,
DataObject::Bool
DataObjectBool
 
typedef TypedDataObject
< int32_t, DataObject::Integer
DataObjectInt
 
typedef TypedDataObject
< double, DataObject::Real
DataObjectReal
 
typedef TypedDataObject
< string, DataObject::String
DataObjectString
 
typedef weak_ptr< DataSourceDataSourceWeakPtr
 
typedef shared_ptr< void > ScriptingSystemSharedPtr
 
typedef shared_ptr< EventSourceEventSourceSharedPtr
 
typedef shared_ptr< BrushBrushSharedPtr
 Brush shared pointer. More...
 
typedef shared_ptr< BrushRendererBrushRendererSharedPtr
 Brush renderer shared pointer. More...
 
typedef shared_ptr< BrushResourceBrushResourceSharedPtr
 
typedef shared_ptr< ColorBrushColorBrushSharedPtr
 
typedef shared_ptr< ContentBrushContentBrushSharedPtr
 Shared pointer type. More...
 
typedef shared_ptr< MaterialBrushMaterialBrushSharedPtr
 Shared pointer definition. More...
 
typedef shared_ptr< NullBrushNullBrushSharedPtr
 
typedef shared_ptr< TextureBrushTextureBrushSharedPtr
 Shared pointer definition. More...
 
typedef shared_ptr< FramebufferFramebufferSharedPtr
 
typedef shared_ptr< ComposerComposerSharedPtr
 
typedef shared_ptr
< LayerRenderpass
LayerRenderPassSharedPtr
 
typedef shared_ptr
< KzuDebugComposer
DebugComposerSharedPtr
 
typedef shared_ptr< MaterialMaterialSharedPtr
 
typedef shared_ptr< Material
const > 
MaterialSharedConstPtr
 
typedef shared_ptr< TextureTextureSharedPtr
 
typedef shared_ptr< MeshMeshSharedPtr
 
typedef shared_ptr< const MeshMeshConstSharedPtr
 
typedef shared_ptr< MorphMorphSharedPtr
 
typedef shared_ptr< ShaderShaderSharedPtr
 
typedef shared_ptr< MeshBoneMeshBoneSharedPtr
 
typedef shared_ptr< MeshClusterMeshClusterSharedPtr
 
typedef unordered_map< string,
int > 
StringToAttributeIndex
 
typedef shared_ptr
< StringToAttributeIndex
StringToAttributeIndexSharedPtr
 
typedef unordered_map< string,
StringToAttributeIndexSharedPtr
StringToAttributeIndexSet
 
typedef unordered_map< Shader
*, vector< int > > 
ShaderToAttributeMapSet
 
typedef shared_ptr< Morph const > MorphSharedConstPtr
 
typedef shared_ptr< RenderbufferRenderbufferSharedPtr
 
typedef shared_ptr< Renderer3DRenderer3DSharedPtr
 
typedef shared_ptr< ShapeRendererShapeRendererSharedPtr
 
typedef shared_ptr< RenderpassRenderpassSharedPtr
 
typedef shared_ptr< SamplerSamplerSharedPtr
 
typedef shared_ptr< SurfaceSurfaceSharedPtr
 
typedef shared_ptr
< ClickManipulator
ClickManipulatorSharedPtr
 
typedef shared_ptr
< DragAndDropManipulator
DragAndDropManipulatorSharedPtr
 
typedef shared_ptr
< InputManipulator
InputManipulatorSharedPtr
 
typedef shared_ptr
< LongPressManipulator
LongPressManipulatorSharedPtr
 
typedef shared_ptr
< MultiClickManipulator
MultiClickManipulatorSharedPtr
 
typedef shared_ptr
< PanManipulator
PanManipulatorSharedPtr
 
typedef shared_ptr
< PinchManipulator
PinchManipulatorSharedPtr
 
typedef shared_ptr< ResourceResourceSharedPtr
 
typedef shared_ptr< CameraCameraSharedPtr
 CameraNode shared pointer. More...
 
typedef shared_ptr< EmptyNode2DEmptyNode2DSharedPtr
 
typedef shared_ptr< EmptyNode3DEmptyNode3DSharedPtr
 
typedef shared_ptr< Image2DImage2DSharedPtr
 
typedef shared_ptr
< Instantiator3D
Instantiator3DSharedPtr
 Instantiator3DNode shared pointer. More...
 
typedef shared_ptr< LightLightSharedPtr
 LightNode shared pointer. More...
 
typedef shared_ptr
< LevelOfDetail3D
LevelOfDetail3DSharedPtr
 LODSelectorNode shared pointer. More...
 
typedef shared_ptr< Model3DModel3DSharedPtr
 Mesh node shared pointer. More...
 
typedef shared_ptr< TriggerTriggerSharedPtr
 
typedef shared_ptr< Trigger
const > 
TriggerConstSharedPtr
 
typedef shared_ptr
< ResourceDictionary
ResourceDictionarySharedPtr
 Resource dictionary shared pointer. More...
 
typedef weak_ptr< NodeNodeWeakPtr
 
typedef shared_ptr< Node const > NodeConstSharedPtr
 
typedef shared_ptr< void > ScriptingContextSharedPtr
 
typedef shared_ptr< Node2DNode2DSharedPtr
 
typedef shared_ptr< Node2D const > Node2DConstSharedPtr
 
typedef weak_ptr< Node2DNode2DWeakPtr
 
typedef void(* KzuLayerHitTestVisitor )(const Node2D *layer, Vector2 layerPoint, void *userData, Node **out_objectNode)
 Hit test visitor function. More...
 
typedef shared_ptr< Node3DNode3DSharedPtr
 
typedef weak_ptr< Node3DNode3DWeakPtr
 
typedef shared_ptr< const Node3DNode3DConstSharedPtr
 
typedef shared_ptr< PortalPortalSharedPtr
 
typedef shared_ptr
< ProgressiveRenderingViewport2D
ProgressiveRenderingViewport2DSharedPtr
 
typedef shared_ptr< SceneSceneSharedPtr
 Scene shared pointer. More...
 
typedef weak_ptr< CameraCameraWeakPtr
 CameraNode weak pointer. More...
 
typedef shared_ptr< ScreenScreenSharedPtr
 Screen shared pointer. More...
 
typedef shared_ptr
< TransitionView2D
TransitionView2DSharedPtr
 
typedef shared_ptr< Viewport2DViewport2DSharedPtr
 
typedef shared_ptr< Viewport3DViewport3DSharedPtr
 
typedef shared_ptr< StyleStyleSharedPtr
 
typedef shared_ptr< ObjectObjectSharedPtr
 Object shared pointer type. More...
 
typedef boost::mt19937 default_random_engine
 
typedef boost::string_ref string_view
 
typedef shared_ptr
< AbstractPropertyNotificationHandler
AbstractPropertyNotificationHandlerSharedPtr
 Abstract property notification handler shared pointer. More...
 
typedef shared_ptr
< PropertyTypeEditorInfo
PropertyTypeEditorInfoSharedPtr
 
typedef shared_ptr< RenderTargetRenderTargetSharedPtr
 
typedef shared_ptr
< RenderStatePropertyNotificationHandler
RenderStatePropertyContainerSharedPtr
 Render state property container shared pointer. More...
 
typedef map< string, int > AttributeNameToIndex
 
typedef
AttributeNameToIndex::iterator 
AttributeNameToIndexIterator
 
typedef
AttributeNameToIndex::const_iterator 
AttributeNameToIndexConstIterator
 
typedef shared_ptr< RendererRendererSharedPtr
 
typedef shared_ptr
< BufferObjectStream
BufferObjectStreamSharedPtr
 
typedef shared_ptr
< CompositionManager
CompositionManagerSharedPtr
 Composition manager shared pointer type. More...
 
typedef shared_ptr
< KzuAnimationItem
AnimationItemSharedPtr
 
typedef shared_ptr< KzuFontFontSharedPtr
 
typedef shared_ptr
< KzuTimeLineEntry
TimeLineEntrySharedPtr
 
typedef weak_ptr< ResourceResourceWeakPtr
 
typedef shared_ptr
< ResourceManager
ResourceManagerSharedPtr
 
typedef shared_ptr< TrajectoryTrajectorySharedPtr
 
typedef vector< PipelinePipelineContainer
 
typedef shared_ptr< StateManagerStateManagerSharedPtr
 
typedef weak_ptr< StateManagerStateManagerWeakPtr
 
typedef shared_ptr
< PrefabTemplate
PrefabTemplateSharedPtr
 
typedef shared_ptr
< PrefabTemplateNode
PrefabTemplateNodeSharedPtr
 
typedef weak_ptr
< PrefabTemplateNode
PrefabTemplateNodeWeakPtr
 
typedef shared_ptr
< MessageTrigger
MessageTriggerSharedPtr
 
typedef shared_ptr
< OnAttachedTrigger
OnAttachedTriggerSharedPtr
 
typedef shared_ptr
< OnPropertyChangedTrigger
OnPropertyChangedTriggerSharedPtr
 
typedef shared_ptr< TimerTriggerTimerTriggerSharedPtr
 
typedef shared_ptr
< KzuAnimationClip
AnimationClipSharedPtr
 
typedef shared_ptr
< KzuTimeLineSequence
TimeLineSequenceSharedPtr
 
typedef shared_ptr
< KzuObjectSource
ObjectSourceSharedPtr
 
typedef shared_ptr
< KzuFilterObjectSource
FilterObjectSourceSharedPtr
 
typedef shared_ptr
< KzuSortObjectSource
SortObjectSourceSharedPtr
 
typedef shared_ptr
< KzuCombinerObjectSource
CombinerObjectSourceSharedPtr
 
typedef shared_ptr
< RenderContextStack
RenderContextStackSharedPtr
 
typedef function< void(const
TimerMessageArguments &)> 
TimerFunction
 
typedef shared_ptr< void > TimerSubscriptionToken
 
typedef shared_ptr< KzuTextFormatTextFormatSharedPtr
 TextFormat shared pointer. More...
 
typedef shared_ptr< Button2DButton2DSharedPtr
 
typedef shared_ptr< Button3DButton3DSharedPtr
 Button shared pointer. More...
 
typedef shared_ptr< DockLayout2DDockLayout2DSharedPtr
 
typedef shared_ptr< DockLayout3DDockLayout3DSharedPtr
 DockLayout shared pointer. More...
 
typedef shared_ptr< FlowLayout2DFlowLayout2DSharedPtr
 
typedef shared_ptr< FlowLayout3DFlowLayout3DSharedPtr
 FlowLayout shared pointer. More...
 
typedef shared_ptr< GridLayout2DGridLayout2DSharedPtr
 GridLayout2D shared pointer. More...
 
typedef shared_ptr< GridLayout3DGridLayout3DSharedPtr
 GridLayout3D shared pointer. More...
 
typedef shared_ptr< GridListBox2DGridListBox2DSharedPtr
 
typedef shared_ptr< GridListBox3DGridListBox3DSharedPtr
 
typedef shared_ptr
< ListBoxItemContainer3D
ListBoxItemContainer3DSharedPtr
 
typedef shared_ptr
< ListBoxItemContainer2D
ListBoxItemContainer2DSharedPtr
 
typedef shared_ptr
< NinePatchImage2D
NinePatchImage2DSharedPtr
 
typedef shared_ptr< PagePageSharedPtr
 
typedef shared_ptr< ScrollView2DScrollView2DSharedPtr
 
typedef shared_ptr< ScrollView3DScrollView3DSharedPtr
 
typedef shared_ptr< Slider2DSlider2DSharedPtr
 Trajectory Slider shared pointer. More...
 
typedef
SliderTrajectoryPresenter
< TrajectoryLayout2D, Slider2D,
Trajectory2DInputHandler
< TrajectoryLayout2D, Slider2D > > 
Slider2DPresenterType
 
typedef Slider2DConceptImpl
< RangeConceptImpl< Node2D,
Slider2D >
, Slider2DPresenterType,
Slider2D
Slider2DConceptImplType
 
typedef shared_ptr< Slider3DSlider3DSharedPtr
 Trajectory Slider shared pointer. More...
 
typedef
SliderTrajectoryPresenter
< TrajectoryLayout3D, Slider3D,
Trajectory3DInputHandler
< TrajectoryLayout3D, Slider3D > > 
Slider3DPresenterType
 
typedef Slider3DConceptImpl
< RangeConceptImpl< Node3D,
Slider3D >
, Slider3DPresenterType,
Slider3D
Slider3DConceptImplType
 
typedef shared_ptr< StackLayout2DStackLayout2DSharedPtr
 Stack layout shared pointer. More...
 
typedef shared_ptr< StackLayout3DStackLayout3DSharedPtr
 StackLayout shared pointer. More...
 
typedef shared_ptr< TextBlock2DTextBlock2DSharedPtr
 TextLayer shared pointer. More...
 
typedef shared_ptr< TextBlock3DTextBlock3DSharedPtr
 TextBlock shared pointer. More...
 
typedef shared_ptr
< ToggleButton2D
ToggleButton2DSharedPtr
 
typedef shared_ptr
< ToggleButton3D
ToggleButton3DSharedPtr
 ToggleButton shared pointer. More...
 
typedef shared_ptr
< ToggleButtonGroup2D
ToggleButtonGroup2DSharedPtr
 ToggleButtonGroup2D shared pointer. More...
 
typedef shared_ptr
< ToggleButtonGroup3D
ToggleButtonGroup3DSharedPtr
 ToggleButtonGroup3D shared pointer. More...
 
typedef shared_ptr
< TrajectoryLayout2D
TrajectoryLayout2DSharedPtr
 TrajectoryLayout shared pointer. More...
 
typedef shared_ptr
< TrajectoryLayout3D
TrajectoryLayout3DSharedPtr
 TrajectoryLayout shared pointer. More...
 
typedef shared_ptr
< TrajectoryListBox3D
TrajectoryListBox3DSharedPtr
 
typedef v8::Persistent
< v8::FunctionTemplate > 
PersistentFunctionTemplate
 
typedef v8::Local< v8::Value > LocalValue
 
typedef v8::Local< v8::Object > LocalObject
 
typedef v8::Local< v8::External > LocalExternal
 
typedef v8::Local< v8::Context > LocalContext
 
typedef v8::Local< v8::Script > LocalScript
 
typedef v8::Local
< v8::ObjectTemplate > 
LocalObjectTemplate
 
typedef v8::Local
< v8::FunctionTemplate > 
LocalFunctionTemplate
 
typedef v8::Persistent
< v8::Context > 
PersistentContext
 
typedef v8::Persistent
< v8::Script > 
PersistentScript
 
typedef v8::Persistent
< v8::Object > 
PersistentObject
 
typedef shared_ptr
< ExecuteScriptAction
ExecuteScriptActionSharedPtr
 

Enumerations

enum  ActionArgumentType { ActionArgumentTypeValue, ActionArgumentTypeMessageArgument, ActionArgumentTypeObjectProperty }
 Action binding type. More...
 
enum  AnimationEasingMode { AnimationEaseIn, AnimationEaseOut, AnimationEaseInOut }
 
enum  KzuExpressionValidatorArgumentType {
  KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_SOURCE, KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_TARGET, KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_SOURCE_REGISTER_0, KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_CONSTANT_REGISTER_0,
  KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_TEMPORARY_REGISTER_0, KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_DATA_SOURCE_REGISTER_0
}
 Expression argument type. More...
 
enum  KzuExpressionValidatorOperation {
  KZU_EXPRESSION_VALIDATOR_OPERATION_WRITE, KZU_EXPRESSION_VALIDATOR_OPERATION_ADD, KZU_EXPRESSION_VALIDATOR_OPERATION_SUBTRACT, KZU_EXPRESSION_VALIDATOR_OPERATION_MULTIPLY,
  KZU_EXPRESSION_VALIDATOR_OPERATION_DIVIDE, KZU_EXPRESSION_VALIDATOR_OPERATION_MODULO, KZU_EXPRESSION_VALIDATOR_OPERATION_ABS, KZU_EXPRESSION_VALIDATOR_OPERATION_MAX,
  KZU_EXPRESSION_VALIDATOR_OPERATION_MIN, KZU_EXPRESSION_VALIDATOR_OPERATION_CEIL, KZU_EXPRESSION_VALIDATOR_OPERATION_FLOOR, KZU_EXPRESSION_VALIDATOR_OPERATION_ROUND,
  KZU_EXPRESSION_VALIDATOR_OPERATION_POW, KZU_EXPRESSION_VALIDATOR_OPERATION_SQRT, KZU_EXPRESSION_VALIDATOR_OPERATION_STEP, KZU_EXPRESSION_VALIDATOR_OPERATION_TO_BOOL,
  KZU_EXPRESSION_VALIDATOR_OPERATION_TO_INT, KZU_EXPRESSION_VALIDATOR_OPERATION_TO_FLOAT, KZU_EXPRESSION_VALIDATOR_OPERATION_TO_STRING, KZU_EXPRESSION_VALIDATOR_OPERATION_POSITION_CONSTRAINT,
  KZU_EXPRESSION_VALIDATOR_OPERATION_ORIENTATION_CONSTRAINT, KZU_EXPRESSION_VALIDATOR_OPERATION_LOOK_AT_CONSTRAINT, KZU_EXPRESSION_VALIDATOR_OPERATION_REVERSED_LOOK_AT_CONSTRAINT, KZU_EXPRESSION_VALIDATOR_OPERATION_REVERSED_CYLINDRICAL_LOOK_AT_CONSTRAINT
}
 Expression operation. More...
 
enum  KzuViewportCoordinateType { KZU_VIEWPORT_COORDINATE_ABSOLUTE, KZU_VIEWPORT_COORDINATE_RELATIVE }
 Enumeration for viewport coordinate unit type (exact pixel coordinates / percentages from window) More...
 
enum  KzuInputManipulatorState {
  KZU_INPUT_MANIPULATOR_STATE_READY, KZU_INPUT_MANIPULATOR_STATE_POSSIBLE, KZU_INPUT_MANIPULATOR_STATE_BEGIN, KZU_INPUT_MANIPULATOR_STATE_CHANGE,
  KZU_INPUT_MANIPULATOR_STATE_END, KZU_INPUT_MANIPULATOR_STATE_FAIL, KZU_INPUT_MANIPULATOR_STATE_DELAYED, KZU_INPUT_MANIPULATOR_STATE_CANCELED
}
 Input manipulator state. More...
 
enum  KzuLayerPixelFormat { KZU_LAYER_PIXEL_FORMAT_RGB, KZU_LAYER_PIXEL_FORMAT_RGBA }
 Layer pixel formats. More...
 
enum  PropertyDataType {
  PropertyDataTypeFloat, PropertyDataTypeInt, PropertyDataTypeBool, PropertyDataTypeColor,
  PropertyDataTypeVector2, PropertyDataTypeVector3, PropertyDataTypeVector4, PropertyDataTypeMatrix3x3,
  PropertyDataTypeMatrix4x4, PropertyDataTypeString, PropertyDataTypePointer, PropertyDataTypeResourceID
}
 Datatype of property. More...
 
enum  PropertyField {
  PropertyFieldWhole, PropertyFieldTranslationX, PropertyFieldTranslationY, PropertyFieldTranslationZ,
  PropertyFieldScaleX, PropertyFieldScaleY, PropertyFieldScaleZ, PropertyFieldRotationX,
  PropertyFieldRotationY, PropertyFieldRotationZ, PropertyFieldColorR, PropertyFieldColorG,
  PropertyFieldColorB, PropertyFieldColorA, PropertyFieldVectorX, PropertyFieldVectorY,
  PropertyFieldVectorZ, PropertyFieldVectorW
}
 Property field. More...
 
enum  GraphicsFormatUsageFlags { GraphicsFormatUsageColorAttachment, GraphicsFormatUsageDepthStencilAttachment, GraphicsFormatUsageTexture }
 
enum  GraphicsDataType {
  GraphicsDataTypeNone, GraphicsDataTypeUNORM8, GraphicsDataTypeSNORM8, GraphicsDataTypeUNORM16,
  GraphicsDataTypeSNORM16, GraphicsDataTypeUNORM5_UNORM6_UNORM5, GraphicsDataTypeCOMPRESSED, GraphicsDataTypeUINT8,
  GraphicsDataTypeSINT8, GraphicsDataTypeUINT16, GraphicsDataTypeSINT16, GraphicsDataTypeUINT32,
  GraphicsDataTypeSINT32, GraphicsDataTypeSFLOAT16, GraphicsDataTypeSFLOAT32, GraphicsDataTypeUNORM24,
  GraphicsDataTypeUNORM24_UINT8
}
 
enum  GraphicsFormat {
  GraphicsFormatNone, GraphicsFormatLUMINANCE8_UNORM, GraphicsFormatALPHA8_UNORM, GraphicsFormatLUMINANCE8_ALPHA8_UNORM,
  GraphicsFormatR8G8B8_UNORM, GraphicsFormatR8G8B8A8_UNORM, GraphicsFormatR5G6B5_UNORM, GraphicsFormatETC1_R8G8B8_UNORM,
  GraphicsFormatETC2_R8G8B8_UNORM, GraphicsFormatETC2_R8G8B8A1_UNORM, GraphicsFormatETC2_R8G8B8A8_UNORM, GraphicsFormatBC2_UNORM,
  GraphicsFormatBC3_UNORM, GraphicsFormatPVRTC1_RGB_2BPP, GraphicsFormatPVRTC1_RGB_4BPP, GraphicsFormatPVRTC1_RGBA_2BPP,
  GraphicsFormatPVRTC1_RGBA_4BPP, GraphicsFormatPVRTC2_RGBA_2BPP, GraphicsFormatPVRTC2_RGBA_4BPP, GraphicsFormatATC_RGB,
  GraphicsFormatATC_RGBA_EXPLICIT_ALPHA, GraphicsFormatATC_RGBA_INTERPOLATED_ALPHA, GraphicsFormatR16G16B16_SFLOAT, GraphicsFormatR16G16B16A16_SFLOAT,
  GraphicsFormatD16_UNORM, GraphicsFormatD24_UNORM, GraphicsFormatD32_SFLOAT, GraphicsFormatD24_UNORM_S8_UINT,
  GraphicsFormatS8_UINT, GraphicsFormatCount, GraphicsFormatRangeBegin, GraphicsFormatRangeEnd
}
 
enum  GraphicsClearTarget { GraphicsClearTargetColor, GraphicsClearTargetDepth, GraphicsClearTargetStencil, GraphicsClearTargetCoverage }
 Clear target options for renderer. More...
 
enum  GraphicsCullMode { GraphicsCullModeNone, GraphicsCullModeBack, GraphicsCullModeFront }
 List of available cull modes. More...
 
enum  GraphicsScalar { GraphicsScalarClearDepth, GraphicsScalarCameraNearPlane, GraphicsScalarCameraFarPlane, GraphicsScalarCount }
 List of active renderer scalars for fixed functionality. More...
 
enum  GraphicsCompareFunction {
  GraphicsCompareFunctionNever, GraphicsCompareFunctionLess, GraphicsCompareFunctionLessOrEqual, GraphicsCompareFunctionGreater,
  GraphicsCompareFunctionGreaterOrEqual, GraphicsCompareFunctionEqual, GraphicsCompareFunctionNotEqual, GraphicsCompareFunctionAlways,
  GraphicsCompareFunctionDisabled
}
 Renderer stencil modes. More...
 
enum  GraphicsStencilOperation {
  GraphicsStencilOperationKeep, GraphicsStencilOperationZero, GraphicsStencilOperationReplace, GraphicsStencilOperationIncrementWrap,
  GraphicsStencilOperationDecrementWrap, GraphicsStencilOperationIncrement, GraphicsStencilOperationDecrement, GraphicsStencilOperationInvert
}
 Renderer stencil operations. More...
 
enum  GraphicsColorWriteMode {
  GraphicsColorWriteModeNone, GraphicsColorWriteModeRGB, GraphicsColorWriteModeRGBA, GraphicsColorWriteModeR,
  GraphicsColorWriteModeG, GraphicsColorWriteModeB, GraphicsColorWriteModeGB, GraphicsColorWriteModeA
}
 List of color write modes. More...
 
enum  GraphicsBlendMode {
  GraphicsBlendModeOpaque, GraphicsBlendModeAlpha, GraphicsBlendModeAdditive, GraphicsBlendModePremultipliedAlpha,
  GraphicsBlendModeMixedAlpha
}
 List of renderer blend modes. More...
 
enum  GraphicsPrimitiveType {
  GraphicsPrimitiveTypeInvalid, GraphicsPrimitiveTypePoints, GraphicsPrimitiveTypeLines, GraphicsPrimitiveTypeLineLoop,
  GraphicsPrimitiveTypeLineStrip, GraphicsPrimitiveTypeTriangles, GraphicsPrimitiveTypeTriangleStrip, GraphicsPrimitiveTypeTriangleFan
}
 Enumeration for index buffer primitive type. More...
 
enum  GraphicsFillMode { GraphicsFillModeSolid, GraphicsFillModeWireframe }
 
enum  ShaderType { ShaderTypeInvalid, ShaderTypeVertex, ShaderTypeFragment }
 List of shader types. More...
 
enum  KzuInputTouchPointState { KZU_INPUT_TOUCH_POINT_STATE_DOWN, KZU_INPUT_TOUCH_POINT_STATE_STATIONARY, KZU_INPUT_TOUCH_POINT_STATE_MOVE, KZU_INPUT_TOUCH_POINT_STATE_UP }
 Touch point state. More...
 
enum  OpenGLVendor {
  OpenGLVendorUnknown, OpenGLVendorImagination, OpenGLVendorChromium, OpenGLVendorBroadcom,
  OpenGLVendorQualcomm, OpenGLVendorVivante, OpenGLVendorNVIDIA, OpenGLVendorIntel,
  OpenGLVendorAMD, OpenGLVendorARM
}
 

Functions

void taskWrapper (function< kzsError()> f)
 Helper function for taskWrap(). More...
 
template<typename F >
Task taskWrap (F f)
 Wrapper for turning functions returning kzsError into Tasks. More...
 
template<typename T >
animationInterpolate (const T &from, const T &to, float phase)
 
bool animationInterpolate (bool from, bool to, float phase)
 
string animationInterpolate (const string &from, const string &to, float phase)
 
ResourceID animationInterpolate (const ResourceID &from, const ResourceID &to, float phase)
 
SRTValue3D animationInterpolate (const SRTValue3D &from, const SRTValue3D &to, float phase)
 
SRTValue3DLongerPath animationInterpolate (const SRTValue3DLongerPath &from, const SRTValue3DLongerPath &to, float phase)
 
SRTValue2D animationInterpolate (const SRTValue2D &from, const SRTValue2D &to, float phase)
 
KANZI_API void appendSkipSystemInitialization (SystemProperties &systemProperties)
 Adds "-nosysinit" to the end of the system properties. More...
 
KANZI_API bool hasSkipSystemInitialization (const SystemProperties &systemProperties)
 Checks whether one of the parameters is "-nosysinit". More...
 
KANZI_API string findConfigurationName (const SystemProperties &systemProperties, const string &defaultConfigurationName)
 Returns the tail of the first argument that starts with "-config=" or defaultConfigurationName if not found. More...
 
KzuBinaryDirectorycreateRuntimeAssetsDirectory (KzcMemoryManager *memoryManager)
 
KANZI_API BindingSharedPtr loadBinding (KzcInputStream *inputStream, Domain *domain, const KzuBinaryFileInfo *file)
 Loads a binding from stream. More...
 
KANZI_API PropertyField kzuBindingFieldFromBinaryAttribute (KzuPropertyBinaryTargetAttribute attribute)
 Converts a property attribute to a field. More...
 
BindingProcessorSharedPtr loadBindingValidator (KzcInputStream *inputStream, Domain *domain, const KzuBinaryFileInfo *file)
 Loads a binding validator from stream. More...
 
const VariantkzuExpressionValidatorGetArgument (Binding *rule, KzuExpressionValidatorArgumentType argumentType)
 Get expression validator argument. More...
 
kzString kzErrorCodeToString (kzsError code)
 
KANZI_API
KZ_ATTRIBUTE_NO_RETURN void 
kzThrowLegacyError (kzsError value)
 
KANZI_API
KZ_ATTRIBUTE_NO_RETURN void 
kzThrowLegacyErrorMessage (kzsError value, kzString message)
 
KANZI_API
KZ_ATTRIBUTE_NO_RETURN void 
kzThrowLegacyErrorMessage (kzsError value, const string &message)
 
KANZI_API
KZ_ATTRIBUTE_NO_RETURN void 
kzThrowLegacyErrorFormat (kzsError value, kzString format,...)
 
KANZI_API string kzFormatVariadicLogMessage (kzString format,...)
 
KANZI_API string kzFormatVariadicLogMessageList (kzString format, va_list arguments)
 
KANZI_API bool isValidFramebufferSize (float size)
 Checks if size is valid framebuffer size. More...
 
KANZI_API bool isValidFramebufferSize (Vector2 const &size)
 
KANZI_API bool isValidFramebufferSize (float width, float height)
 
KANZI_API unsigned toValidFramebufferSize (float size)
 
KANZI_API unsigned int getUsageFlags (Framebuffer::Attachment attachment)
 
kzsError kzuResourceManagerLoadMorph_internal (Domain *domain, KzcInputStream *inputStream, const KzuBinaryFileInfo *file, Resource **out_resource)
 
KANZI_API kzString TextureFilterStr (Sampler::Filter filter)
 
KANZI_API kzString TextureMipmapModeStr (Sampler::MipmapMode mipmapMode)
 
KANZI_API unsigned int getMipLevelCountFromTextureSize (unsigned int width, unsigned int height)
 Helper function to return the number of mip levels needed for the specified texture size. More...
 
KANZI_API unsigned int textureTargetGetFaceCount (Texture::Target target)
 
KANZI_API Texture::ImageTarget getTextureImageTarget (Texture::Target target, unsigned int face)
 
KANZI_API unsigned int getGLTextureTarget (Texture::Target value)
 
KANZI_API unsigned int getGLTextureTarget (Texture::ImageTarget value)
 
kzsError kzuInputManipulatorSendMessage (MessageArguments *message, Node *objectNode)
 Send message utility, providing predictable state manager transitions due to message queue processing. More...
 
ColorRGBA componentWiseMax (ColorRGBA v1, ColorRGBA v2)
 Calculates the component wise maximum for all color elements and returns the resulting color. More...
 
ColorRGBA componentWiseMin (ColorRGBA v1, ColorRGBA v2)
 Calculates the component wise minimum for all color elements and returns the resulting color. More...
 
ColorRGBA componentWiseMultiply (ColorRGBA v1, ColorRGBA v2)
 Does component wise multiply for all color elements and returns the resulting color. More...
 
ColorRGBA operator+ (ColorRGBA v1, ColorRGBA v2)
 Adds two colors and returns the sum. More...
 
ColorRGBA operator- (ColorRGBA v1, ColorRGBA v2)
 Subtracts two colors and returns the difference. More...
 
ColorRGBA operator* (ColorRGBA v, float scalar)
 Multiplies all color elements with a scalar and returns the resulting color. More...
 
ColorRGBA operator* (float scalar, ColorRGBA v)
 Multiplies all color elements with a scalar and returns the resulting color. More...
 
ColorRGBA operator/ (ColorRGBA v, float scalar)
 Divides all color elements with a scalar and returns the resulting color. More...
 
ColorRGBA operator- (ColorRGBA v)
 Negates all color elements and returns the resulting color. More...
 
ColorRGBA operator+ (ColorRGBA v)
 Unary plus, doesn't do anything and returns the resulting color. More...
 
bool operator== (ColorRGBA v1, ColorRGBA v2)
 Compares two colors for equality. More...
 
bool operator!= (ColorRGBA v1, ColorRGBA v2)
 Compares two colors for inequality. More...
 
float dotProduct (ColorRGBA v1, ColorRGBA v2)
 Calculates the dot product of two colors. More...
 
KANZI_API Matrix3x3 operator* (Matrix3x3 m1, Matrix3x3 m2)
 Multiplies two matrices and returns the product. More...
 
KANZI_API Vector2 operator* (Matrix3x3 m, Vector2 v)
 Multiplies matrix with vector and returns the product. More...
 
bool operator== (Matrix3x3 m1, Matrix3x3 m2)
 Compares two matrices for equality. More...
 
bool operator!= (Matrix3x3 m1, Matrix3x3 m2)
 Compares two matrices for inequality. More...
 
KANZI_API optional< Matrix3x3inverse (const Matrix3x3 &matrix)
 
KANZI_API bool isTranslationOnly (const Matrix3x3 &matrix)
 
KANZI_API bool isScalingOnly (const Matrix3x3 &matrix)
 
KANZI_API void extractSRT (const Matrix3x3 &matrix, Vector2 &scale, float &rotationInRadians, Vector2 &translation)
 
KANZI_API optional< Matrix3x3normalized (const Matrix3x3 &matrix)
 
KANZI_API Matrix4x4 operator* (const Matrix4x4 &left, const Matrix4x4 &right)
 
KANZI_API Matrix4x4 orthonormalizeBase (const Matrix4x4 &matrix)
 
KANZI_API optional< Matrix4x4inverse (const Matrix4x4 &matrix)
 
KANZI_API bool isTranslationOnly (const Matrix4x4 &matrix)
 
KANZI_API void extractSRT (const Matrix4x4 &matrix, Vector3 &scale, Vector3 &rotationInRadians, Vector3 &translation)
 
Vector2 componentWiseMax (Vector2 v1, Vector2 v2)
 Calculates the component wise maximum for all vector elements and returns the resulting vector. More...
 
Vector2 componentWiseMin (Vector2 v1, Vector2 v2)
 Calculates the component wise minimum for all vector elements and returns the resulting vector. More...
 
Vector2 componentWiseMultiply (Vector2 v1, Vector2 v2)
 Does component wise multiply for all vector elements and returns the resulting vector. More...
 
Vector2 componentWiseDivide (Vector2 v1, Vector2 v2)
 Does component wise divide for all vector elements and returns the resulting vector. More...
 
Vector2 operator+ (Vector2 v1, Vector2 v2)
 Adds two vectors and returns the sum. More...
 
Vector2 operator- (Vector2 v1, Vector2 v2)
 Subtracts two vectors and returns the difference. More...
 
Vector2 operator* (Vector2 v, float scalar)
 Multiplies all vector elements with a scalar and returns the resulting vector. More...
 
Vector2 operator* (float scalar, Vector2 v)
 Multiplies all vector elements with a scalar and returns the resulting vector. More...
 
Vector2 operator/ (Vector2 v, float scalar)
 Divides all vector elements with a scalar and returns the resulting vector. More...
 
Vector2 operator- (Vector2 v)
 Negates all vector elements and returns the resulting vector. More...
 
Vector2 operator+ (Vector2 v)
 Unary plus, doesn't do anything and returns the resulting vector. More...
 
bool operator== (Vector2 v1, Vector2 v2)
 Compares two vectors for equality. More...
 
bool operator!= (Vector2 v1, Vector2 v2)
 Compares two vectors for inequality. More...
 
float dotProduct (Vector2 v1, Vector2 v2)
 Calculates the dot product of two vectors. More...
 
float pseudoCrossProduct (const Vector2 &left, const Vector2 &right)
 Calculates pseudo-cross product of two 2D vectors. More...
 
Vector3 componentWiseMax (Vector3 v1, Vector3 v2)
 Calculates the component wise maximum for all vector elements and returns the resulting vector. More...
 
Vector3 componentWiseMin (Vector3 v1, Vector3 v2)
 Calculates the component wise minimum for all vector elements and returns the resulting vector. More...
 
Vector3 componentWiseMultiply (Vector3 v1, Vector3 v2)
 Does component wise multiply for all vector elements and returns the resulting vector. More...
 
Vector3 operator+ (Vector3 v1, Vector3 v2)
 Adds two vectors and returns the sum. More...
 
Vector3 operator- (Vector3 v1, Vector3 v2)
 Subtracts two vectors and returns the difference. More...
 
Vector3 operator* (Vector3 v, float scalar)
 Multiplies all vector elements with a scalar and returns the resulting vector. More...
 
Vector3 operator* (float scalar, Vector3 v)
 Multiplies all vector elements with a scalar and returns the resulting vector. More...
 
Vector3 operator/ (Vector3 v, float scalar)
 Divides all vector elements with a scalar and returns the resulting vector. More...
 
Vector3 operator- (Vector3 v)
 Negates all vector elements and returns the resulting vector. More...
 
Vector3 operator+ (Vector3 v)
 Unary plus, doesn't do anything and returns the resulting vector. More...
 
bool operator== (Vector3 v1, Vector3 v2)
 Compares two vectors for equality. More...
 
bool operator!= (Vector3 v1, Vector3 v2)
 Compares two vectors for inequality. More...
 
float dotProduct (Vector3 v1, Vector3 v2)
 Calculates the dot product of two vectors. More...
 
Vector3 crossProduct (Vector3 v1, Vector3 v2)
 Calculates the cross product of two vectors. More...
 
Vector4 componentWiseMax (Vector4 v1, Vector4 v2)
 Calculates the component wise maximum for all vector elements and returns the resulting vector. More...
 
Vector4 componentWiseMin (Vector4 v1, Vector4 v2)
 Calculates the component wise minimum for all vector elements and returns the resulting vector. More...
 
Vector4 componentWiseMultiply (Vector4 v1, Vector4 v2)
 Does component wise multiply for all vector elements and returns the resulting vector. More...
 
Vector4 operator+ (Vector4 v1, Vector4 v2)
 Adds two vectors and returns the sum. More...
 
Vector4 operator- (Vector4 v1, Vector4 v2)
 Subtracts two vectors and returns the difference. More...
 
Vector4 operator* (Vector4 v, float scalar)
 Multiplies all vector elements with a scalar and returns the resulting vector. More...
 
Vector4 operator* (float scalar, Vector4 v)
 Multiplies all vector elements with a scalar and returns the resulting vector. More...
 
Vector4 operator/ (Vector4 v, float scalar)
 Divides all vector elements with a scalar and returns the resulting vector. More...
 
Vector4 operator- (Vector4 v)
 Negates all vector elements and returns the resulting vector. More...
 
Vector4 operator+ (Vector4 v)
 Unary plus, doesn't do anything and returns the resulting vector. More...
 
bool operator== (Vector4 v1, Vector4 v2)
 Compares two vectors for equality. More...
 
bool operator!= (Vector4 v1, Vector4 v2)
 Compares two vectors for inequality. More...
 
float dotProduct (Vector4 v1, Vector4 v2)
 Calculates the dot product of two vectors. More...
 
Matrix4x4 calculateRelativeOrthogonalProjectionMatrixFromValues (float near, float far, Camera::FieldOfViewType fovType, float orthoSize, float aspectRatio)
 Creates an orthogonal projection matrix for a symmetrical viewing volume. More...
 
Matrix4x4 calculatePerspectiveProjectionMatrixFromValues (float near, float far, Camera::FieldOfViewType fovType, float fovInDegrees, float aspectRatio)
 Creates a perspective projection matrix for a symmetrical viewing volume. More...
 
KANZI_API unsigned int getTreeHeight (const Node &node)
 Gets tree height from the object node to the parent, if no parents, height = 1, if single parent, and parent's parent = NULL, height = 2 and so on. More...
 
KANZI_API optional< string > getRelativePath (const Node &targetNode, const Node &baseNode)
 Returns the relative path from base object node to target object node, KZ_NULL if not found. More...
 
KANZI_API NodefindCommonParent (const Node &nodeA, const Node &nodeB)
 Returns first common parent from nodeA and nodeB, KZ_NULL if not found. More...
 
KANZI_API NodegetRoot (Node &node)
 Returns the root of the scene graph. More...
 
KANZI_API const NodegetRoot (const Node &node)
 Returns the root of the scene graph. More...
 
KANZI_API bool isParentOf (const Node &child, const Node &parent)
 
KANZI_API bool isAncestorOf (const Node &node, const Node &ancestor)
 Returns whether the parent node is the parent of the child node at any level in the scene graph hierarchy. More...
 
template<typename Type >
shared_ptr< Type > findParent (const Node &node)
 Returns nearest parent of specified type. More...
 
KANZI_API float unboundedLayout ()
 Returns a value to initialize an unbounded layout dimension. More...
 
KANZI_API bool isUnboundedLayout (float value)
 Checks whether a value is an unbounded layout dimension. More...
 
KANZI_API float resetUnboundedToZero (float value)
 
KANZI_API Vector2 resetUnboundedToZero (const Vector2 &value)
 
KANZI_API Vector3 resetUnboundedToZero (const Vector3 &value)
 
KANZI_API void 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 kzuLayerHitTestIterate (const Node2D *layer, Vector2 point, KzuLayerHitTestVisitor visitor, void *userData, Node **out_objectNode)
 Iterate layers and call visitor function. More...
 
KANZI_API void nodeLookAt (Node3D &node, Vector3 position, Vector3 lookAtPoint, Vector3 upVector)
 Sets node transformation so that the node is in a given position looking at the given point. More...
 
template<typename TResourceType >
shared_ptr< TResourceType > dereferenceResource (const ResourceSharedPtr &resource)
 
template<>
shared_ptr< Texture > KANZI_API dereferenceResource (const ResourceSharedPtr &resource)
 
template<typename T >
void registerMetaclass (ObjectFactory &objectFactory)
 
template<class T , class D >
prev (T t, D d)
 
template<class T >
prev (T t)
 
template<class T >
int distance (T const &t1, T const &t2)
 
string to_string (int value)
 
string to_string (long value)
 
string to_string (long long value)
 
string to_string (unsigned int value)
 
string to_string (unsigned long value)
 
string to_string (unsigned long long value)
 
string to_string (float value)
 
string to_string (double value)
 
string to_string (long double value)
 
template<class K , class T , class H , class P , class A , class Predicate >
void erase_if (unordered_map< K, T, H, P, A > &c, Predicate pred)
 
KANZI_API bool operator== (const VariantTransform2D &lhs, const VariantTransform2D &rhs)
 
KANZI_API bool operator== (const VariantTransform3D &lhs, const VariantTransform3D &rhs)
 
KANZI_API unsigned int formatGetBytesPerBlock (GraphicsFormat format)
 Returns number of bytes per block of the specified format. More...
 
KANZI_API unsigned int formatGetChannelCount (GraphicsFormat format)
 Returns number of channels in the specified format. More...
 
KANZI_API unsigned int formatGetSupportFlags (const Renderer *renderer, GraphicsFormat format)
 Describes what the specified format can be used for in the specified renderer. More...
 
KANZI_API bool formatSupportsTexture (const Renderer *renderer, GraphicsFormat format)
 Returns whether format can be used as texture by the specified renderer. More...
 
KANZI_API bool formatSupportsColorAttachment (const Renderer *renderer, GraphicsFormat format)
 Returns whether format can be used as color attachment in framebuffers. More...
 
KANZI_API bool formatSupportsDepthStencilAttachment (const Renderer *renderer, GraphicsFormat format)
 Returns whether format can be used as depth/stencil attachment in framebuffers. More...
 
KANZI_API bool formatIsCompressed (GraphicsFormat format)
 Returns whether format is compressed format or not. More...
 
KANZI_API int formatGetCompressedGLFormat (GraphicsFormat format)
 Returns the GL API internal format enumeration of the kanzi::Format. More...
 
KANZI_API bool formatIsBackwardsCompatible (GraphicsFormat oldFormat, GraphicsFormat newFormat)
 Tells whether format is backwards-compatible with another format (so that no conversion is necessary). More...
 
KANZI_API GraphicsFormat formatGetFallback (GraphicsFormat format)
 Returns the default fallback format. More...
 
KANZI_API GraphicsFormat formatGetFallback (const Renderer *renderer, GraphicsFormat format, unsigned int usageFlags)
 Returns a fallback format which supports specified usage flags. More...
 
KANZI_API GraphicsFormat formatGetCommon (GraphicsFormat lhs, GraphicsFormat rhs)
 Returns a common superset of two formats, or Format::Nothing if formats cannot be combined. More...
 
KANZI_API GraphicsFormat formatGetUncompressed (GraphicsFormat format)
 Returns uncompressed version of format. More...
 
KANZI_API GraphicsFormat formatGetDepthStencilRenderbuffer (const Renderer *renderer, bool depth, bool stencil)
 Returns a depth/stencil renderbuffer format which is supported by renderer. More...
 
KANZI_API GraphicsFormat formatGetDepthStencilTexture (const Renderer *renderer, bool depth, bool stencil)
 Returns a depth/stencil texture format which is supported by renderer. More...
 
KANZI_API GraphicsDataType formatGetDataType (GraphicsFormat format)
 Returns data type of the format. More...
 
KANZI_API void formatGetBlockSize (GraphicsFormat format, unsigned int &blockWidth, unsigned int &blockHeight)
 Returns image size in blocks. More...
 
KANZI_API unsigned int formatGetDataSizeBlocks (int imageWidth, int imageHeight, GraphicsFormat format)
 Returns data size in blocks for image with specified dimensions and format. More...
 
KANZI_API unsigned int formatGetDataSizeBytes (int width, int height, GraphicsFormat format)
 Returns data size in bytes for image with specified dimensions and format. More...
 
KANZI_API unsigned int dataTypeGetGLAttributeType (const Renderer *renderer, GraphicsDataType dataType)
 Returns GL API attribute type for given DataType. More...
 
KANZI_API bool formatHasRed (GraphicsFormat format)
 Returns true if format has red component. More...
 
KANZI_API bool formatHasGreen (GraphicsFormat format)
 Returns true if format has green component. More...
 
KANZI_API bool formatHasBlue (GraphicsFormat format)
 Returns true if format has blue component. More...
 
KANZI_API bool formatHasAlpha (GraphicsFormat format)
 Returns true if format has alpha component. More...
 
KANZI_API bool formatHasDepth (GraphicsFormat format)
 Returns true if format has depth component. More...
 
KANZI_API bool formatHasStencil (GraphicsFormat format)
 Returns true if format has depth component. More...
 
KANZI_API unsigned int formatGetRedSize (GraphicsFormat format)
 Returns number of bits in the red component of the format. More...
 
KANZI_API unsigned int formatGetGreenSize (GraphicsFormat format)
 Returns number of bits in the green component of the format. More...
 
KANZI_API unsigned int formatGetBlueSize (GraphicsFormat format)
 Returns number of bits in the blue component of the format. More...
 
KANZI_API unsigned int formatGetAlphaSize (GraphicsFormat format)
 Returns number of bits in the alpha component of the format. More...
 
KANZI_API unsigned int formatGetDepthSize (GraphicsFormat format)
 Returns number of bits in the depth component of the format. More...
 
KANZI_API unsigned int formatGetStencilSize (GraphicsFormat format)
 Returns number of bits in the stencil component of the format. More...
 
KANZI_API void formatGetGLFormatTriplet (const Renderer *renderer, GraphicsFormat format, GraphicsFormatUsageFlags usageFlags, unsigned int *out_glFormat, unsigned int *out_glInternalFormat, unsigned int *out_glType)
 Returns GL API format, internal format, type triplet for given Format. More...
 
KANZI_API unsigned int graphicsDataTypeGetByteCount (GraphicsDataType dataType)
 
KANZI_API kzString graphicsDataTypeStr (GraphicsDataType dataType)
 
KANZI_API kzString formatStr (GraphicsFormat format)
 
void updateRenderValue (Renderer &renderer, int uniformLocation, bool value)
 Update single render value. More...
 
void updateRenderValue (Renderer &renderer, int uniformLocation, int value)
 Update single render value. More...
 
void updateRenderValue (Renderer &renderer, int uniformLocation, float value)
 Update single render value. More...
 
void updateRenderValue (Renderer &renderer, int uniformLocation, KzcColorRGBA value)
 Update single render value. More...
 
void updateRenderValue (Renderer &renderer, int uniformLocation, KzcVector2 value)
 Update single render value. More...
 
void updateRenderValue (Renderer &renderer, int uniformLocation, KzcVector3 value)
 Update single render value. More...
 
void updateRenderValue (Renderer &renderer, int uniformLocation, KzcVector4 value)
 Update single render value. More...
 
void updateRenderValue (Renderer &renderer, int uniformLocation, KzcMatrix3x3 value)
 Update single render value. More...
 
void updateRenderValue (Renderer &renderer, int uniformLocation, KzcMatrix4x4 value)
 Update single render value. More...
 
template<typename T >
void updateRenderValueContainer (Renderer &renderer, T &container)
 Update single value container. More...
 
template<>
void updateRenderValueContainer< GlRenderStateValueContainer< TextureSharedPtr > > (Renderer &renderer, GlRenderStateValueContainer< TextureSharedPtr > &container)
 
KANZI_API VertexAttribute::Semantic semanticFromString (kzString name)
 
template<typename T >
void updateRenderState (GlRenderState &renderState, RenderStatePropertyNotificationHandler &handler, Object &object, Material &material)
 Update render state with new values acquirable from this. More...
 
template<>
void updateRenderState< GraphicsBlendMode > (GlRenderState &renderState, RenderStatePropertyNotificationHandler &handler, Object &object, Material &material)
 
template<>
void updateRenderState< RenderStateResourceContainer > (GlRenderState &renderState, RenderStatePropertyNotificationHandler &handler, Object &object, Material &material)
 
KANZI_API unsigned int getAttributeDimension (VertexAttribute::Semantic attribute)
 
KANZI_API vector< string > splitString (const string &source, const string &separator)
 Splits string to tokens. More...
 
KANZI_API void initializeDefaultResources (Domain *domain, Screen &screen, Renderer3D *renderer)
 
KANZI_API TimerSubscriptionToken addTimerHandler (KzuMessageDispatcher *messageDispatcher, chrono::milliseconds interval, KzuTimerMessageMode mode, TimerFunction callback)
 
KANZI_API void removeTimerHandler (KzuMessageDispatcher *messageDispatcher, TimerSubscriptionToken token)
 
void doListBoxArrange (Node3D &node)
 
void doListBoxArrange (Node2D &node)
 
template<class DerivedClassType , class CurvePointType >
void messagingAndChangeSignaling (DerivedClassType &m_derivedClass, optional< float > &m_lastHitPointValue, CurvePointType &m_lastHitPoint, CurvePointType &closestCurvePoint, float distanceAlongCurve, float shortestDistance, InputManipulator::InputMessageArguments &message)
 

Typedef Documentation

typedef function<void()> kanzi::Task

Tasks are stateless functions.

typedef vector<Task> kanzi::TaskContainer
typedef TaskContainer::const_iterator kanzi::TaskConstIterator
typedef shared_ptr< Action > kanzi::ActionSharedPtr
typedef FromToAnimation<float, function<float(float)> > kanzi::FloatCustomFromToAnimation
typedef shared_ptr< Timeline > kanzi::TimelineSharedPtr

Read-only values from the system.

typedef shared_ptr< KzuAnimation > kanzi::AnimationSharedPtr
typedef shared_ptr< Binding > kanzi::BindingSharedPtr
typedef shared_ptr<Binding const> kanzi::BindingSharedConstPtr
typedef shared_ptr< DataObject > kanzi::DataObjectSharedPtr
typedef shared_ptr< DataSource > kanzi::DataSourceSharedPtr
typedef kzsError(* kanzi::KzuExpressionValidatorFunction)(const Variant *firstArgumentRegister, const Variant *secondArgumentRegister, Variant *outputRegister, PropertyField firstArgumentField, PropertyField secondArgumentField, PropertyField outputField, kzBool *out_valid)

Expression validator function pointer type.

typedef shared_ptr< Condition > kanzi::ConditionSharedPtr
typedef shared_ptr< Node > kanzi::NodeSharedPtr

Text resource shared pointer.

typedef shared_ptr<void> kanzi::ScriptingSystemSharedPtr
typedef shared_ptr<Brush> kanzi::BrushSharedPtr

Brush shared pointer.

Brush renderer shared pointer.

Shared pointer type.

Shared pointer definition.

typedef shared_ptr<NullBrush> kanzi::NullBrushSharedPtr

Shared pointer definition.

typedef shared_ptr<Composer> kanzi::ComposerSharedPtr
typedef shared_ptr< Material > kanzi::MaterialSharedPtr
typedef shared_ptr<Material const> kanzi::MaterialSharedConstPtr
typedef shared_ptr< Texture > kanzi::TextureSharedPtr
typedef shared_ptr< Mesh > kanzi::MeshSharedPtr
typedef shared_ptr<const Mesh> kanzi::MeshConstSharedPtr
typedef shared_ptr< Morph > kanzi::MorphSharedPtr
typedef shared_ptr< Shader > kanzi::ShaderSharedPtr
typedef shared_ptr<MeshBone> kanzi::MeshBoneSharedPtr
typedef unordered_map<string, int> kanzi::StringToAttributeIndex
typedef unordered_map<Shader*, vector<int> > kanzi::ShaderToAttributeMapSet
typedef shared_ptr<Morph const> kanzi::MorphSharedConstPtr
typedef shared_ptr<Sampler> kanzi::SamplerSharedPtr
typedef shared_ptr<Surface> kanzi::SurfaceSharedPtr
typedef shared_ptr< Resource > kanzi::ResourceSharedPtr
typedef shared_ptr< Camera > kanzi::CameraSharedPtr

CameraNode shared pointer.

typedef shared_ptr<Image2D> kanzi::Image2DSharedPtr

Instantiator3DNode shared pointer.

typedef shared_ptr<Light> kanzi::LightSharedPtr

LightNode shared pointer.

LODSelectorNode shared pointer.

typedef shared_ptr<Model3D> kanzi::Model3DSharedPtr

Mesh node shared pointer.

typedef shared_ptr< Trigger > kanzi::TriggerSharedPtr
typedef shared_ptr<Trigger const> kanzi::TriggerConstSharedPtr

Resource dictionary shared pointer.

typedef weak_ptr< Node > kanzi::NodeWeakPtr
typedef shared_ptr< Node const > kanzi::NodeConstSharedPtr
typedef shared_ptr<void> kanzi::ScriptingContextSharedPtr
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.

typedef shared_ptr< Node3D > kanzi::Node3DSharedPtr
typedef weak_ptr< Node3D > kanzi::Node3DWeakPtr
typedef shared_ptr< Node3D const > kanzi::Node3DConstSharedPtr
typedef shared_ptr<Portal> kanzi::PortalSharedPtr
typedef shared_ptr<Scene> kanzi::SceneSharedPtr

Scene shared pointer.

typedef weak_ptr<Camera> kanzi::CameraWeakPtr

CameraNode weak pointer.

typedef shared_ptr<Screen> kanzi::ScreenSharedPtr

Screen shared pointer.

typedef shared_ptr< Style > kanzi::StyleSharedPtr
typedef shared_ptr<Object> kanzi::ObjectSharedPtr

Object shared pointer type.

typedef boost::mt19937 kanzi::default_random_engine
typedef boost::string_ref kanzi::string_view

Abstract property notification handler shared pointer.

Render state property container shared pointer.

typedef map<string, int> kanzi::AttributeNameToIndex
typedef AttributeNameToIndex::iterator kanzi::AttributeNameToIndexIterator
typedef AttributeNameToIndex::const_iterator kanzi::AttributeNameToIndexConstIterator
typedef shared_ptr<Renderer> kanzi::RendererSharedPtr

Composition manager shared pointer type.

typedef shared_ptr< KzuFont > kanzi::FontSharedPtr
typedef weak_ptr<Resource> kanzi::ResourceWeakPtr
typedef function<void(const TimerMessageArguments&)> kanzi::TimerFunction
typedef shared_ptr<void> kanzi::TimerSubscriptionToken

TextFormat shared pointer.

typedef shared_ptr<Button2D> kanzi::Button2DSharedPtr
typedef shared_ptr<Button3D> kanzi::Button3DSharedPtr

Button shared pointer.

DockLayout shared pointer.

FlowLayout shared pointer.

GridLayout2D shared pointer.

GridLayout3D shared pointer.

typedef shared_ptr<Page> kanzi::PageSharedPtr
typedef shared_ptr<Slider2D> kanzi::Slider2DSharedPtr

Trajectory Slider shared pointer.

typedef shared_ptr<Slider3D> kanzi::Slider3DSharedPtr

Trajectory Slider shared pointer.

Stack layout shared pointer.

StackLayout shared pointer.

TextLayer shared pointer.

TextBlock shared pointer.

ToggleButton shared pointer.

TrajectoryLayout shared pointer.

TrajectoryLayout shared pointer.

typedef v8::Persistent<v8::FunctionTemplate> kanzi::PersistentFunctionTemplate
typedef v8::Local<v8::Value> kanzi::LocalValue
typedef v8::Local<v8::Object> kanzi::LocalObject
typedef v8::Local<v8::External> kanzi::LocalExternal
typedef v8::Local<v8::Context> kanzi::LocalContext
typedef v8::Local<v8::Script> kanzi::LocalScript
typedef v8::Local<v8::ObjectTemplate> kanzi::LocalObjectTemplate
typedef v8::Local<v8::FunctionTemplate> kanzi::LocalFunctionTemplate
typedef v8::Persistent<v8::Context> kanzi::PersistentContext
typedef v8::Persistent<v8::Script> kanzi::PersistentScript
typedef v8::Persistent<v8::Object> kanzi::PersistentObject

Enumeration Type Documentation

Action binding type.

Enumerator
ActionArgumentTypeValue 

Value action binding type.

ActionArgumentTypeMessageArgument 

Argument action binding type.

ActionArgumentTypeObjectProperty 

Object property action binding type.

Enumerator
AnimationEaseIn 
AnimationEaseOut 
AnimationEaseInOut 

Expression argument type.

Enumerator
KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_SOURCE 
KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_TARGET 
KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_SOURCE_REGISTER_0 
KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_CONSTANT_REGISTER_0 
KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_TEMPORARY_REGISTER_0 
KZU_EXPRESSION_VALIDATOR_ARGUMENT_TYPE_DATA_SOURCE_REGISTER_0 

Expression operation.

Enumerator
KZU_EXPRESSION_VALIDATOR_OPERATION_WRITE 
KZU_EXPRESSION_VALIDATOR_OPERATION_ADD 
KZU_EXPRESSION_VALIDATOR_OPERATION_SUBTRACT 
KZU_EXPRESSION_VALIDATOR_OPERATION_MULTIPLY 
KZU_EXPRESSION_VALIDATOR_OPERATION_DIVIDE 
KZU_EXPRESSION_VALIDATOR_OPERATION_MODULO 
KZU_EXPRESSION_VALIDATOR_OPERATION_ABS 
KZU_EXPRESSION_VALIDATOR_OPERATION_MAX 
KZU_EXPRESSION_VALIDATOR_OPERATION_MIN 
KZU_EXPRESSION_VALIDATOR_OPERATION_CEIL 
KZU_EXPRESSION_VALIDATOR_OPERATION_FLOOR 
KZU_EXPRESSION_VALIDATOR_OPERATION_ROUND 
KZU_EXPRESSION_VALIDATOR_OPERATION_POW 
KZU_EXPRESSION_VALIDATOR_OPERATION_SQRT 
KZU_EXPRESSION_VALIDATOR_OPERATION_STEP 
KZU_EXPRESSION_VALIDATOR_OPERATION_TO_BOOL 
KZU_EXPRESSION_VALIDATOR_OPERATION_TO_INT 
KZU_EXPRESSION_VALIDATOR_OPERATION_TO_FLOAT 
KZU_EXPRESSION_VALIDATOR_OPERATION_TO_STRING 
KZU_EXPRESSION_VALIDATOR_OPERATION_POSITION_CONSTRAINT 
KZU_EXPRESSION_VALIDATOR_OPERATION_ORIENTATION_CONSTRAINT 
KZU_EXPRESSION_VALIDATOR_OPERATION_LOOK_AT_CONSTRAINT 
KZU_EXPRESSION_VALIDATOR_OPERATION_REVERSED_LOOK_AT_CONSTRAINT 
KZU_EXPRESSION_VALIDATOR_OPERATION_REVERSED_CYLINDRICAL_LOOK_AT_CONSTRAINT 

Enumeration for viewport coordinate unit type (exact pixel coordinates / percentages from window)

Enumerator
KZU_VIEWPORT_COORDINATE_ABSOLUTE 

Absolute viewport coordinates, i.e.

pixel values.

KZU_VIEWPORT_COORDINATE_RELATIVE 

Relative viewport coordinates, i.e.

percentages of render target width & height.

Input manipulator state.

Enumerator
KZU_INPUT_MANIPULATOR_STATE_READY 

The manipulator is in initial state.

KZU_INPUT_MANIPULATOR_STATE_POSSIBLE 

The manipulator has started processing, but no gesture is recognized yet.

The system can fail the manipulator automatically.

KZU_INPUT_MANIPULATOR_STATE_BEGIN 

The manipulator has recognized a continuous gesture.

KZU_INPUT_MANIPULATOR_STATE_CHANGE 

The manipulator has recognized changes in a continuous gesture.

KZU_INPUT_MANIPULATOR_STATE_END 

The manipulator has finished recognizing a gesture.

KZU_INPUT_MANIPULATOR_STATE_FAIL 

The manipulator has failed recognizing a gesture.

KZU_INPUT_MANIPULATOR_STATE_DELAYED 

Not used at this time.

KZU_INPUT_MANIPULATOR_STATE_CANCELED 

Not used at this time.

Layer pixel formats.

Enumerator
KZU_LAYER_PIXEL_FORMAT_RGB 

Managed render targets use RGB format.

KZU_LAYER_PIXEL_FORMAT_RGBA 

Managed render targets use RGBA format.

Datatype of property.

Enumerator
PropertyDataTypeFloat 

Float value.

PropertyDataTypeInt 

Integer.

PropertyDataTypeBool 

Boolean.

PropertyDataTypeColor 

Color.

PropertyDataTypeVector2 

2-component vector.

PropertyDataTypeVector3 

3-component vector.

PropertyDataTypeVector4 

4-component vector.

PropertyDataTypeMatrix3x3 

Matrix3x3.

PropertyDataTypeMatrix4x4 

Matrix4x4.

PropertyDataTypeString 

String.

PropertyDataTypePointer 

Pointer.

PropertyDataTypeResourceID 

Resource ID.

Property field.

Enumerator
PropertyFieldWhole 

Whole property.

PropertyFieldTranslationX 

Translation X component.

PropertyFieldTranslationY 

Translation Y component.

PropertyFieldTranslationZ 

Translation Z component.

PropertyFieldScaleX 

Scale X component.

PropertyFieldScaleY 

Scale Y component.

PropertyFieldScaleZ 

Scale Z component.

PropertyFieldRotationX 

Rotation X component.

PropertyFieldRotationY 

Rotation Y component.

PropertyFieldRotationZ 

Rotation Z component.

PropertyFieldColorR 

Color R field.

PropertyFieldColorG 

Color G field.

PropertyFieldColorB 

Color B field.

PropertyFieldColorA 

Color A field.

PropertyFieldVectorX 

Vector X field.

PropertyFieldVectorY 

Vector Y field.

PropertyFieldVectorZ 

Vector Z field.

PropertyFieldVectorW 

Vector W field.

Enumerator
GraphicsFormatUsageColorAttachment 
GraphicsFormatUsageDepthStencilAttachment 
GraphicsFormatUsageTexture 
Enumerator
GraphicsDataTypeNone 
GraphicsDataTypeUNORM8 
GraphicsDataTypeSNORM8 
GraphicsDataTypeUNORM16 
GraphicsDataTypeSNORM16 
GraphicsDataTypeUNORM5_UNORM6_UNORM5 
GraphicsDataTypeCOMPRESSED 
GraphicsDataTypeUINT8 
GraphicsDataTypeSINT8 
GraphicsDataTypeUINT16 
GraphicsDataTypeSINT16 
GraphicsDataTypeUINT32 
GraphicsDataTypeSINT32 
GraphicsDataTypeSFLOAT16 
GraphicsDataTypeSFLOAT32 
GraphicsDataTypeUNORM24 
GraphicsDataTypeUNORM24_UINT8 
Enumerator
GraphicsFormatNone 
GraphicsFormatLUMINANCE8_UNORM 

Single channel luminance 8-bit unsigned normalized format, one byte per pixel.

GraphicsFormatALPHA8_UNORM 

Single channel alpha 8-bit unsigned normalized format, one byte per pixel.

GraphicsFormatLUMINANCE8_ALPHA8_UNORM 

Two channel luminance and alpha 8-bit unsigned normalized format, two bytes per pixel.

GraphicsFormatR8G8B8_UNORM 

Three channel RGB 8-bit unsigned normalized format, three bytes per pixel.

GraphicsFormatR8G8B8A8_UNORM 

Four channel RGB and alpha -bit unsigned normalized format, four bytes per pixel.

GraphicsFormatR5G6B5_UNORM 

Three channel RGB 5, 6, 5-bit unsigned normalized format, two bytes per pixel.

GraphicsFormatETC1_R8G8B8_UNORM 

Three channel RGB ETC1 compressed format, 4 by 4 pixels per block, 64 bits per block.

GraphicsFormatETC2_R8G8B8_UNORM 

Three channel RGB ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.

GraphicsFormatETC2_R8G8B8A1_UNORM 

Four channel RGB and punchthrough alpha ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.

GraphicsFormatETC2_R8G8B8A8_UNORM 

Four channel RGB and alpha ETC2 compressed format, 4 by 4 pixels per block, 128 bits per block.

See also
GraphicsFormatBC2_UNORM 

Four channel RGB and alpha DXT3 compressed format, 4 by 4 pixels per block, 128 bits per block.

See also
https://www.khronos.org/registry/gles/extensions/EXT/texture_compression_s3tc.txt
GraphicsFormatBC3_UNORM 

Four channel RGB and alpha DXT5 compressed format, 4 by 4 pixels per block, 128 bits per block, interpolated alpha.

See also
https://www.khronos.org/registry/gles/extensions/EXT/texture_compression_s3tc.txt
GraphicsFormatPVRTC1_RGB_2BPP 

Three channel RGB PVR1 compressed format, 8 by 4 pixels per block, 64 bits per block.

See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
GraphicsFormatPVRTC1_RGB_4BPP 

Three channel RGB PVR1 compressed format, 4 by 4 pixels per block, 64 bits per block.

See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
GraphicsFormatPVRTC1_RGBA_2BPP 

Four channel RGB and alpha PVR1 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block.

See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
GraphicsFormatPVRTC1_RGBA_4BPP 

Four channel RGB and alpha PVR1 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block.

See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
GraphicsFormatPVRTC2_RGBA_2BPP 

Four channel RGB and alpha PVR2 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block.

See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc2.txt
GraphicsFormatPVRTC2_RGBA_4BPP 

Four channel RGB and alpha PVR2 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block.

See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc2.txt
GraphicsFormatATC_RGB 

Three channel RGB ATC compressed format,.

See also
https://www.khronos.org/registry/gles/extensions/AMD/AMD_compressed_ATC_texture.txt
GraphicsFormatATC_RGBA_EXPLICIT_ALPHA 

Four channel RGB and alpha compressed format,.

See also
https://www.khronos.org/registry/gles/extensions/AMD/AMD_compressed_ATC_texture.txt
GraphicsFormatATC_RGBA_INTERPOLATED_ALPHA 

Four channel RGB and alpha compressed format,.

See also
https://www.khronos.org/registry/gles/extensions/AMD/AMD_compressed_ATC_texture.txt
GraphicsFormatR16G16B16_SFLOAT 

Three channel RGB half float format, six bytes per pixel.

See also
https://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt
https://www.khronos.org/registry/gles/extensions/OES/OES_texture_float_linear.txt
https://www.khronos.org/registry/gles/extensions/EXT/EXT_color_buffer_half_float.txt
GraphicsFormatR16G16B16A16_SFLOAT 

Four channel RGB and alpha half float format, eight bytes per pixel.

See also
https://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt
https://www.khronos.org/registry/gles/extensions/OES/OES_texture_float_linear.txt
https://www.khronos.org/registry/gles/extensions/EXT/EXT_color_buffer_half_float.txt
GraphicsFormatD16_UNORM 

Single channel depth 16-bit unsigned normalized format.

See also
https://www.khronos.org/registry/gles/extensions/OES/OES_depth_texture.txt
GraphicsFormatD24_UNORM 

Single channel depth 24-bit unsigned normalized format.

GraphicsFormatD32_SFLOAT 

Single channel depth 32-bit float format.

GraphicsFormatD24_UNORM_S8_UINT 

Two channel depth stencil format.

GraphicsFormatS8_UINT 

Single channel stencil 8-bit unsigned integer format.

GraphicsFormatCount 
GraphicsFormatRangeBegin 
GraphicsFormatRangeEnd 

Clear target options for renderer.

Enumerator
GraphicsClearTargetColor 

Clear target color.

GraphicsClearTargetDepth 

Clear target depth.

GraphicsClearTargetStencil 

Clear target stencil.

GraphicsClearTargetCoverage 

Clear target coverage buffer.

List of available cull modes.

Enumerator
GraphicsCullModeNone 

No culling.

GraphicsCullModeBack 

Backface culling.

GraphicsCullModeFront 

Frontface culling.

List of active renderer scalars for fixed functionality.

Enumerator
GraphicsScalarClearDepth 

Clear depth value.

GraphicsScalarCameraNearPlane 

Camera near plane distance.

GraphicsScalarCameraFarPlane 

Camera far plane distance.

GraphicsScalarCount 

Maximum amount of scalars.

Renderer stencil modes.

Enumerator
GraphicsCompareFunctionNever 

Always fails.

GraphicsCompareFunctionLess 

(Ref & mask) < (stencil & mask).

GraphicsCompareFunctionLessOrEqual 

(Ref & mask) <= (stencil & mask).

GraphicsCompareFunctionGreater 

(Ref & mask) > (stencil & mask).

GraphicsCompareFunctionGreaterOrEqual 

(Ref & mask) >= (stencil & mask).

GraphicsCompareFunctionEqual 

(Ref & mask) = (stencil & mask).

GraphicsCompareFunctionNotEqual 

(Ref & mask) != (stencil & mask).

GraphicsCompareFunctionAlways 

Always passes.

GraphicsCompareFunctionDisabled 

Renderer stencil operations.

Enumerator
GraphicsStencilOperationKeep 

Keeps the current stencil buffer value.

GraphicsStencilOperationZero 

Sets stencil buffer value to zero.

GraphicsStencilOperationReplace 

Set stencil buffer value to reference value, specified by StencilFunction.

GraphicsStencilOperationIncrementWrap 

Increases stencil buffer value, wraps to zero when reaching maximum.

GraphicsStencilOperationDecrementWrap 

Decreases stencil buffer value, wraps to maximum - 1 when below 0.

GraphicsStencilOperationIncrement 

Increases current stencil buffer value.

GraphicsStencilOperationDecrement 

Decreases current stencil buffer value.

GraphicsStencilOperationInvert 

Inverts current stencil buffer value.

List of color write modes.

Enumerator
GraphicsColorWriteModeNone 

No color write.

GraphicsColorWriteModeRGB 

Color write for RGB channels.

GraphicsColorWriteModeRGBA 

Color write for RGBA channels.

GraphicsColorWriteModeR 

Color write for red channel.

GraphicsColorWriteModeG 

Color write for green channel.

GraphicsColorWriteModeB 

Color write for blue channel.

GraphicsColorWriteModeGB 

Color write for cyan (green+blue).

GraphicsColorWriteModeA 

Color write for alpha channel.

List of renderer blend modes.

Enumerator
GraphicsBlendModeOpaque 

Opaque blend mode.

GraphicsBlendModeAlpha 

Regular alpha blend.

GraphicsBlendModeAdditive 

Additive blend mode.

GraphicsBlendModePremultipliedAlpha 

Alpha blend of target, but source color has already been processed.

GraphicsBlendModeMixedAlpha 

Takes regular alpha input, but produces premultiplied output.

Enumeration for index buffer primitive type.

Enumerator
GraphicsPrimitiveTypeInvalid 
GraphicsPrimitiveTypePoints 

Point primitive type.

GraphicsPrimitiveTypeLines 

Line primitive type.

GraphicsPrimitiveTypeLineLoop 

Line loop primitive type.

GraphicsPrimitiveTypeLineStrip 

Line strip primitive type.

GraphicsPrimitiveTypeTriangles 

Triangle primitive type.

GraphicsPrimitiveTypeTriangleStrip 

Triangle strip primitive type.

GraphicsPrimitiveTypeTriangleFan 

Triangle fan primitive type.

Enumerator
GraphicsFillModeSolid 
GraphicsFillModeWireframe 

List of shader types.

Enumerator
ShaderTypeInvalid 

Not a valid shader.

ShaderTypeVertex 

Vertex shader.

ShaderTypeFragment 

Fragment shader.

Touch point state.

Enumerator
KZU_INPUT_TOUCH_POINT_STATE_DOWN 
KZU_INPUT_TOUCH_POINT_STATE_STATIONARY 

The point has been created by touching the screen.

KZU_INPUT_TOUCH_POINT_STATE_MOVE 

The point has not moved since last report.

KZU_INPUT_TOUCH_POINT_STATE_UP 

The point has moved since last report.

Enumerator
OpenGLVendorUnknown 
OpenGLVendorImagination 
OpenGLVendorChromium 
OpenGLVendorBroadcom 
OpenGLVendorQualcomm 
OpenGLVendorVivante 
OpenGLVendorNVIDIA 
OpenGLVendorIntel 
OpenGLVendorAMD 
OpenGLVendorARM 

Function Documentation

void kanzi::taskWrapper ( function< kzsError()>  f)

Helper function for taskWrap().

template<typename F >
Task kanzi::taskWrap ( f)

Wrapper for turning functions returning kzsError into Tasks.

template<typename T >
T kanzi::animationInterpolate ( const T &  from,
const T &  to,
float  phase 
)
bool kanzi::animationInterpolate ( bool  from,
bool  to,
float  phase 
)
inline
string kanzi::animationInterpolate ( const string &  from,
const string &  to,
float  phase 
)
inline
ResourceID kanzi::animationInterpolate ( const ResourceID &  from,
const ResourceID &  to,
float  phase 
)
inline
SRTValue3D kanzi::animationInterpolate ( const SRTValue3D &  from,
const SRTValue3D &  to,
float  phase 
)
inline
SRTValue3DLongerPath kanzi::animationInterpolate ( const SRTValue3DLongerPath &  from,
const SRTValue3DLongerPath &  to,
float  phase 
)
inline
SRTValue2D kanzi::animationInterpolate ( const SRTValue2D &  from,
const SRTValue2D &  to,
float  phase 
)
inline
KANZI_API void kanzi::appendSkipSystemInitialization ( SystemProperties &  systemProperties)

Adds "-nosysinit" to the end of the system properties.

KANZI_API bool kanzi::hasSkipSystemInitialization ( const SystemProperties &  systemProperties)

Checks whether one of the parameters is "-nosysinit".

KANZI_API string kanzi::findConfigurationName ( const SystemProperties &  systemProperties,
const string &  defaultConfigurationName 
)

Returns the tail of the first argument that starts with "-config=" or defaultConfigurationName if not found.

KzuBinaryDirectory* kanzi::createRuntimeAssetsDirectory ( KzcMemoryManager memoryManager)
KANZI_API BindingSharedPtr kanzi::loadBinding ( KzcInputStream inputStream,
Domain *  domain,
const KzuBinaryFileInfo file 
)

Loads a binding from stream.

KANZI_API PropertyField kanzi::kzuBindingFieldFromBinaryAttribute ( KzuPropertyBinaryTargetAttribute  attribute)

Converts a property attribute to a field.

BindingProcessorSharedPtr kanzi::loadBindingValidator ( KzcInputStream inputStream,
Domain *  domain,
const KzuBinaryFileInfo file 
)

Loads a binding validator from stream.

const Variant* kanzi::kzuExpressionValidatorGetArgument ( Binding *  rule,
KzuExpressionValidatorArgumentType  argumentType 
)

Get expression validator argument.

kzString kanzi::kzErrorCodeToString ( kzsError  code)
KANZI_API KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowLegacyError ( kzsError  value)
KANZI_API KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowLegacyErrorMessage ( kzsError  value,
kzString  message 
)
KANZI_API KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowLegacyErrorMessage ( kzsError  value,
const string &  message 
)
KANZI_API KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowLegacyErrorFormat ( kzsError  value,
kzString  format,
  ... 
)
KANZI_API string kanzi::kzFormatVariadicLogMessage ( kzString  format,
  ... 
)
KANZI_API string kanzi::kzFormatVariadicLogMessageList ( kzString  format,
va_list  arguments 
)
KANZI_API bool kanzi::isValidFramebufferSize ( float  size)

Checks if size is valid framebuffer size.

KANZI_API bool kanzi::isValidFramebufferSize ( Vector2 const &  size)
KANZI_API bool kanzi::isValidFramebufferSize ( float  width,
float  height 
)
KANZI_API unsigned kanzi::toValidFramebufferSize ( float  size)
KANZI_API unsigned int kanzi::getUsageFlags ( Framebuffer::Attachment  attachment)
kzsError kanzi::kzuResourceManagerLoadMorph_internal ( Domain *  domain,
KzcInputStream inputStream,
const KzuBinaryFileInfo file,
Resource **  out_resource 
)
KANZI_API kzString kanzi::TextureFilterStr ( Sampler::Filter  filter)
KANZI_API kzString kanzi::TextureMipmapModeStr ( Sampler::MipmapMode  mipmapMode)
KANZI_API unsigned int kanzi::getMipLevelCountFromTextureSize ( unsigned int  width,
unsigned int  height 
)

Helper function to return the number of mip levels needed for the specified texture size.

KANZI_API unsigned int kanzi::textureTargetGetFaceCount ( Texture::Target  target)
KANZI_API Texture::ImageTarget kanzi::getTextureImageTarget ( Texture::Target  target,
unsigned int  face 
)
KANZI_API unsigned int kanzi::getGLTextureTarget ( Texture::Target  value)
KANZI_API unsigned int kanzi::getGLTextureTarget ( Texture::ImageTarget  value)
kzsError kanzi::kzuInputManipulatorSendMessage ( MessageArguments *  message,
Node *  objectNode 
)

Send message utility, providing predictable state manager transitions due to message queue processing.

ColorRGBA kanzi::componentWiseMax ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Calculates the component wise maximum for all color elements and returns the resulting color.

Parameters
v1The first color.
v2The second color.
Returns
The result color.
ColorRGBA kanzi::componentWiseMin ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Calculates the component wise minimum for all color elements and returns the resulting color.

Parameters
v1The first color.
v2The second color.
Returns
The result color.
ColorRGBA kanzi::componentWiseMultiply ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Does component wise multiply for all color elements and returns the resulting color.

Parameters
v1The first color.
v2The second color.
Returns
The result color.
ColorRGBA kanzi::operator+ ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Adds two colors and returns the sum.

Parameters
v1Left hand side color.
v2Right hand side color.
Returns
The result color.
ColorRGBA kanzi::operator- ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Subtracts two colors and returns the difference.

Parameters
v1Left hand side color.
v2Right hand side color.
Returns
The result color.
ColorRGBA kanzi::operator* ( ColorRGBA  v,
float  scalar 
)
inline

Multiplies all color elements with a scalar and returns the resulting color.

Parameters
vA color.
scalarA scalar.
Returns
The result color.
ColorRGBA kanzi::operator* ( float  scalar,
ColorRGBA  v 
)
inline

Multiplies all color elements with a scalar and returns the resulting color.

Parameters
scalarA scalar.
vA color.
Returns
The result color.
ColorRGBA kanzi::operator/ ( ColorRGBA  v,
float  scalar 
)
inline

Divides all color elements with a scalar and returns the resulting color.

Parameters
vA color.
scalarA scalar.
Returns
The result color.
ColorRGBA kanzi::operator- ( ColorRGBA  v)
inline

Negates all color elements and returns the resulting color.

Parameters
vA color.
Returns
The result color.
ColorRGBA kanzi::operator+ ( ColorRGBA  v)
inline

Unary plus, doesn't do anything and returns the resulting color.

Parameters
vA color.
Returns
The result color.
bool kanzi::operator== ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Compares two colors for equality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side color.
v2Right hand side color.
Returns
True if colors are equal.
bool kanzi::operator!= ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Compares two colors for inequality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side color.
v2Right hand side color.
Returns
True if colors are different.
float kanzi::dotProduct ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Calculates the dot product of two colors.

Parameters
v1The first color.
v2The second color.
Returns
The dot product of the colors.
KANZI_API Matrix3x3 kanzi::operator* ( Matrix3x3  m1,
Matrix3x3  m2 
)

Multiplies two matrices and returns the product.

Parameters
m1Left hand side matrix.
m2Right hand side matrix.
Returns
The result matrix.
KANZI_API Vector2 kanzi::operator* ( Matrix3x3  m,
Vector2  v 
)

Multiplies matrix with vector and returns the product.

Parameters
m1Left hand side matrix.
m2Right hand side vector.
Returns
The result vector.
bool kanzi::operator== ( Matrix3x3  m1,
Matrix3x3  m2 
)
inline

Compares two matrices for equality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side matrix.
v2Right hand side matrix.
Returns
True if vectors are equal.
bool kanzi::operator!= ( Matrix3x3  m1,
Matrix3x3  m2 
)
inline

Compares two matrices for inequality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side matrix.
v2Right hand side matrix.
Returns
True if vectors are equal.
KANZI_API optional<Matrix3x3> kanzi::inverse ( const Matrix3x3 &  matrix)
KANZI_API bool kanzi::isTranslationOnly ( const Matrix3x3 &  matrix)
KANZI_API bool kanzi::isScalingOnly ( const Matrix3x3 &  matrix)
KANZI_API void kanzi::extractSRT ( const Matrix3x3 &  matrix,
Vector2 &  scale,
float &  rotationInRadians,
Vector2 &  translation 
)
KANZI_API optional<Matrix3x3> kanzi::normalized ( const Matrix3x3 &  matrix)
KANZI_API Matrix4x4 kanzi::operator* ( const Matrix4x4 &  left,
const Matrix4x4 &  right 
)
KANZI_API Matrix4x4 kanzi::orthonormalizeBase ( const Matrix4x4 &  matrix)
KANZI_API optional<Matrix4x4> kanzi::inverse ( const Matrix4x4 &  matrix)
KANZI_API bool kanzi::isTranslationOnly ( const Matrix4x4 &  matrix)
KANZI_API void kanzi::extractSRT ( const Matrix4x4 &  matrix,
Vector3 &  scale,
Vector3 &  rotationInRadians,
Vector3 &  translation 
)
Vector2 kanzi::componentWiseMax ( Vector2  v1,
Vector2  v2 
)
inline

Calculates the component wise maximum for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector2 kanzi::componentWiseMin ( Vector2  v1,
Vector2  v2 
)
inline

Calculates the component wise minimum for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector2 kanzi::componentWiseMultiply ( Vector2  v1,
Vector2  v2 
)
inline

Does component wise multiply for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector2 kanzi::componentWiseDivide ( Vector2  v1,
Vector2  v2 
)
inline

Does component wise divide for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector2 kanzi::operator+ ( Vector2  v1,
Vector2  v2 
)
inline

Adds two vectors and returns the sum.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
The result vector.
Vector2 kanzi::operator- ( Vector2  v1,
Vector2  v2 
)
inline

Subtracts two vectors and returns the difference.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
The result vector.
Vector2 kanzi::operator* ( Vector2  v,
float  scalar 
)
inline

Multiplies all vector elements with a scalar and returns the resulting vector.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
Vector2 kanzi::operator* ( float  scalar,
Vector2  v 
)
inline

Multiplies all vector elements with a scalar and returns the resulting vector.

Parameters
scalarA scalar.
vA vector.
Returns
The result vector.
Vector2 kanzi::operator/ ( Vector2  v,
float  scalar 
)
inline

Divides all vector elements with a scalar and returns the resulting vector.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
Vector2 kanzi::operator- ( Vector2  v)
inline

Negates all vector elements and returns the resulting vector.

Parameters
vA vector.
Returns
The result vector.
Vector2 kanzi::operator+ ( Vector2  v)
inline

Unary plus, doesn't do anything and returns the resulting vector.

Parameters
vA vector.
Returns
The result vector.
bool kanzi::operator== ( Vector2  v1,
Vector2  v2 
)
inline

Compares two vectors for equality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
True if vectors are equal.
bool kanzi::operator!= ( Vector2  v1,
Vector2  v2 
)
inline

Compares two vectors for inequality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
True if vectors are different.
float kanzi::dotProduct ( Vector2  v1,
Vector2  v2 
)
inline

Calculates the dot product of two vectors.

Parameters
v1The first vector.
v2The second vector.
Returns
The dot product of the vectors.
float kanzi::pseudoCrossProduct ( const Vector2 &  left,
const Vector2 &  right 
)
inline

Calculates pseudo-cross product of two 2D vectors.

U x V = Uy * Vx - Ux * Vy.

Parameters
leftThe first vector.
rightThe second vector.
Returns
The pseudo-cross product of the vectors.
Vector3 kanzi::componentWiseMax ( Vector3  v1,
Vector3  v2 
)
inline

Calculates the component wise maximum for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector3 kanzi::componentWiseMin ( Vector3  v1,
Vector3  v2 
)
inline

Calculates the component wise minimum for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector3 kanzi::componentWiseMultiply ( Vector3  v1,
Vector3  v2 
)
inline

Does component wise multiply for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector3 kanzi::operator+ ( Vector3  v1,
Vector3  v2 
)
inline

Adds two vectors and returns the sum.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
The result vector.
Vector3 kanzi::operator- ( Vector3  v1,
Vector3  v2 
)
inline

Subtracts two vectors and returns the difference.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
The result vector.
Vector3 kanzi::operator* ( Vector3  v,
float  scalar 
)
inline

Multiplies all vector elements with a scalar and returns the resulting vector.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
Vector3 kanzi::operator* ( float  scalar,
Vector3  v 
)
inline

Multiplies all vector elements with a scalar and returns the resulting vector.

Parameters
scalarA scalar.
vA vector.
Returns
The result vector.
Vector3 kanzi::operator/ ( Vector3  v,
float  scalar 
)
inline

Divides all vector elements with a scalar and returns the resulting vector.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
Vector3 kanzi::operator- ( Vector3  v)
inline

Negates all vector elements and returns the resulting vector.

Parameters
vA vector.
Returns
The result vector.
Vector3 kanzi::operator+ ( Vector3  v)
inline

Unary plus, doesn't do anything and returns the resulting vector.

Parameters
vA vector.
Returns
The result vector.
bool kanzi::operator== ( Vector3  v1,
Vector3  v2 
)
inline

Compares two vectors for equality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
True if vectors are equal.
bool kanzi::operator!= ( Vector3  v1,
Vector3  v2 
)
inline

Compares two vectors for inequality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
True if vectors are different.
float kanzi::dotProduct ( Vector3  v1,
Vector3  v2 
)
inline

Calculates the dot product of two vectors.

Parameters
v1The first vector.
v2The second vector.
Returns
The dot product of the vectors.
Vector3 kanzi::crossProduct ( Vector3  v1,
Vector3  v2 
)
inline

Calculates the cross product of two vectors.

Parameters
v1The first vector.
v2The second vector.
Returns
The cross product of the vectors.
Vector4 kanzi::componentWiseMax ( Vector4  v1,
Vector4  v2 
)
inline

Calculates the component wise maximum for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector4 kanzi::componentWiseMin ( Vector4  v1,
Vector4  v2 
)
inline

Calculates the component wise minimum for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector4 kanzi::componentWiseMultiply ( Vector4  v1,
Vector4  v2 
)
inline

Does component wise multiply for all vector elements and returns the resulting vector.

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector4 kanzi::operator+ ( Vector4  v1,
Vector4  v2 
)
inline

Adds two vectors and returns the sum.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
The result vector.
Vector4 kanzi::operator- ( Vector4  v1,
Vector4  v2 
)
inline

Subtracts two vectors and returns the difference.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
The result vector.
Vector4 kanzi::operator* ( Vector4  v,
float  scalar 
)
inline

Multiplies all vector elements with a scalar and returns the resulting vector.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
Vector4 kanzi::operator* ( float  scalar,
Vector4  v 
)
inline

Multiplies all vector elements with a scalar and returns the resulting vector.

Parameters
scalarA scalar.
vA vector.
Returns
The result vector.
Vector4 kanzi::operator/ ( Vector4  v,
float  scalar 
)
inline

Divides all vector elements with a scalar and returns the resulting vector.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
Vector4 kanzi::operator- ( Vector4  v)
inline

Negates all vector elements and returns the resulting vector.

Parameters
vA vector.
Returns
The result vector.
Vector4 kanzi::operator+ ( Vector4  v)
inline

Unary plus, doesn't do anything and returns the resulting vector.

Parameters
vA vector.
Returns
The result vector.
bool kanzi::operator== ( Vector4  v1,
Vector4  v2 
)
inline

Compares two vectors for equality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
True if vectors are equal.
bool kanzi::operator!= ( Vector4  v1,
Vector4  v2 
)
inline

Compares two vectors for inequality.

Note that this is a floating point comparison without any tolerance, so you probably don't want to use this.

Parameters
v1Left hand side vector.
v2Right hand side vector.
Returns
True if vectors are different.
float kanzi::dotProduct ( Vector4  v1,
Vector4  v2 
)
inline

Calculates the dot product of two vectors.

Parameters
v1The first vector.
v2The second vector.
Returns
The dot product of the vectors.
Matrix4x4 kanzi::calculateRelativeOrthogonalProjectionMatrixFromValues ( float  near,
float  far,
Camera::FieldOfViewType  fovType,
float  orthoSize,
float  aspectRatio 
)

Creates an orthogonal projection matrix for a symmetrical viewing volume.

Parameters
nearCamera near value.
farCamera far value.
fovTypeTells whether the orthoSize parameter is the width or height of the viewing box.
orthoSizeSpecifies the size of the viewing box (either width of height).
aspectRatioSpecifies the aspect ratio of the viewing box.
Returns
Orthogonal projection matrix.
See also
Matrix4x4::createOrthogonalProjection
Matrix4x4 kanzi::calculatePerspectiveProjectionMatrixFromValues ( float  near,
float  far,
Camera::FieldOfViewType  fovType,
float  fovInDegrees,
float  aspectRatio 
)

Creates a perspective projection matrix for a symmetrical viewing volume.

Parameters
nearCamera near value.
farCamera far value.
fovTypeTells whether the fovInDegrees parameter is xfov or yfov.
fovInDegreesField of view in degrees.
aspectRatioThe aspect ratio of the viewport.
Returns
Perspective projection matrix.
KANZI_API unsigned int kanzi::getTreeHeight ( const Node &  node)

Gets tree height from the object node to the parent, if no parents, height = 1, if single parent, and parent's parent = NULL, height = 2 and so on.

KANZI_API optional<string> kanzi::getRelativePath ( const Node &  targetNode,
const Node &  baseNode 
)

Returns the relative path from base object node to target object node, KZ_NULL if not found.

The returned string must be freed with kzcStringDelete.

KANZI_API Node* kanzi::findCommonParent ( const Node &  nodeA,
const Node &  nodeB 
)

Returns first common parent from nodeA and nodeB, KZ_NULL if not found.

KANZI_API Node* kanzi::getRoot ( Node &  node)

Returns the root of the scene graph.

KANZI_API const Node* kanzi::getRoot ( const Node &  node)

Returns the root of the scene graph.

KANZI_API bool kanzi::isParentOf ( const Node &  child,
const Node &  parent 
)
KANZI_API bool kanzi::isAncestorOf ( const Node &  node,
const Node &  ancestor 
)

Returns whether the parent node is the parent of the child node at any level in the scene graph hierarchy.

Parameters
childNode to check whether it is the descendant of parentNode.
Returns
Returns 'true' if parentNode is the parent of childNode at any level, otherwise returns false.
template<typename Type >
shared_ptr<Type> kanzi::findParent ( const Node &  node)

Returns nearest parent of specified type.

KANZI_API float kanzi::unboundedLayout ( )

Returns a value to initialize an unbounded layout dimension.

KANZI_API bool kanzi::isUnboundedLayout ( float  value)

Checks whether a value is an unbounded layout dimension.

KANZI_API float kanzi::resetUnboundedToZero ( float  value)
KANZI_API Vector2 kanzi::resetUnboundedToZero ( const Vector2 &  value)
KANZI_API Vector3 kanzi::resetUnboundedToZero ( const Vector3 &  value)
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.

Pickable attribute nor layer internal hit testing has no factor for this function, it simply returns the topmost layer of given type at given point. Use KZU_OBJECT_TYPE_LAYER as layer type to match any layer.

KANZI_API void kanzi::kzuLayerHitTestIterate ( const Node2D *  layer,
Vector2  point,
KzuLayerHitTestVisitor  visitor,
void *  userData,
Node **  out_objectNode 
)

Iterate layers and call visitor function.

Used for specific implementations of hit testing.

KANZI_API void kanzi::nodeLookAt ( Node3D &  node,
Vector3  position,
Vector3  lookAtPoint,
Vector3  upVector 
)

Sets node transformation so that the node is in a given position looking at the given point.

Parameters
positionThe new translation of the node.
lookAtPointA point where the node is looking at.
upVectorThe new up vector of the node.
template<typename TResourceType >
shared_ptr<TResourceType> kanzi::dereferenceResource ( const ResourceSharedPtr &  resource)
template<>
shared_ptr<Texture> KANZI_API kanzi::dereferenceResource ( const ResourceSharedPtr &  resource)
template<typename T >
void kanzi::registerMetaclass ( ObjectFactory &  objectFactory)
template<class T , class D >
T kanzi::prev ( t,
d 
)
template<class T >
T kanzi::prev ( t)
template<class T >
int kanzi::distance ( T const &  t1,
T const &  t2 
)
string kanzi::to_string ( int  value)
inline
string kanzi::to_string ( long  value)
inline
string kanzi::to_string ( long long  value)
inline
string kanzi::to_string ( unsigned int  value)
inline
string kanzi::to_string ( unsigned long  value)
inline
string kanzi::to_string ( unsigned long long  value)
inline
string kanzi::to_string ( float  value)
inline
string kanzi::to_string ( double  value)
inline
string kanzi::to_string ( long double  value)
inline
template<class K , class T , class H , class P , class A , class Predicate >
void kanzi::erase_if ( unordered_map< K, T, H, P, A > &  c,
Predicate  pred 
)
KANZI_API bool kanzi::operator== ( const VariantTransform2D &  lhs,
const VariantTransform2D &  rhs 
)
KANZI_API bool kanzi::operator== ( const VariantTransform3D &  lhs,
const VariantTransform3D &  rhs 
)
KANZI_API unsigned int kanzi::formatGetBytesPerBlock ( GraphicsFormat  format)

Returns number of bytes per block of the specified format.

KANZI_API unsigned int kanzi::formatGetChannelCount ( GraphicsFormat  format)

Returns number of channels in the specified format.

KANZI_API unsigned int kanzi::formatGetSupportFlags ( const Renderer *  renderer,
GraphicsFormat  format 
)

Describes what the specified format can be used for in the specified renderer.

KANZI_API bool kanzi::formatSupportsTexture ( const Renderer *  renderer,
GraphicsFormat  format 
)

Returns whether format can be used as texture by the specified renderer.

KANZI_API bool kanzi::formatSupportsColorAttachment ( const Renderer *  renderer,
GraphicsFormat  format 
)

Returns whether format can be used as color attachment in framebuffers.

KANZI_API bool kanzi::formatSupportsDepthStencilAttachment ( const Renderer *  renderer,
GraphicsFormat  format 
)

Returns whether format can be used as depth/stencil attachment in framebuffers.

KANZI_API bool kanzi::formatIsCompressed ( GraphicsFormat  format)

Returns whether format is compressed format or not.

KANZI_API int kanzi::formatGetCompressedGLFormat ( GraphicsFormat  format)

Returns the GL API internal format enumeration of the kanzi::Format.

KANZI_API bool kanzi::formatIsBackwardsCompatible ( GraphicsFormat  oldFormat,
GraphicsFormat  newFormat 
)

Tells whether format is backwards-compatible with another format (so that no conversion is necessary).

Parameters
oldForamtOld graphics format.
newForamtNew graphics format.
Returns
True if compatible, false if not.
KANZI_API GraphicsFormat kanzi::formatGetFallback ( GraphicsFormat  format)

Returns the default fallback format.

KANZI_API GraphicsFormat kanzi::formatGetFallback ( const Renderer *  renderer,
GraphicsFormat  format,
unsigned int  usageFlags 
)

Returns a fallback format which supports specified usage flags.

KANZI_API GraphicsFormat kanzi::formatGetCommon ( GraphicsFormat  lhs,
GraphicsFormat  rhs 
)

Returns a common superset of two formats, or Format::Nothing if formats cannot be combined.

KANZI_API GraphicsFormat kanzi::formatGetUncompressed ( GraphicsFormat  format)

Returns uncompressed version of format.

KANZI_API GraphicsFormat kanzi::formatGetDepthStencilRenderbuffer ( const Renderer *  renderer,
bool  depth,
bool  stencil 
)

Returns a depth/stencil renderbuffer format which is supported by renderer.

KANZI_API GraphicsFormat kanzi::formatGetDepthStencilTexture ( const Renderer *  renderer,
bool  depth,
bool  stencil 
)

Returns a depth/stencil texture format which is supported by renderer.

KANZI_API GraphicsDataType kanzi::formatGetDataType ( GraphicsFormat  format)

Returns data type of the format.

KANZI_API void kanzi::formatGetBlockSize ( GraphicsFormat  format,
unsigned int &  blockWidth,
unsigned int &  blockHeight 
)

Returns image size in blocks.

KANZI_API unsigned int kanzi::formatGetDataSizeBlocks ( int  imageWidth,
int  imageHeight,
GraphicsFormat  format 
)

Returns data size in blocks for image with specified dimensions and format.

KANZI_API unsigned int kanzi::formatGetDataSizeBytes ( int  width,
int  height,
GraphicsFormat  format 
)

Returns data size in bytes for image with specified dimensions and format.

KANZI_API unsigned int kanzi::dataTypeGetGLAttributeType ( const Renderer *  renderer,
GraphicsDataType  dataType 
)

Returns GL API attribute type for given DataType.

KANZI_API bool kanzi::formatHasRed ( GraphicsFormat  format)

Returns true if format has red component.

KANZI_API bool kanzi::formatHasGreen ( GraphicsFormat  format)

Returns true if format has green component.

KANZI_API bool kanzi::formatHasBlue ( GraphicsFormat  format)

Returns true if format has blue component.

KANZI_API bool kanzi::formatHasAlpha ( GraphicsFormat  format)

Returns true if format has alpha component.

KANZI_API bool kanzi::formatHasDepth ( GraphicsFormat  format)

Returns true if format has depth component.

KANZI_API bool kanzi::formatHasStencil ( GraphicsFormat  format)

Returns true if format has depth component.

KANZI_API unsigned int kanzi::formatGetRedSize ( GraphicsFormat  format)

Returns number of bits in the red component of the format.

KANZI_API unsigned int kanzi::formatGetGreenSize ( GraphicsFormat  format)

Returns number of bits in the green component of the format.

KANZI_API unsigned int kanzi::formatGetBlueSize ( GraphicsFormat  format)

Returns number of bits in the blue component of the format.

KANZI_API unsigned int kanzi::formatGetAlphaSize ( GraphicsFormat  format)

Returns number of bits in the alpha component of the format.

KANZI_API unsigned int kanzi::formatGetDepthSize ( GraphicsFormat  format)

Returns number of bits in the depth component of the format.

KANZI_API unsigned int kanzi::formatGetStencilSize ( GraphicsFormat  format)

Returns number of bits in the stencil component of the format.

KANZI_API void kanzi::formatGetGLFormatTriplet ( const Renderer *  renderer,
GraphicsFormat  format,
GraphicsFormatUsageFlags  usageFlags,
unsigned int *  out_glFormat,
unsigned int *  out_glInternalFormat,
unsigned int *  out_glType 
)

Returns GL API format, internal format, type triplet for given Format.

KANZI_API unsigned int kanzi::graphicsDataTypeGetByteCount ( GraphicsDataType  dataType)
KANZI_API kzString kanzi::graphicsDataTypeStr ( GraphicsDataType  dataType)
KANZI_API kzString kanzi::formatStr ( GraphicsFormat  format)
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
bool  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
int  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.s
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
float  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
KzcColorRGBA  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
KzcVector2  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
KzcVector3  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
KzcVector4  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
KzcMatrix3x3  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.
void kanzi::updateRenderValue ( Renderer &  renderer,
int  uniformLocation,
KzcMatrix4x4  value 
)

Update single render value.

Parameters
uniformLocationUniform location.
valueValue.
template<typename T >
void kanzi::updateRenderValueContainer ( Renderer &  renderer,
T &  container 
)

Update single value container.

Parameters
rendererRenderer to use.
containerContainer to iterate.
template<>
void kanzi::updateRenderValueContainer< GlRenderStateValueContainer< TextureSharedPtr > > ( Renderer &  renderer,
GlRenderStateValueContainer< TextureSharedPtr > &  container 
)
KANZI_API VertexAttribute::Semantic kanzi::semanticFromString ( kzString  name)
template<typename T >
void kanzi::updateRenderState ( GlRenderState &  renderState,
RenderStatePropertyNotificationHandler &  handler,
Object &  object,
Material &  material 
)

Update render state with new values acquirable from this.

Parameters
renderStateRender state to update.
objectFallback object for property value.
materialFallback material for property value.
template<>
void kanzi::updateRenderState< GraphicsBlendMode > ( GlRenderState &  renderState,
RenderStatePropertyNotificationHandler &  handler,
Object &  object,
Material &  material 
)
template<>
void kanzi::updateRenderState< RenderStateResourceContainer > ( GlRenderState &  renderState,
RenderStatePropertyNotificationHandler &  handler,
Object &  object,
Material &  material 
)
KANZI_API unsigned int kanzi::getAttributeDimension ( VertexAttribute::Semantic  attribute)
KANZI_API vector<string> kanzi::splitString ( const string &  source,
const string &  separator 
)

Splits string to tokens.

For example splitString("123;456;", ";") returns { "123", "456", "" }.

Parameters
sourceString that will be split.
separatorSeparator that is used for splitting.
Returns
The original source string split to vector of substrings that were separated in the source string by the specified separator.
KANZI_API void kanzi::initializeDefaultResources ( Domain *  domain,
Screen &  screen,
Renderer3D *  renderer 
)
KANZI_API TimerSubscriptionToken kanzi::addTimerHandler ( KzuMessageDispatcher messageDispatcher,
chrono::milliseconds  interval,
KzuTimerMessageMode  mode,
TimerFunction  callback 
)
KANZI_API void kanzi::removeTimerHandler ( KzuMessageDispatcher messageDispatcher,
TimerSubscriptionToken  token 
)
void kanzi::doListBoxArrange ( Node3D &  node)
inline
void kanzi::doListBoxArrange ( Node2D &  node)
inline
template<class DerivedClassType , class CurvePointType >
void kanzi::messagingAndChangeSignaling ( DerivedClassType &  m_derivedClass,
optional< float > &  m_lastHitPointValue,
CurvePointType &  m_lastHitPoint,
CurvePointType &  closestCurvePoint,
float  distanceAlongCurve,
float  shortestDistance,
InputManipulator::InputMessageArguments &  message 
)
inline