kanzi Namespace Reference

Namespaces

 chrono
 
 errc
 
 placeholders
 
 this_thread
 

Classes

class  AbstractAnimation
 Interface for abstract animations. More...
 
class  AbstractLogger
 Inherit from this class to implement logger. More...
 
class  AbstractMessageType
 
class  AbstractMessageTypeDescriptor
 
class  AbstractNodeReference
 
class  AbstractProfiler
 AbstractProfiler. More...
 
class  AbstractPropertyNotificationHandler
 Abstract property notification handler. More...
 
class  AbstractPropertyType
 AbstractPropertyType is a homogeneous property type handle. More...
 
class  AbstractPropertyTypeDescriptor
 AbstractPropertyTypeDescriptor is used internally by the property type system to manage property types. More...
 
class  AbstractResourceReference
 
class  AbstractValueProfiler
 Abstract value profiler. More...
 
class  Action
 Action is the base class for objects that execute something when the owning Trigger is activated. More...
 
class  AndroidLogger
 
class  AnimationBindingProcessor
 Animation validator. More...
 
class  AnimationPlayer
 Use the Animation Player to play back an animation timeline that you set using the TimelineProperty property in that Animation Player. More...
 
class  AnimationResource
 A Resource wrapper class for animations. More...
 
class  Application
 Application class. More...
 
struct  ApplicationProperties
 Configurable application properties. More...
 
struct  AppliedStyleEntry
 Applied style entry. More...
 
struct  BackEasingFunction
 
struct  BezierEasingFunction
 
class  BinaryResource
 
class  Binding
 Binding objects establish connections between properties, message values or arguments. More...
 
struct  BindingAnimationOpCode
 Animation binding operation. More...
 
struct  BindingExpressionOpCode
 Expression binding operation. More...
 
struct  BindingOperation
 Base class for binding operations. More...
 
class  BindingProcessor
 Binding validator. More...
 
class  BitmapImage
 Image is the basic runtime primitive to load, hold, and convert image data in memory. More...
 
class  BlitRenderPass
 Use the Blit Render Pass to blit one or more textures to the screen of the current rendering context using a material. More...
 
struct  BounceEasingFunction
 
class  Box
 Class for box volume. More...
 
class  Brush
 Brush class. More...
 
class  BrushRenderer
 Brush renderer class. More...
 
class  Buffer
 GPU memory buffer, for vertex or index data. 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...
 
struct  CircleEasingFunction
 
class  ClassPropertyDefaultValue
 ClassPropertyDefaultValue is a helper for installing property values as class metadata. More...
 
class  ClearRenderPass
 Use a Clear Render Pass to clear the color, depth, and stencil buffers of the current render context before passing the control to the descendants of this render pass. More...
 
class  ClickManipulator
 Click input manipulator recognizes the click and tap gestures from incoming touch events. 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  Command
 Command class defines property and message types used in implementation of commands. More...
 
class  CompositionBrush
 Texture brush class. More...
 
class  CompositionBrushRenderer
 OpenGL texture brush renderer class. More...
 
class  CompositionManager
 Composition manager. More...
 
class  CompositionRequirements
 Composition requirements represents the required buffers for composition. More...
 
class  CompositionStack
 Composition stack for managing current render context. More...
 
class  CompositionTargetRenderPass
 Use the Composition Target Render Pass to set a composition target and render all descendant render passes to the composition target that the Composition Target Render Pass created. More...
 
class  Condition
 Condition for triggers. More...
 
class  Constraints
 Contains property types of Constraints. More...
 
class  ContentBrush
 Texture brush class. More...
 
class  ContentBrushRenderer
 Content 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
 
class  CoutLogger
 This logger class writes log messages to standard output. More...
 
struct  CubicEasingFunction
 
class  DataContext
 DataContext acts as a container for data. More...
 
class  DataObject
 DataObject is the base class for data. More...
 
class  DataObjectEnum
 Provides functions to host / set / get value of given type. More...
 
class  DataObjectEnumBase
 DataObjectEnumBase is the base class for enum data. More...
 
class  DataObjectList
 DataObjectList is the base class for list data object. More...
 
class  DataObjectTyped
 Template class that can be used with standard types. More...
 
class  DataSource
 Use data sources to separate the user interface from the application data and to remove the dependencies between a Kanzi Studio project and the application code which define the Kanzi application. More...
 
class  DataSourceListItemGenerator
 
class  DataSourceListItemGenerator2D
 
class  DataSourceListItemGenerator3D
 
class  DefaultEventSource
 
class  DefaultListBoxItemContainerGenerator
 
class  DefaultListBoxItemGenerator
 
class  DefaultLogger
 Use this class to access the Default Logger. More...
 
class  DefaultProfilerRegistry
 The default profiler registry placeholder. More...
 
class  DispatchMessageAction
 Dispatch message action. More...
 
class  DockLayout2D
 Use the Dock Layout 2D node to place nodes relative to each other along the sides of a Dock Layout 2D node. More...
 
class  DockLayout3D
 Use the Dock Layout 3D node to place nodes relative to each other along the sides of a Dock Layout 3D node. 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 input manipulator recognizes the drag and drop gesture from incoming touch events. More...
 
class  DrawObjectsRenderPass
 Use the Draw Objects Render Pass to render only nodes in a Scene node provided by an object source you set in this render pass. More...
 
class  DrawObjectsWithMaterialRenderPass
 Use the Draw Objects With Material Render Pass to render nodes provided by an object source using a material. More...
 
class  DynamicMessageType
 
class  DynamicPropertyType
 DynamicPropertyType is a handle for property types that are unknown. More...
 
struct  ElasticEasingFunction
 
class  EmptyNode2D
 Empty Node 2D can be used to group other 2D nodes. More...
 
class  EmptyNode3D
 
struct  enable_if
 
struct  enable_if< true, _Type >
 
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
 Use trigger conditions to set which conditions must be met for a Trigger to set off. More...
 
class  File
 
class  FixedString
 String that points to a string literal. More...
 
class  FlagScopeGuard
 
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  FocusManager
 FocusManager enables you to set and change the keyboard and logical focus between attached nodes. More...
 
class  ForwardingAction
 A class that is able to read arguments from message and translates them to action arguments. More...
 
class  FPSConstraints
 Constraint for limiting the number of frames per second the Engine is rendering. More...
 
class  Framebuffer
 Framebuffer allows the rendering to the user-specified texture or renderbuffer, instead of rendering directly to the window. More...
 
class  FrameDescription
 Description of a frame, the remaining area of a quad with another quad cut out. More...
 
class  FrameTimeQueue
 Queue specialization for calculating frame rate. More...
 
struct  from_chars_result
 
class  FromToAnimation
 Template class for from-to animations. More...
 
class  FromToAnimationBase
 
class  GenericResourceProfilingContext
 Generic resource profiling context. More...
 
class  Geometry
 Renderable geometry. More...
 
class  GeometryFrame
 Geometry representing a quad that has its center cut out. More...
 
class  GeometryGl
 Base GL geometry. More...
 
class  GeometryGlBuffer
 GL geometry with set size. More...
 
class  GeometryQuad
 Renderable quad. More...
 
class  GlBrushRenderer
 OpenGL brush renderer specifics. More...
 
class  GLBufferHandle
 GLBufferHandle manages RAII ownership for GL buffer object. More...
 
class  GLFramebufferHandle
 GLFramebufferHandle manages RAII ownership for GL framebuffer object. More...
 
class  GlGraphicsAdapter
 Base class for handling calls to OpenGL family. More...
 
class  GlGraphicsAdapterCallGles
 OpenGL API call handler which calls the implementation from dynamically loaded GLES library. More...
 
class  GlGraphicsAdapterCheckForErrors
 Check for GL errors. More...
 
class  GlGraphicsAdapterLogger
 Logs OpenGL API calls. More...
 
class  GlGraphicsLogScope
 Scoped OpenGL log enable/disabler. More...
 
class  GlGraphicsOutput
 GlGraphicsOutput class. More...
 
struct  Global
 
class  GLProgramHandle
 GLProgramHandle manages RAII ownership for GL program object. More...
 
class  GLRenderbufferHandle
 GLRenderbufferHandle manages RAII ownership for GL renderbuffer object. More...
 
class  GlRenderState
 OpenGL render state. More...
 
class  GlRenderValue
 Individual render value container. More...
 
class  GlRenderValue< TextureSharedPtr >
 Specialization of GlRenderValue. More...
 
class  GlRenderValueBase
 Base class for render value information. More...
 
struct  GlRenderValueBinding
 GlRenderValueBinding is a binding from shaders/materials into values in GlRenderState. More...
 
class  GLShaderHandle
 GLShaderHandle manages RAII ownership for GL shader object. More...
 
class  GLTextureHandle
 GLTextureHandle manages RAII ownership for GL texture object. More...
 
class  GPUResource
 GPUResource is a resource that must be deployed to the GPU. More...
 
class  GraphicsOutput
 GraphicsOutput class. More...
 
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  ImmutableString
 Immutable string container. More...
 
class  InputManager
 InputManager converts the events from the given event queue into input specific messages. More...
 
class  InputManipulator
 The base class for the input manipulator. More...
 
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  InterpolatedValue
 Core component for smooth interpolation in code. More...
 
class  IntervalProfiler
 The interval profiler. More...
 
struct  IntervalProfilerSampleData
 The interval profiler data sample. More...
 
struct  IntervalProfilerSampleStatistics
 
class  IntervalProfilingSampler
 The main loop task profiling sampler collects interval measurement to produce IntervalProfilerSampleData sample. More...
 
struct  IrisImageHeader
 
class  KanziComponentsModule
 
class  Keyboard
 Represents keyboard. More...
 
class  KeyframeAnimation
 Template class for keyframe animations. More...
 
class  KzbFile
 KZB file loader. More...
 
class  KZBFileException
 Exception which is thrown when error occurs during loading from KZB. More...
 
class  KzbMemoryParser
 Parser of the kzb file structure. More...
 
struct  KzuInputTouchPoint
 The structure describes the attributes for a touch point or mouse hit. More...
 
struct  KzuViewport
 Structure for viewport. More...
 
class  LegacyError
 
class  LegacyRenderPass
 Legacy Render Pass is phased out in favor of specialized render passes that perform individual operations, which are combined in a Legacy Render Pass into a single render pass. More...
 
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 recognizes the long press gesture from the incoming touch events. More...
 
class  MainLoopTaskProfiler
 Profiles the execution time of main loop tasks. More...
 
class  MainLoopTaskProfilerRegistry
 The registry of main loop task profilers. More...
 
struct  MainLoopTaskProfilerSampleData
 The main loop task profiler data sample. More...
 
class  MainLoopTaskProfilingSampler
 The main loop task profiling sampler collects interval measurement to produce #MainLoopTaskProfilerSampleData sample. More...
 
class  Material
 A material is an instance of a material type (ShaderProgram) 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  MaterialRenderer
 Material renderer. More...
 
class  MaterialSetupRenderPass
 Use the Material Setup Render Pass to set properties to a material for further render operations using that material. 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
 Use Mesh::CreateInfo to describe and create meshes. More...
 
class  MeshVertexAttribute
 MeshVertexAttribute describes how mesh vertex data is stored in memory. More...
 
class  MessageArguments
 Message arguments is the base class for arguments passed in messages. More...
 
struct  MessageArgumentsBaseMetaclassWrapper
 
struct  MessageArgumentsBaseMetaclassWrapper< MessageArguments >
 
class  MessageDispatcherProperties
 
class  MessageTrigger
 Message handler trigger. More...
 
class  MessageType
 
class  Metaclass
 Metaclass provides type inspection mechanism for Kanzi classes. More...
 
class  MetaclassAbstractBase
 
class  MetaclassAbstractImpl
 
class  MetaclassImpl
 
class  MetaclassStaticBase
 
class  MetaclassStaticImpl
 
struct  MetadataGeneratedName
 
class  MetaMethod
 MetaMethod provides method invocation mechanism for Kanzi classes. More...
 
class  MetaObject
 MetaObject is the base class for classes that provide type reflection. More...
 
class  MethodArgument
 Holds argument type and value information. More...
 
class  MethodArguments
 Holds arguments applied on metamethod invocation. More...
 
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  MorphRuntime
 Contains morph weights for a morph. More...
 
class  MorphWeightTimeline
 Timeline for animating morph weights. More...
 
class  MorphWeightTimelinePlayback
 Timeline Playback for morph timeline. More...
 
class  MoveFocusAction
 Use the MoveFocusAction action to transfer focus from the currently focused item to another focusable item in the focus navigation chain. More...
 
class  MultiClickManipulator
 Multi-click input manipulator recognizes double click and tap gestures from incoming touch events. More...
 
class  NamedResourceProfilingContext
 Named resource profiling context. More...
 
class  NativeDeploymentTarget
 Reference to a backend implementation specific memory storage type for deployment. 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
 Node2D is the base class of all 2D nodes. More...
 
class  Node3D
 Base class for all 3D nodes. More...
 
class  NodeComponent
 NodeComponent is the base class for all node components. More...
 
class  NodeComponentTemplate
 NodeComponentTemplate is the base class for all node component templates. More...
 
class  NodeCompositor2D
 Composition functionality for 2D nodes. More...
 
struct  NodeContext
 
class  NodePropertyNotificationHandler
 Node property notification handler. More...
 
class  NodeReference
 
class  NodeVisual2D
 Composition functionality for 2D nodes. More...
 
class  NullBrush
 Null brush class. More...
 
class  NullGraphicsOutput
 NullGraphicsOutput class. More...
 
class  Object
 Object is the base class for Kanzi UI classes that implement association with a Domain. More...
 
class  ObjectFactory
 
class  ObjectLoader
 ObjectLoader loads objects from KZB. More...
 
class  OnAttachedTrigger
 On Attached Trigger. More...
 
class  OnPropertyChangedTrigger
 Property change Trigger. More...
 
class  Page
 Use Page nodes to create the structure of an application user interface. More...
 
class  PageHost
 Use a PageHost node to group Page and PageHost nodes, and to manage navigation requests and transitions in a tree of Page nodes under a PageHost node. More...
 
class  PageTransitionCollection
 Transition collection is used to define transitions within a Page Host. More...
 
class  PanManipulator
 Pan input manipulator recognizes pan gesture from incoming touch events. More...
 
class  ParallelTimeline
 The Kanzi animation system consists of 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  PerformanceInfo
 HUD class allows drawing information on top of tests. More...
 
struct  PerformanceInfoProperties
 Configurable performance info display properties. More...
 
class  PinchManipulator
 Pinch input manipulator recognizes the pinch gesture from incoming touch events. More...
 
class  PipelineStateRenderPass
 Use the Pipeline State Render Pass to set for its child render passes the depth and stencil testing, transparency, and culling. More...
 
class  PlayAnimationAction
 Play animation action is the action which starts playback of specified timeline when it is invoked. More...
 
class  Plugin
 
class  Portal
 Portal layer. More...
 
struct  PowerEasingFunction
 
class  PrefabTemplate
 
class  PrefabTemplateNode
 
class  PrefabView2D
 Prefab view 2D node. More...
 
class  PrefabView3D
 Prefab view 3D node. More...
 
class  PrefabViewConcept
 Prefab view concept class. More...
 
class  PrefabViewConceptImpl
 Base class for prefab views. More...
 
class  PreviewTimeline
 Preview timeline,. More...
 
class  PreviewTimelinePlayback
 Preview timeline playback controls child timeline playbacks based on preview instructions. More...
 
class  ProfilerRegistry
 Profiler registry. More...
 
class  ProfilingCategory
 Represents the runtime state of the profiling category. More...
 
class  ProfilingScopeHelper
 The profiling scope helper. More...
 
class  ProgressiveRenderingViewport2D
 Progressive rendering viewport 2D is a viewport which splits rendering its scene across multiple frames. More...
 
class  PropertyAnimationTimeline
 The Kanzi animation system consists of animations, which define how to animate properties, and timelines, which map animations to time and to the objects that you want to animate. More...
 
class  PropertyAnimationTimelinePlayback
 Playback class for PropertyAnimationTimeline. More...
 
struct  PropertyDataTypeTraits
 
struct  PropertyDataTypeTraits< bool >
 
struct  PropertyDataTypeTraits< ColorRGBA >
 
struct  PropertyDataTypeTraits< float >
 
struct  PropertyDataTypeTraits< int >
 
struct  PropertyDataTypeTraits< Matrix3x3 >
 
struct  PropertyDataTypeTraits< Matrix4x4 >
 
struct  PropertyDataTypeTraits< ResourceSharedPtr >
 
struct  PropertyDataTypeTraits< SRTValue2D >
 
struct  PropertyDataTypeTraits< SRTValue3D >
 
struct  PropertyDataTypeTraits< string >
 
struct  PropertyDataTypeTraits< Vector2 >
 
struct  PropertyDataTypeTraits< Vector3 >
 
struct  PropertyDataTypeTraits< Vector4 >
 
struct  PropertyDataTypeTraits< void * >
 
class  PropertyDrivenAnimationPlayer
 Use Property Driven Animation Player when you want to use a property type to control a keyframe animation. 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  PropertyFieldTargetInterpolationTimelinePlayback
 Playback for property target interpolation timeline for interpolating specific property field. More...
 
class  PropertyListener
 
class  PropertyObject
 PropertyObject is the base class that supports setting and retrieving properties. More...
 
class  PropertyTargetInterpolationTimeline
 Property target interpolation timeline is a timeline that gradually interpolates specified property from its old value to new one each time new value is set to the property. More...
 
class  PropertyTargetInterpolationTimelinePlayback
 Playback for property target interpolation timeline. More...
 
class  PropertyTargetInterpolator
 Use a Property Target Interpolator when you want to dynamically set the target value of a property and want to interpolate the current value to the target value over time. More...
 
class  PropertyType
 Property type represents a property type for the property system. More...
 
class  PropertyType< Type, typename enable_if< is_enum< Type >::value >::type >
 Specialization for PropertyType for enums. See PropertyType. More...
 
class  PropertyTypeDescriptor
 PropertyTypeDescriptor is used internally by the property system to implement all operations required for property types that have the same data type. More...
 
struct  PropertyTypeEditorInfo
 Editor information for metadata. More...
 
class  QuadDescription
 Quad description. Used to create renderable quad geometry. More...
 
struct  QuadraticEasingFunction
 
struct  QuarticEasingFunction
 
struct  QuinticEasingFunction
 
class  RangeConcept
 RangeConcept represents a number range with an optional step. More...
 
class  RangeConceptImpl
 
class  ReadOnlyDiskFile
 Implements the File interface for files residing on a disk. More...
 
class  ReadOnlyMemoryFile
 
class  Rectangle
 2-dimensional integer rectangle. More...
 
class  ReferenceCountScopeGuard
 Reference count scope guard. More...
 
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  Renderer
 
class  Renderer3D
 Renderer is the core component for assigning lights, meshes, cameras, skin animations etc. to lower level rendering. More...
 
class  RendererStatisticsScope
 
class  RenderPass
 RenderPass is the base class for Kanzi render passes. More...
 
class  RenderStatePropertyNotificationHandler
 Render value updater for render state. More...
 
class  RenderValuePropertyNotificationHandler
 Render value updater for individual render values. More...
 
class  RenderValuePropertyNotificationHandlerBase
 Base class for notification handlers for render values and render state values (through handles). More...
 
class  Resource
 Represents the base class for all resources. More...
 
class  ResourceDictionary
 A resource dictionary is a container that maps resource IDs to resources. More...
 
class  ResourceDictionarySelector
 A resource dictionary selector is a type of a resource dictionary that redirects resource queries to its only nested dictionary. More...
 
class  ResourceID
 Resource ID. More...
 
class  ResourceLoaderFactory
 Factory for resource loader tasks. More...
 
struct  ResourceLoaderThreadContext
 Resource loader thread local data. More...
 
class  ResourceManager
 Use the resource manager to access and use resources in kzb files. More...
 
class  ResourceProfiler
 The resource profiler. More...
 
class  ResourceProfilingAcquireContext
 The profiling context of resource acquirement. More...
 
class  ResourceProfilingAttributes
 Container for resource profiling attributes. More...
 
class  ResourceProfilingContext
 The resource profiling context. More...
 
class  ResourceProfilingContextFactory
 Resource profiling context factory. More...
 
class  ResourceProfilingDataSample
 The resource profiling data sample. More...
 
class  ResourceProfilingDeployContext
 The profiling context of resource deployment. More...
 
class  ResourceProfilingLoadContext
 The profiling context of resource loading. More...
 
class  ResourceProfilingLoadTask
 Resource profiling wrapper for load task. More...
 
class  ResourceProfilingMainLoopContext
 The main loop resource profiling context. More...
 
struct  ResourceProfilingPtreePopulator
 Resource profiling ptree populator. More...
 
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  ScopedRefCounter
 Scoped reference counter, which takes an unsigned integer value as argument on construction to track. 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
 Use the Scroll View 2D node to create an input plane to enable user input from gestures. More...
 
class  ScrollView3D
 Use the Scroll View 3D node to create an input plane to enable user input from gestures. More...
 
class  ScrollViewConcept
 ScrollViewConcept is the base class that provides the functionality for the ScrollView2D and ScrollView3D classes. More...
 
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  SetFocusAction
 Use the SetFocusAction action to transfer focus to any focusable item in a node tree. More...
 
class  SetPropertyAction
 Set property action. More...
 
struct  ShaderProgram
 ShaderProgram defines programmable vertex and fragment operations done by the GPU for a draw call. More...
 
struct  ShaderTextureUniform
 Specifies single texture uniform entry. More...
 
class  ShaderVertexAttribute
 ShaderVertexAttribute describes the attributes that shader program will read when executed by graphics device. More...
 
class  SharedImmutableString
 Shared immutable string container. More...
 
struct  SineEasingFunction
 
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  SpeedMeasurer
 Implements an object that calculates average speed from its measurement data. More...
 
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  StartupProfilerRegistry
 The registry of startup profilers. More...
 
class  StateManager
 State manager for managing states of nodes or application. More...
 
struct  StepEasingFunction
 
class  StopWatch
 Stop watch class. More...
 
class  Style
 Style applying properties, node components and bindings to nodes. More...
 
class  Surface
 Surfaces provide images for Framebuffers where to render to. More...
 
class  SuspensionManager
 Suspension manager implements logic for suspending the UI thread when there is no input, tasks or timed events. More...
 
class  Tag
 Tag represents a mark that can be added to a node to mark that the node is of certain kind. More...
 
class  TaskDispatcher
 Task dispatcher. More...
 
class  TaskDispatcherBase
 Base class for TaskDispatcher implementation. 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...
 
struct  Texture
 Textures provide images that can be used with image nodes, texture brushes and materials for use in 3D rendering or material brushes. More...
 
class  TextureBrush
 Texture brush class. More...
 
class  TextureBrushRenderer
 Texture brush renderer class. More...
 
class  TextureSwizzleMask
 Texture swizzle mask. More...
 
struct  TimeInterval
 Interval in time specified as start and end timestamps. More...
 
class  Timeline
 The Kanzi animation system consists of animations and timelines: animations define how the values of specific type change in time, and timelines map the animations to properties of objects you want to animate. More...
 
class  TimelineClock
 Updates timelines based on time. More...
 
class  TimelineEvent
 Event on a timeline. More...
 
class  TimelinePlayback
 Playback object for Timelines. More...
 
class  TimelinePlaybackContext
 Helper interface which defines the context of animation playback, i.e. More...
 
class  TimelineResource
 
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
 
struct  TouchPointIdEquals
 Helper predicate functor which you can use to search for a touch point within a touch point container using the identifier of a touch point. More...
 
struct  TouchPointStateEquals
 Helper predicate functor which you can use to search within a touch point container using the state of a touch point. More...
 
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  TransformedScene3D
 
class  Trigger
 Trigger is the base class for defining events, conditions and actions for content-driven logic programming. More...
 
class  TriggerTemplate
 TriggerTemplate is the base class for trigger templates. More...
 
class  TypedRenderStatePropertyNotificationHandler
 Specialized property state and value container for render state. More...
 
class  TypedRenderStatePropertyNotificationHandler< GraphicsBlendMode >
 TypedRenderStatePropertyNotificationHandler specialization. More...
 
class  TypedRenderStatePropertyNotificationHandler< TextureSharedPtr >
 TypedRenderStatePropertyNotificationHandler specialization. More...
 
class  UsingIntrusivePtr
 Class that should be inherited by objects using intrusive_ptr. More...
 
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...
 
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
 A base class for mesh and shader program vertex attributes. More...
 
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...
 
class  Win32DebugLogger
 This logger class writes log messages to the Windows debugger console. More...
 

Typedefs

typedef unsigned char byte
 
typedef std::thread::native_handle_type ThreadNativeHandleType
 
typedef boost::mt19937 default_random_engine
 
typedef boost::blank monostate
 
typedef unique_ptr< AbstractLoggerAbstractLoggerUniquePtr
 Typedef of the kanzi::AbstractLogger unique pointer. More...
 
typedef PropertyTypeEditorInfoPropertyTypeEditorInfoSharedPtr
 
typedef shared_ptr< MetaObjectMetaObjectSharedPtr
 MetaObject shared pointer type. More...
 
typedef string Win32String
 
typedef string_view Win32StringView
 
typedef unique_ptr< ReadOnlyDiskFileReadOnlyDiskFileUniquePtr
 
typedef shared_ptr< AbstractProfilerAbstractProfilerSharedPtr
 The shared pointer to the abstract profiler source. More...
 
typedef ProfilerRegistry< AbstractProfilerAbstractProfilerRegistry
 AbstractProfilerRegistry declaration. More...
 
typedef shared_ptr< IntervalProfilerIntervalProfilerSharedPtr
 The shared pointer to the interval profiler. More...
 
typedef ProfilerRegistry< IntervalProfilerIntervalProfilerRegistry
 The interval profiler registry type. More...
 
typedef shared_ptr< MainLoopTaskProfilerMainLoopTaskProfilerSharedPtr
 The main loop task profiler shared pointer type. More...
 
typedef unique_ptr< MainLoopTaskProfilerRegistryMainLoopTaskProfilerRegistryUniquePtr
 The main loop task profiler registry unique ptr type. More...
 
typedef unique_ptr< StartupProfilerRegistryStartupProfilerRegistryUniquePtr
 The startup profiler registry unique ptr type. More...
 
typedef shared_ptr< AbstractPropertyNotificationHandlerAbstractPropertyNotificationHandlerSharedPtr
 Abstract property notification handler shared pointer. More...
 
typedef unordered_map< string_view, AbstractPropertyTypeDescriptor * > PropertyTypeRegistry
 Alias for map of all property types. More...
 
typedef shared_ptr< ResourceResourceSharedPtr
 
typedef basic_string_view< const byteConstByteSpan
 ConstByteSpan refers to constant contiguous sequence of bytes. More...
 
typedef shared_ptr< ActionActionSharedPtr
 
typedef shared_ptr< DispatchMessageActionDispatchMessageActionSharedPtr
 
typedef shared_ptr< ForwardingActionForwardingActionSharedPtr
 
typedef shared_ptr< ParallelTimelineParallelTimelineSharedPtr
 
typedef shared_ptr< PlayAnimationActionPlayAnimationActionSharedPtr
 
typedef shared_ptr< SetPropertyActionSetPropertyActionSharedPtr
 
typedef shared_ptr< AbstractAnimationAbstractAnimationSharedPtr
 
typedef shared_ptr< TimelinePlaybackTimelinePlaybackSharedPtr
 
typedef shared_ptr< AnimationPlayerAnimationPlayerSharedPtr
 
typedef shared_ptr< AnimationResourceAnimationResourceSharedPtr
 
typedef FromToAnimation< bool, LinearEasingFunctionBoolLinearFromToAnimation
 
typedef shared_ptr< BoolLinearFromToAnimationBoolLinearFromToAnimationSharedPtr
 
typedef FromToAnimation< float, LinearEasingFunctionFloatLinearFromToAnimation
 
typedef shared_ptr< FloatLinearFromToAnimationFloatLinearFromToAnimationSharedPtr
 
typedef FromToAnimation< ColorRGBA, LinearEasingFunctionColorRGBALinearFromToAnimation
 
typedef shared_ptr< ColorRGBALinearFromToAnimationColorRGBALinearFromToAnimationSharedPtr
 
typedef FromToAnimation< float, function< float(float)> > FloatCustomFromToAnimation
 
typedef shared_ptr< FloatCustomFromToAnimationFloatCustomFromToAnimationSharedPtr
 
typedef KeyframeAnimation< bool > BoolKeyframeAnimation
 
typedef shared_ptr< BoolKeyframeAnimationBoolKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< int > IntKeyframeAnimation
 
typedef shared_ptr< IntKeyframeAnimationIntKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< float > FloatKeyframeAnimation
 
typedef shared_ptr< FloatKeyframeAnimationFloatKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< Vector2Vector2KeyframeAnimation
 
typedef shared_ptr< Vector2KeyframeAnimationVector2KeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< Vector3Vector3KeyframeAnimation
 
typedef shared_ptr< Vector3KeyframeAnimationVector3KeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< Vector4Vector4KeyframeAnimation
 
typedef shared_ptr< Vector4KeyframeAnimationVector4KeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< ColorRGBAColorRGBAKeyframeAnimation
 
typedef shared_ptr< ColorRGBAKeyframeAnimationColorRGBAKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< string > StringKeyframeAnimation
 
typedef shared_ptr< StringKeyframeAnimationStringKeyframeAnimationSharedPtr
 
typedef KeyframeAnimation< ResourceIDResourceIDKeyframeAnimation
 
typedef shared_ptr< ResourceIDKeyframeAnimationResourceIDKeyframeAnimationSharedPtr
 
typedef shared_ptr< MorphWeightTimelineMorphWeightTimelineSharedPtr
 
typedef shared_ptr< MorphWeightTimelinePlaybackMorphWeightTimelinePlaybackSharedPtr
 
typedef shared_ptr< ParallelTimelinePlaybackParallelTimelinePlaybackSharedPtr
 
typedef shared_ptr< PreviewTimelinePreviewTimelineSharedPtr
 
typedef shared_ptr< PreviewTimelinePlaybackPreviewTimelinePlaybackSharedPtr
 
typedef shared_ptr< PropertyAnimationTimelinePropertyAnimationTimelineSharedPtr
 
typedef shared_ptr< PropertyAnimationTimelinePlaybackPropertyAnimationTimelinePlaybackSharedPtr
 
typedef shared_ptr< PropertyDrivenAnimationPlayerPropertyDrivenAnimationPlayerSharedPtr
 
typedef shared_ptr< PropertyFieldAnimationTimelinePropertyFieldAnimationTimelineSharedPtr
 
typedef shared_ptr< PropertyFieldAnimationTimelinePlaybackPropertyFieldAnimationTimelinePlaybackSharedPtr
 
typedef shared_ptr< PropertyTargetInterpolationTimelinePropertyTargetInterpolationTimelineSharedPtr
 
typedef shared_ptr< PropertyFieldTargetInterpolationTimelinePlaybackPropertyFieldTargetInterpolationTimelinePlaybackSharedPtr
 
typedef shared_ptr< PropertyTargetInterpolationTimelinePlaybackPropertyTargetInterpolationTimelinePlaybackSharedPtr
 
typedef shared_ptr< PropertyTargetInterpolatorPropertyTargetInterpolatorSharedPtr
 
typedef shared_ptr< SequentialTimelineSequentialTimelineSharedPtr
 
typedef shared_ptr< TimelineTimelineSharedPtr
 
typedef shared_ptr< TimelineClockTimelineClockSharedPtr
 
typedef shared_ptr< TimelineResourceTimelineResourceSharedPtr
 
typedef ValueAnimation< bool > BoolAnimation
 
typedef shared_ptr< BoolAnimationBoolAnimationSharedPtr
 
typedef ValueAnimation< int > IntAnimation
 
typedef shared_ptr< IntAnimationIntAnimationSharedPtr
 
typedef ValueAnimation< float > FloatAnimation
 
typedef shared_ptr< FloatAnimationFloatAnimationSharedPtr
 
typedef ValueAnimation< ColorRGBAColorRGBAAnimation
 
typedef shared_ptr< ColorRGBAAnimationColorRGBAAnimationSharedPtr
 
typedef ValueAnimation< Vector2Vector2Animation
 
typedef shared_ptr< Vector2AnimationVector2AnimationSharedPtr
 
typedef ValueAnimation< Vector3Vector3Animation
 
typedef shared_ptr< Vector3AnimationVector3AnimationSharedPtr
 
typedef ValueAnimation< Vector4Vector4Animation
 
typedef shared_ptr< Vector4AnimationVector4AnimationSharedPtr
 
typedef ValueAnimation< string > StringAnimation
 
typedef shared_ptr< StringAnimationStringAnimationSharedPtr
 
typedef ValueAnimation< ResourceIDResourceIDAnimation
 
typedef shared_ptr< ResourceIDAnimationResourceIDAnimationSharedPtr
 
typedef ValueAnimation< SRTValue2DSRTValue2DAnimation
 
typedef shared_ptr< SRTValue2DAnimationSRTValue2DAnimationSharedPtr
 
typedef ValueAnimation< SRTValue3DSRTValue3DAnimation
 
typedef shared_ptr< SRTValue3DAnimationSRTValue3DAnimationSharedPtr
 
typedef shared_ptr< FramebufferFramebufferSharedPtr
 Framebuffer shared pointer type. More...
 
typedef shared_ptr< MaterialBrushMaterialBrushSharedPtr
 Shared pointer definition. More...
 
typedef shared_ptr< ScreenScreenSharedPtr
 Screen shared pointer. More...
 
typedef vector< string_view > SystemProperties
 Read-only values from the system. More...
 
typedef shared_ptr< AnimationBindingProcessorAnimationBindingProcessorSharedPtr
 
typedef shared_ptr< BindingBindingSharedPtr
 
typedef shared_ptr< Binding const > BindingSharedConstPtr
 
typedef shared_ptr< DataObjectDataObjectSharedPtr
 
typedef shared_ptr< DataContextDataContextSharedPtr
 
typedef shared_ptr< BindingOperationBindingOperationSharedPtr
 
typedef shared_ptr< BindingProcessorBindingProcessorSharedPtr
 
typedef shared_ptr< CallbackBindingProcessorCallbackBindingProcessorSharedPtr
 
typedef bool(* BindingExpressionFunction) (BindingExpressionOpCode &expressionOpCode)
 Expression function pointer type. More...
 
typedef shared_ptr< ExpressionBindingProcessorExpressionBindingProcessorSharedPtr
 
typedef shared_ptr< BitmapImageBitmapImageSharedPtr
 Image shared pointer type. More...
 
typedef unique_ptr< BitmapImageBitmapImageUniquePtr
 Image unique pointer type. More...
 
typedef vector< BitmapImageUniquePtrBitmapImageVector
 Image shared pointer vector type. More...
 
typedef shared_ptr< ConditionConditionSharedPtr
 
typedef shared_ptr< ExpressionConditionExpressionConditionSharedPtr
 
typedef shared_ptr< BinaryResourceBinaryResourceSharedPtr
 
typedef shared_ptr< NodeNodeSharedPtr
 Alias for shared pointer of Node. More...
 
typedef shared_ptr< TextResourceTextResourceSharedPtr
 Text resource shared pointer. More...
 
typedef DataObjectTyped< bool, DataObject::BoolDataObjectBool
 
typedef DataObjectTyped< int32_t, DataObject::IntegerDataObjectInt
 
typedef DataObjectTyped< double, DataObject::RealDataObjectReal
 
typedef DataObjectTyped< string, DataObject::StringDataObjectString
 
typedef shared_ptr< DataObjectEnumBaseDataObjectEnumBaseSharedPtr
 
typedef shared_ptr< DataObjectListDataObjectListSharedPtr
 
typedef shared_ptr< DataSourceDataSourceSharedPtr
 
typedef weak_ptr< DataSourceDataSourceWeakPtr
 
typedef shared_ptr< void > ScriptingSystemSharedPtr
 
typedef shared_ptr< ShaderProgramShaderProgramSharedPtr
 Shader program shared pointer type. More...
 
typedef shared_ptr< TextureTextureSharedPtr
 Texture shared pointer type. More...
 
typedef shared_ptr< KzuFontFontSharedPtr
 
typedef shared_ptr< GraphicsOutputGraphicsOutputSharedPtr
 
typedef shared_ptr< BrushBrushSharedPtr
 Brush shared pointer. More...
 
typedef unique_ptr< BrushRendererBrushRendererPtr
 Brush renderer unique pointer. More...
 
typedef shared_ptr< ColorBrushColorBrushSharedPtr
 
typedef shared_ptr< CompositionBrushCompositionBrushSharedPtr
 Shared pointer type. More...
 
typedef shared_ptr< ContentBrushContentBrushSharedPtr
 Shared pointer type. More...
 
typedef shared_ptr< NullBrushNullBrushSharedPtr
 
typedef shared_ptr< TextureBrushTextureBrushSharedPtr
 Shared pointer definition. More...
 
typedef shared_ptr< BlitRenderPassBlitRenderPassSharedPtr
 BlitRenderPass shared pointer type. More...
 
typedef shared_ptr< ClearRenderPassClearRenderPassSharedPtr
 ClearRenderPass shared pointer type. More...
 
typedef shared_ptr< CompositionTargetRenderPassCompositionTargetRenderPassSharedPtr
 LegacyRenderpass shared pointer type. More...
 
typedef shared_ptr< DrawObjectsRenderPassDrawObjectsRenderPassSharedPtr
 DrawObjectsRenderPass shared pointer type. More...
 
typedef shared_ptr< DrawObjectsWithMaterialRenderPassDrawObjectsWithMaterialRenderPassSharedPtr
 DrawObjectsWithMaterialRenderPass shared pointer type. More...
 
typedef vector< MeshVertexAttributeMeshAttributeCollection
 
typedef MeshAttributeCollection::iterator MeshAttributeCollectionIterator
 
typedef MeshAttributeCollection::const_iterator MeshAttributeCollectionConstIterator
 
typedef vector< ShaderVertexAttributeShaderAttributeCollection
 
typedef ShaderAttributeCollection::iterator ShaderAttributeCollectionIterator
 
typedef ShaderAttributeCollection::const_iterator ShaderAttributeCollectionConstIterator
 
typedef shared_ptr< KzuContainsPropertyFilterContainsPropertyFilterSharedPtr
 
typedef shared_ptr< KzuObjectSourceObjectSourceSharedPtr
 
typedef shared_ptr< KzuFilterObjectSourceFilterObjectSourceSharedPtr
 
typedef shared_ptr< KzuSortObjectSourceSortObjectSourceSharedPtr
 
typedef shared_ptr< KzuCombinerObjectSourceCombinerObjectSourceSharedPtr
 
typedef shared_ptr< KzuObjectTypeFilterObjectTypeFilterSharedPtr
 
typedef shared_ptr< KzuPropertyIsEqualFilterPropertyIsEqualFilterSharedPtr
 
typedef shared_ptr< KzuTagFilterTagFilterSharedPtr
 
typedef shared_ptr< LegacyRenderPassLegacyRenderPassSharedPtr
 LegacyRenderpass shared pointer type. More...
 
typedef shared_ptr< MaterialMaterialSharedPtr
 
typedef shared_ptr< Material const > MaterialSharedConstPtr
 
typedef shared_ptr< MeshMaeshSharedPtr
 
typedef unique_ptr< MaterialRendererMaterialRendererPtr
 MaterialRenderer unique pointer type. More...
 
typedef shared_ptr< MaterialSetupRenderPassMaterialSetupRenderPassSharedPtr
 MaterialSetupRenderPass shared pointer type. More...
 
typedef shared_ptr< MeshMeshSharedPtr
 
typedef shared_ptr< Morph const > MorphSharedConstPtr
 
typedef shared_ptr< MorphMorphSharedPtr
 
typedef weak_ptr< ShaderProgramShaderProgramWeakPtr
 Shader program weak pointer type. More...
 
typedef shared_ptr< MorphRuntimeMorphRuntimeSharedPtr
 
typedef shared_ptr< PipelineStateRenderPassPipelineStateRenderPassSharedPtr
 PipelineStateRenderPass shared pointer type. More...
 
typedef shared_ptr< RenderPassRenderPassSharedPtr
 RenderPass shared pointer type. More...
 
typedef shared_ptr< ClickManipulatorClickManipulatorSharedPtr
 
typedef shared_ptr< DragAndDropManipulatorDragAndDropManipulatorSharedPtr
 
typedef shared_ptr< EventSourceEventSourceSharedPtr
 
typedef shared_ptr< InputManipulatorInputManipulatorSharedPtr
 
typedef weak_ptr< InputManipulatorInputManipulatorWeakPtr
 
typedef shared_ptr< LongPressManipulatorLongPressManipulatorSharedPtr
 
typedef shared_ptr< MoveFocusActionMoveFocusActionSharedPtr
 
typedef shared_ptr< MultiClickManipulatorMultiClickManipulatorSharedPtr
 
typedef shared_ptr< PanManipulatorPanManipulatorSharedPtr
 
typedef shared_ptr< PinchManipulatorPinchManipulatorSharedPtr
 
typedef shared_ptr< SetFocusActionSetFocusActionSharedPtr
 
typedef shared_ptr< ObjectObjectSharedPtr
 Object shared pointer type. More...
 
typedef unordered_set< string > UrlContainer
 
typedef function< void(const TimerMessageArguments &)> TimerFunction
 
typedef shared_ptr< void > TimerSubscriptionToken
 
typedef shared_ptr< CameraCameraSharedPtr
 CameraNode shared pointer. More...
 
typedef shared_ptr< EmptyNode2DEmptyNode2DSharedPtr
 
typedef shared_ptr< EmptyNode3DEmptyNode3DSharedPtr
 
typedef shared_ptr< Image2DImage2DSharedPtr
 
typedef shared_ptr< Instantiator3DInstantiator3DSharedPtr
 Instantiator3DNode shared pointer. More...
 
typedef shared_ptr< LightLightSharedPtr
 
typedef shared_ptr< LevelOfDetail3DLevelOfDetail3DSharedPtr
 LODSelectorNode shared pointer. More...
 
typedef shared_ptr< Model3DModel3DSharedPtr
 Mesh node shared pointer. More...
 
typedef shared_ptr< NodeComponentNodeComponentSharedPtr
 
typedef shared_ptr< ResourceDictionaryResourceDictionarySharedPtr
 Resource dictionary shared pointer. More...
 
typedef shared_ptr< void > ScriptingContextSharedPtr
 
typedef shared_ptr< Node const > NodeConstSharedPtr
 Alias for shared pointer of const Node. More...
 
typedef weak_ptr< NodeNodeWeakPtr
 Alias for weak pointer of Node. More...
 
typedef weak_ptr< Node const > NodeConstWeakPtr
 Alias for weak pointer of const Node. More...
 
typedef shared_ptr< Node2DNode2DSharedPtr
 
typedef shared_ptr< Node2D const > Node2DConstSharedPtr
 
typedef weak_ptr< Node2DNode2DWeakPtr
 
typedef shared_ptr< Node3DNode3DSharedPtr
 Node3D shared pointer type. More...
 
typedef shared_ptr< const Node3DNode3DConstSharedPtr
 Node3D const shared pointer type. More...
 
typedef weak_ptr< Node3DNode3DWeakPtr
 Node3D weak pointer type. More...
 
typedef shared_ptr< PortalPortalSharedPtr
 
typedef shared_ptr< ProgressiveRenderingViewport2DProgressiveRenderingViewport2DSharedPtr
 
typedef shared_ptr< SceneSceneSharedPtr
 Scene shared pointer. More...
 
typedef weak_ptr< CameraCameraWeakPtr
 CameraNode weak pointer. More...
 
typedef shared_ptr< Viewport2DViewport2DSharedPtr
 
typedef shared_ptr< Viewport3DViewport3DSharedPtr
 
typedef shared_ptr< NodeComponent const > NodeComponentConstSharedPtr
 
typedef shared_ptr< StyleStyleSharedPtr
 
typedef shared_ptr< AppliedStyleEntryAppliedStyleEntrySharedPtr
 AppliedStyleEntry shared pointer type. More...
 
typedef unique_ptr< CompositionStackCompositionStackPtr
 Composition stack shared pointer. More...
 
typedef unique_ptr< GeometryGlGeometryPtr
 Geometry pointer type. More...
 
typedef shared_ptr< GlGraphicsOutputGlGraphicsOutputSharedPtr
 GlGraphicsOutput shared pointer type. More...
 
typedef weak_ptr< TextureTextureWeakPtr
 
typedef array< int, 4 > GLSwizzleMask
 
typedef shared_ptr< const MeshMeshConstSharedPtr
 
typedef shared_ptr< BufferBufferSharedPtr
 
typedef unique_ptr< BufferBufferUniquePtr
 
typedef unordered_map< ShaderProgram *, vector< int > > ShaderProgramToAttributeMapSet
 
typedef unique_ptr< RenderStatePropertyNotificationHandlerRenderStatePropertyNotificationHandlerPtr
 Render state property container shared pointer. More...
 
typedef shared_ptr< RenderbufferRenderbufferSharedPtr
 Renderbuffer shared pointer type. More...
 
typedef Rectangle< int > ViewportRectangle
 Viewport rectangle definition. More...
 
typedef map< string, int > AttributeNameToIndex
 
typedef AttributeNameToIndex::iterator AttributeNameToIndexIterator
 
typedef AttributeNameToIndex::const_iterator AttributeNameToIndexConstIterator
 
typedef shared_ptr< RendererRendererSharedPtr
 
typedef shared_ptr< BufferObjectStreamBufferObjectStreamSharedPtr
 
typedef shared_ptr< SurfaceSurfaceSharedPtr
 Surface shared pointer type. More...
 
typedef int NativeEventHandle
 
typedef weak_ptr< ResourceResourceWeakPtr
 
typedef shared_ptr< ResourceDictionarySelectorResourceDictionarySelectorSharedPtr
 Resource dictionary selector shared pointer. More...
 
typedef shared_ptr< KzbFileKzbFileSharedPtr
 
typedef shared_ptr< ResourceManagerResourceManagerSharedPtr
 Resource manager shared pointer type. More...
 
typedef unique_ptr< ResourceProfilerResourceProfilerUniquePtr
 The resource profiler unique ptr type. More...
 
typedef shared_ptr< ResourceProfilingContextResourceProfilingContextSharedPtr
 
typedef unique_ptr< ResourceProfilingContextFactoryResourceProfilingContextFactoryUniquePtr
 The resource profiling context factory unique pointer type. More...
 
typedef shared_ptr< ResourceProfilingDataSampleResourceProfilingDataSampleSharedPtr
 Profiled resource shared pointer type. More...
 
typedef shared_ptr< ResourceProfilingLoadTaskProfiledLoadTaskSharedPtr
 Profiled load task shared pointer type. More...
 
typedef shared_ptr< TrajectoryTrajectorySharedPtr
 
typedef shared_ptr< StateManagerStateManagerSharedPtr
 
typedef weak_ptr< StateManagerStateManagerWeakPtr
 
typedef shared_ptr< NodeComponentTemplateNodeComponentTemplateSharedPtr
 
typedef shared_ptr< NodeComponentTemplate const > NodeComponentTemplateConstSharedPtr
 
typedef shared_ptr< PrefabTemplatePrefabTemplateSharedPtr
 
typedef shared_ptr< PrefabTemplateNodePrefabTemplateNodeSharedPtr
 
typedef weak_ptr< PrefabTemplateNodePrefabTemplateNodeWeakPtr
 
typedef shared_ptr< KzuTextFormat > TextFormatSharedPtr
 Text format shared pointer. More...
 
typedef shared_ptr< MessageTriggerMessageTriggerSharedPtr
 
typedef shared_ptr< OnAttachedTriggerOnAttachedTriggerSharedPtr
 
typedef shared_ptr< OnPropertyChangedTriggerOnPropertyChangedTriggerSharedPtr
 
typedef shared_ptr< TimerTriggerTimerTriggerSharedPtr
 
typedef shared_ptr< TriggerTriggerSharedPtr
 
typedef shared_ptr< TriggerTemplateTriggerTemplateSharedPtr
 
typedef shared_ptr< TriggerTemplate const > TriggerTemplateConstSharedPtr
 
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< ExecuteScriptActionExecuteScriptActionSharedPtr
 
typedef shared_ptr< Button2DButton2DSharedPtr
 
typedef shared_ptr< Button3DButton3DSharedPtr
 Button shared pointer. More...
 
typedef shared_ptr< DataSourceListItemGenerator2DDataSourceListItemGenerator2DSharedPtr
 
typedef shared_ptr< DataSourceListItemGenerator3DDataSourceListItemGenerator3DSharedPtr
 
typedef function< void()> PropertyChangedFunction
 
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< ListBoxItemContainer3DListBoxItemContainer3DSharedPtr
 
typedef shared_ptr< ListBoxItemContainer2DListBoxItemContainer2DSharedPtr
 
typedef shared_ptr< NinePatchImage2DNinePatchImage2DSharedPtr
 
typedef shared_ptr< PagePageSharedPtr
 
typedef weak_ptr< PagePageWeakPtr
 
typedef shared_ptr< PageHostPageHostSharedPtr
 
typedef shared_ptr< PageTransitionCollectionPageTransitionCollectionSharedPtr
 
typedef shared_ptr< PrefabView2DPrefabView2DSharedPtr
 Prefab view 2D shared pointer. More...
 
typedef shared_ptr< PrefabView3DPrefabView3DSharedPtr
 Prefab view 3D shared pointer. More...
 
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, Slider2DSlider2DConceptImplType
 
typedef shared_ptr< Slider3DSlider3DSharedPtr
 Trajectory Slider shared pointer. More...
 
typedef SliderTrajectoryPresenter< TrajectoryLayout3D, Slider3D, Trajectory3DInputHandler< TrajectoryLayout3D, Slider3D > > Slider3DPresenterType
 
typedef Slider3DConceptImpl< RangeConceptImpl< Node3D, Slider3D >, Slider3DPresenterType, Slider3DSlider3DConceptImplType
 
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< ToggleButton2DToggleButton2DSharedPtr
 
typedef shared_ptr< ToggleButton3DToggleButton3DSharedPtr
 ToggleButton shared pointer. More...
 
typedef shared_ptr< ToggleButtonGroup2DToggleButtonGroup2DSharedPtr
 ToggleButtonGroup2D shared pointer. More...
 
typedef shared_ptr< ToggleButtonGroup3DToggleButtonGroup3DSharedPtr
 ToggleButtonGroup3D shared pointer. More...
 
typedef shared_ptr< TrajectoryLayout2DTrajectoryLayout2DSharedPtr
 TrajectoryLayout shared pointer. More...
 
typedef shared_ptr< TrajectoryLayout3DTrajectoryLayout3DSharedPtr
 TrajectoryLayout shared pointer. More...
 
typedef shared_ptr< TrajectoryListBox3DTrajectoryListBox3DSharedPtr
 

Enumerations

enum  LogLevel { LogLevelError, LogLevelWarning, LogLevelInfo, LogLevelTrace }
 The log levels. More...
 
enum  MessageRouting { MessageRoutingTunnelingBubbling, MessageRoutingTunneling, MessageRoutingBubbling, MessageRoutingDirect }
 Message routing modes. More...
 
enum  PropertyTypeChangeFlag {
  PropertyTypeChangeFlagFinalTransformation, PropertyTypeChangeFlagMeasure, PropertyTypeChangeFlagParentMeasure, PropertyTypeChangeFlagArrange,
  PropertyTypeChangeFlagRender, PropertyTypeChangeFlagDraw, PropertyTypeChangeFlagConstraint
}
 Each property type has a set of property change flags that indicate what kind of effects changing the property has. More...
 
enum  PropertyNotificationReason { PropertyNotificationReasonChanged, PropertyNotificationReasonRemoved }
 Property notification reason. More...
 
enum  PropertyValuePrecedence { PropertyValuePrecedenceClass, PropertyValuePrecedenceStyle, PropertyValuePrecedenceStateManager, PropertyValuePrecedenceLocal }
 Property value precedence. More...
 
enum  PropertyDataType {
  PropertyDataTypeFloat, PropertyDataTypeInt, PropertyDataTypeBool, PropertyDataTypeColor,
  PropertyDataTypeVector2, PropertyDataTypeVector3, PropertyDataTypeVector4, PropertyDataTypeMatrix3x3,
  PropertyDataTypeMatrix4x4, PropertyDataTypeString, PropertyDataTypePointer, PropertyDataTypeResource,
  PropertyDataTypeSRT2D, PropertyDataTypeSRT3D
}
 Enumeration of data types that can be stored as properties. More...
 
enum  PropertyField {
  PropertyFieldWhole, PropertyFieldTranslationX, PropertyFieldTranslationY, PropertyFieldTranslationZ,
  PropertyFieldScaleX, PropertyFieldScaleY, PropertyFieldScaleZ, PropertyFieldRotationX,
  PropertyFieldRotationY, PropertyFieldRotationZ, PropertyFieldColorR, PropertyFieldColorG,
  PropertyFieldColorB, PropertyFieldColorA, PropertyFieldVectorX, PropertyFieldVectorY,
  PropertyFieldVectorZ, PropertyFieldVectorW, PropertyFieldRotation
}
 Property field. More...
 
enum  ActionArgumentType { ActionArgumentTypeValue, ActionArgumentTypeMessageArgument, ActionArgumentTypeObjectProperty, ActionArgumentTypeValueReference }
 Action binding type. More...
 
enum  AnimationEasingMode { AnimationEaseIn, AnimationEaseOut, AnimationEaseInOut }
 
enum  KzuTimeLineEntryPlaybackMode { KZU_TIME_LINE_ENTRY_PLAYBACK_MODE_NORMAL, KZU_TIME_LINE_ENTRY_PLAYBACK_MODE_REVERSE, KZU_TIME_LINE_ENTRY_PLAYBACK_MODE_PINGPONG }
 Playback type of the timeline. More...
 
enum  KzuPropertyBinaryDataType { KZU_BINARY_DATA_TYPE_FLOAT, KZU_BINARY_DATA_TYPE_TEXTURE, KZU_BINARY_DATA_TYPE_MATRIX4X4 }
 Binary container type. More...
 
enum  KzuPropertyBinaryTargetAttribute {
  KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_X, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_Y, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_Z, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_X,
  KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_Y, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_Z, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_Z, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_Y,
  KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_X, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_WHOLE_PROPERTY, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_R, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_G,
  KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_B, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_A, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_X, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_Y,
  KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_Z, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_W, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE, KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION,
  KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION
}
 Binary target attribute type. More...
 
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_REMAINDER,
  KZU_EXPRESSION_VALIDATOR_OPERATION_CREATE_ROTATION, KZU_EXPRESSION_VALIDATOR_OPERATION_CREATE_ROTATION_X, KZU_EXPRESSION_VALIDATOR_OPERATION_CREATE_ROTATION_Y, KZU_EXPRESSION_VALIDATOR_OPERATION_CREATE_ROTATION_Z,
  KZU_EXPRESSION_VALIDATOR_OPERATION_ROTATE, KZU_EXPRESSION_VALIDATOR_OPERATION_ROTATE_X, KZU_EXPRESSION_VALIDATOR_OPERATION_ROTATE_Y, KZU_EXPRESSION_VALIDATOR_OPERATION_ROTATE_Z,
  KZU_EXPRESSION_VALIDATOR_OPERATION_EXTRACT_EULER_X, KZU_EXPRESSION_VALIDATOR_OPERATION_EXTRACT_EULER_Y, KZU_EXPRESSION_VALIDATOR_OPERATION_EXTRACT_EULER_Z, 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  ImageResizeFilter { ResizeFilterNearestNeighbor, ResizeFilterBilinear, ResizeFilterWeightedAverage }
 Image resizing filter methods. More...
 
enum  FontHintingPreference { FontHintingPreferenceNoHinting, FontHintingPreferenceNativeHinting, FontHintingPreferenceAutoHinting }
 Font hinting options. More...
 
enum  GraphicsElementType { GraphicsElementTypeUINT, GraphicsElementTypeSINT, GraphicsElementTypeFLOAT }
 GraphicsElementType is used to specify type of element of data consumed by shaders. More...
 
enum  GraphicsDataType {
  GraphicsDataTypeNone, GraphicsDataTypeUNORM8, GraphicsDataTypeSNORM8, GraphicsDataTypeUNORM16,
  GraphicsDataTypeSNORM16, GraphicsDataTypeUNORM32, GraphicsDataTypeSNORM32, GraphicsDataTypeUNORM_PACK16_5_6_5,
  GraphicsDataTypeCOMPRESSED, GraphicsDataTypeUINT8, GraphicsDataTypeSINT8, GraphicsDataTypeUINT16,
  GraphicsDataTypeSINT16, GraphicsDataTypeUINT32, GraphicsDataTypeSINT32, GraphicsDataTypeSFLOAT16,
  GraphicsDataTypeSFLOAT32, GraphicsDataTypeUNORM24, GraphicsDataTypeUNORM24_UINT8, GraphicsDataTypeUNORM_PACK32_2_10_10_10,
  GraphicsDataTypeSNORM_PACK32_2_10_10_10, GraphicsDataTypeNative
}
 GraphicsDataType is used to specify type of data in textures and vertex buffers. More...
 
enum  GraphicsFormat {
  GraphicsFormatNone, GraphicsFormatLUMINANCE8_UNORM, GraphicsFormatALPHA8_UNORM, GraphicsFormatLUMINANCE8_ALPHA8_UNORM,
  GraphicsFormatR8_UNORM, GraphicsFormatR8_UINT, GraphicsFormatR8_SINT, GraphicsFormatR8G8_UNORM,
  GraphicsFormatR8G8_UINT, GraphicsFormatR8G8_SINT, GraphicsFormatR8G8B8_UNORM, GraphicsFormatR8G8B8_SRGB,
  GraphicsFormatR8G8B8_UINT, GraphicsFormatR8G8B8_SINT, GraphicsFormatR8G8B8A8_UNORM, GraphicsFormatR8G8B8A8_SRGB,
  GraphicsFormatR8G8B8A8_UINT, GraphicsFormatR8G8B8A8_SINT, GraphicsFormatR16_UINT, GraphicsFormatR16_SINT,
  GraphicsFormatR16_SFLOAT, GraphicsFormatR16G16_UINT, GraphicsFormatR16G16_SINT, GraphicsFormatR16G16_SFLOAT,
  GraphicsFormatR16G16B16_UINT, GraphicsFormatR16G16B16_SINT, GraphicsFormatR16G16B16_SFLOAT, GraphicsFormatR16G16B16A16_UINT,
  GraphicsFormatR16G16B16A16_SINT, GraphicsFormatR16G16B16A16_SFLOAT, GraphicsFormatR5G6B5_UNORM_PACK16, 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, GraphicsFormatD16_UNORM, GraphicsFormatD24_UNORM,
  GraphicsFormatD32_SFLOAT, GraphicsFormatD24_UNORM_S8_UINT, GraphicsFormatS8_UINT, GraphicsFormatASTC_4x4_UNORM_BLOCK,
  GraphicsFormatASTC_4x4_SRGB_BLOCK, GraphicsFormatASTC_5x4_UNORM_BLOCK, GraphicsFormatASTC_5x4_SRGB_BLOCK, GraphicsFormatASTC_5x5_UNORM_BLOCK,
  GraphicsFormatASTC_5x5_SRGB_BLOCK, GraphicsFormatASTC_6x5_UNORM_BLOCK, GraphicsFormatASTC_6x5_SRGB_BLOCK, GraphicsFormatASTC_6x6_UNORM_BLOCK,
  GraphicsFormatASTC_6x6_SRGB_BLOCK, GraphicsFormatASTC_8x5_UNORM_BLOCK, GraphicsFormatASTC_8x5_SRGB_BLOCK, GraphicsFormatASTC_8x6_UNORM_BLOCK,
  GraphicsFormatASTC_8x6_SRGB_BLOCK, GraphicsFormatASTC_8x8_UNORM_BLOCK, GraphicsFormatASTC_8x8_SRGB_BLOCK, GraphicsFormatASTC_10x5_UNORM_BLOCK,
  GraphicsFormatASTC_10x5_SRGB_BLOCK, GraphicsFormatASTC_10x6_UNORM_BLOCK, GraphicsFormatASTC_10x6_SRGB_BLOCK, GraphicsFormatASTC_10x8_UNORM_BLOCK,
  GraphicsFormatASTC_10x8_SRGB_BLOCK, GraphicsFormatASTC_10x10_UNORM_BLOCK, GraphicsFormatASTC_10x10_SRGB_BLOCK, GraphicsFormatASTC_12x10_UNORM_BLOCK,
  GraphicsFormatASTC_12x10_SRGB_BLOCK, GraphicsFormatASTC_12x12_UNORM_BLOCK, GraphicsFormatASTC_12x12_SRGB_BLOCK, GraphicsFormatALPHA1_LUMINANCE7_UNORM,
  GraphicsFormatALPHA4_LUMINANCE4_UNORM, GraphicsFormatALPHA8_LUMINANCE8_UNORM, GraphicsFormatALPHALUMINANCE1_UNORM, GraphicsFormatALPHALUMINANCE2_UNORM,
  GraphicsFormatALPHALUMINANCE4_UNORM, GraphicsFormatALPHALUMINANCE8_UNORM, GraphicsFormatA1R5G5B5_UNORM, GraphicsFormatR5G5B5A1_UNORM,
  GraphicsFormatA4R4G4B4_UNORM, GraphicsFormatR4G4B4A4_UNORM, GraphicsFormatA8R8G8B8_UNORM, GraphicsFormatCLUT8_UINT,
  GraphicsFormatCLUT4_UINT, GraphicsFormatCLUT2_UINT, GraphicsFormatCLUT1_UINT, GraphicsFormatR8_SNORM,
  GraphicsFormatR32_UINT, GraphicsFormatR32_SINT, GraphicsFormatR32_SFLOAT, GraphicsFormatR8G8_SNORM,
  GraphicsFormatR32G32_UINT, GraphicsFormatR32G32_SINT, GraphicsFormatR32G32_SFLOAT, GraphicsFormatR8G8B8_SNORM,
  GraphicsFormatR32G32B32_UINT, GraphicsFormatR32G32B32_SINT, GraphicsFormatR32G32B32_SFLOAT, GraphicsFormatR8G8B8A8_SNORM,
  GraphicsFormatR32G32B32A32_UINT, GraphicsFormatR32G32B32A32_SINT, GraphicsFormatR32G32B32A32_SFLOAT, GraphicsFormatR16_UNORM,
  GraphicsFormatR16_SNORM, GraphicsFormatR16G16_UNORM, GraphicsFormatR16G16_SNORM, GraphicsFormatR16G16B16_UNORM,
  GraphicsFormatR16G16B16_SNORM, GraphicsFormatR16G16B16A16_UNORM, GraphicsFormatR16G16B16A16_SNORM, GraphicsFormatGlRangeBegin,
  GraphicsFormatGlRangeEnd, GraphicsFormatR_DRW2D_PIXELFORMAT_ALPHA8, GraphicsFormatR_DRW2D_PIXELFORMAT_LUM8, GraphicsFormatR_DRW2D_PIXELFORMAT_AL17,
  GraphicsFormatR_DRW2D_PIXELFORMAT_AL44, GraphicsFormatR_DRW2D_PIXELFORMAT_AL88, GraphicsFormatR_DRW2D_PIXELFORMAT_AL1, GraphicsFormatR_DRW2D_PIXELFORMAT_AL2,
  GraphicsFormatR_DRW2D_PIXELFORMAT_AL4, GraphicsFormatR_DRW2D_PIXELFORMAT_AL8, GraphicsFormatR_DRW2D_PIXELFORMAT_RGB565, GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB1555,
  GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA5551, GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB4444, GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA4444, GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB8888,
  GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA8888, GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_8, GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_4, GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_2,
  GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_1, GraphicsFormatFullRangeBegin, GraphicsFormatFullRangeEnd
}
 GraphicsFormat specifies format of graphics data used for example in textures and vertex attributes. More...
 
enum  GraphicsClearTarget {
  GraphicsClearTargetColor0, GraphicsClearTargetColor1, GraphicsClearTargetColor2, GraphicsClearTargetColor3,
  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, GraphicsCompareFunctionAlways, GraphicsCompareFunctionLess, GraphicsCompareFunctionLessOrEqual,
  GraphicsCompareFunctionGreater, GraphicsCompareFunctionGreaterOrEqual, GraphicsCompareFunctionEqual, GraphicsCompareFunctionNotEqual,
  GraphicsCompareFunctionDisabled
}
 Renderer stencil modes. More...
 
enum  GraphicsStencilOperation {
  GraphicsStencilOperationKeep, GraphicsStencilOperationZero, GraphicsStencilOperationReplace, GraphicsStencilOperationIncrement,
  GraphicsStencilOperationIncrementWrap, GraphicsStencilOperationDecrement, GraphicsStencilOperationDecrementWrap, 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  GraphicsFormatFeature {
  GraphicsFormatFeatureRenderbuffer, GraphicsFormatFeatureSampledImage, GraphicsFormatFeatureSampledImageFilterLinear, GraphicsFormatFeatureColorAttachment,
  GraphicsFormatFeatureColorAttachmentBlend, GraphicsFormatFeatureDepthStencilAttachment, GraphicsFormatFeatureBlitSource, GraphicsFormatFeatureBlitDestination,
  GraphicsFormatFeatureVertexBuffer, GraphicsFormatFeatureUniformTexelBuffer, GraphicsFormatFeatureStorageTexelBuffer, GraphicsFormatFeatureStorageTexelBufferAtomic,
  GraphicsFormatFeatureStorageImage, GraphicsFormatFeatureStorageImageAtomic, GraphicsFormatFeatureRenderbufferMask, GraphicsFormatFeatureTextureMask
}
 How GraphicsFormat is used. 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  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  KzbProgramType { KzbProgramTypeSeparate, KzbProgramTypeCombined }
 
enum  KzbTextureType {
  KzbTextureTypeOneDimensional, KzbTextureTypeTwoDimensional, KzbTextureTypeThreeDimensional, KzbTextureTypeCubeMap,
  KzbTextureTypeRenderTarget, KzbTextureTypeGenerated, KzbTextureTypeRenderTargetCubeMap, KzbTextureTypeMultiRenderTarget,
  KzbTextureTypeDepthRenderTarget
}
 
enum  KzbTextureFormat {
  KzbTextureFormatRGB_8, KzbTextureFormatRGBA_8, KzbTextureFormatRGB_FLOAT_16, KzbTextureFormatRGBA_FLOAT_16,
  KzbTextureFormatRGB_FLOAT_32, KzbTextureFormatRGBA_FLOAT_32, KzbTextureFormatALPHA_8, KzbTextureFormatALPHA_FLOAT_16,
  KzbTextureFormatALPHA_FLOAT_32, KzbTextureFormatRGB_565, KzbTextureFormatGRAYSCALE_8, KzbTextureFormatGRAYSCALE_ALPHA_8,
  KzbTextureFormatAUTOMATIC, KzbTextureFormatR8_UNORM, KzbTextureFormatR8_UINT, KzbTextureFormatR8_SINT,
  KzbTextureFormatR8G8_UNORM, KzbTextureFormatR8G8_UINT, KzbTextureFormatR8G8_SINT, KzbTextureFormatR8G8B8A8_UINT,
  KzbTextureFormatR8G8B8A8_SINT, KzbTextureFormatR16_UINT, KzbTextureFormatR16_SINT, KzbTextureFormatR16_SFLOAT,
  KzbTextureFormatR16G16_UINT, KzbTextureFormatR16G16_SINT, KzbTextureFormatR16G16_SFLOAT, KzbTextureFormatR16G16B16A16_UINT,
  KzbTextureFormatR16G16B16A16_SINT, KzbTextureFormatA2B10G10R10_UNORM_PACK32, KzbTextureFormatA2B10G10R10_UINT_PACK32, KzbTextureFormatSRGB_R8G8B8_UNORM,
  KzbTextureFormatSRGB_R8G8B8A8_UNORM, KzbTextureFormatR8_SNORM, KzbTextureFormatR32_UINT, KzbTextureFormatR32_SINT,
  KzbTextureFormatR32_SFLOAT, KzbTextureFormatR8G8_SNORM, KzbTextureFormatR32G32_UINT, KzbTextureFormatR32G32_SINT,
  KzbTextureFormatR32G32_SFLOAT, KzbTextureFormatR8G8B8_SNORM, KzbTextureFormatR32G32B32_UINT, KzbTextureFormatR32G32B32_SINT,
  KzbTextureFormatR8G8B8A8_SNORM, KzbTextureFormatR32G32B32A32_UINT, KzbTextureFormatR32G32B32A32_SINT, KzbTextureFormatR16G16B16_UINT,
  KzbTextureFormatR16G16B16_SINT, KzbTextureFormatR16_UNORM, KzbTextureFormatR16_SNORM, KzbTextureFormatR16G16_UNORM,
  KzbTextureFormatR16G16_SNORM, KzbTextureFormatR16G16B16_UNORM, KzbTextureFormatR16G16B16_SNORM, KzbTextureFormatR16G16B16A16_UNORM,
  KzbTextureFormatR16G16B16A16_SNORM, KzbTextureFormatSPANSION_A8R8G8B8, KzbTextureFormatSPANSION_R8G8B8, KzbTextureFormatSPANSION_R6G6B6,
  KzbTextureFormatSPANSION_R5G6B5, KzbTextureFormatSPANSION_A4R4G4B4, KzbTextureFormatSPANSION_A1R5G5B5, KzbTextureFormatSPANSION_A8PAL8,
  KzbTextureFormatSPANSION_A8, KzbTextureFormatSPANSION_PAL8, KzbTextureFormatSPANSION_PAL4, KzbTextureFormatSPANSION_A4,
  KzbTextureFormatSPANSION_A1, KzbTextureFormatDEPTH_COMPONENT, KzbTextureFormatDEPTH_COMPONENT_16, KzbTextureFormatDEPTH_COMPONENT_24,
  KzbTextureFormatDEPTH_COMPONENT_32, KzbTextureFormatDEPTH_COMPONENT_32F, KzbTextureFormatDEPTH_24_STENCIL_8, KzbTextureFormatSTENCIL_8
}
 
enum  KzbTextureFilter { KzbTextureFilterNearest, KzbTextureFilterLinear }
 
enum  KzbTextureMipmapMode { KzbTextureMipmapModeBase, KzbTextureMipmapModeNearest, KzbTextureMipmapModeLinear }
 
enum  KzbTextureWrapMode { KzbTextureWrapModeRepeat, KzbTextureWrapModeClamp }
 

Functions

template<typename T , size_t Size, typename U >
bool contains (const array< T, Size > &c, const U &value)
 
template<class T , class D >
prev (T t, D d)
 
template<class T >
prev (T t)
 
template<class T >
T::iterator begin (T &t)
 
template<class T >
T::iterator end (T &t)
 
template<class T >
T::reverse_iterator rbegin (T &t)
 
template<class T >
T::reverse_iterator rend (T &t)
 
template<class T >
T::const_iterator cbegin (T const &t)
 
template<class T , size_t N>
const T * cbegin (const T(&array)[N])
 
template<class T >
T::const_iterator cend (T const &t)
 
template<class T , size_t N>
const T * cend (const T(&array)[N])
 
template<class T >
T::const_reverse_iterator crbegin (T const &t)
 
template<class T >
T::const_reverse_iterator crend (T const &t)
 
template<typename TBase , typename T >
shared_ptr< T > make_polymorphic_shared_ptr (T *p)
 
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)
 
float strtof (const char *val, char **end_ptr)
 
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)
 
from_chars_result from_chars (const char *first, const char *last, int &value, int base=10)
 Converts character range to int value. More...
 
template<typename T , typename A , typename U >
void erase (vector< T, A > &c, const U &value)
 
template<typename T , typename A , typename U >
void erase_if (vector< T, A > &c, const U &predicate)
 
template<typename T , typename A , typename U >
bool contains (const vector< T, A > &c, const U &value)
 
KANZI_API kzString kzErrorCodeToString (kzsError code)
 
template<>
string logArgumentToString (const LegacyError &legacyError)
 Used by logging system to convert legacy exception type objects to string. More...
 
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 string readAsText (File &file)
 Loads contents of a file into a string. More...
 
template<typename T >
string logArgumentToString (const T &value)
 The logging subsystem uses this function to convert a value to string. More...
 
template<>
string logArgumentToString (const std::exception &exception)
 Used by logging system to convert standard exception type objects to string. More...
 
template<>
string logArgumentToString (const FixedString &fixedString)
 Used by logging system to convert fixed strings to string. More...
 
template<>
string logArgumentToString (const ImmutableString &immutableString)
 Used by logging system to convert immutable strings to string. More...
 
template<>
string logArgumentToString (const SharedImmutableString &sharedImmutableString)
 Used by logging system to convert shared immutable strings to string. More...
 
template<>
string logArgumentToString (const string_view &stringView)
 Used by logging system to convert string_view to string. More...
 
template<>
string logArgumentToString (const bool &value)
 Used by logging system to convert bool to string. More...
 
ColorRGBA componentAbs (ColorRGBA v)
 Calculates component wise absolute value for all elements and returns resulting color. More...
 
ColorRGBA componentCeil (ColorRGBA v)
 Calculates component wise ceil value for all elements and returns resulting color. More...
 
ColorRGBA componentFloor (ColorRGBA v)
 Calculates component wise floor value for all elements and returns resulting color. More...
 
ColorRGBA componentRound (ColorRGBA v)
 Calculates component wise rounded value for all elements and returns resulting color. More...
 
ColorRGBA componentSqrt (ColorRGBA v)
 Calculates component wise square root all elements and returns resulting color. More...
 
ColorRGBA componentWiseMax (ColorRGBA v1, ColorRGBA v2)
 Calculates component wise maximum for all color elements and returns the resulting color. More...
 
ColorRGBA componentWiseMin (ColorRGBA v1, ColorRGBA v2)
 Calculates component wise minimum for all color elements and returns resulting color. More...
 
ColorRGBA componentWiseMultiply (ColorRGBA v1, ColorRGBA v2)
 Does component wise multiply for all color elements and returns resulting color. More...
 
ColorRGBA componentWiseDivide (ColorRGBA v1, ColorRGBA v2)
 Does component wise divide for all color elements and returns the resulting color. More...
 
ColorRGBA componentWiseRemainder (ColorRGBA v1, ColorRGBA v2)
 Does component wise remainder for all color elements and returns the resulting color. More...
 
ColorRGBA componentAdd (ColorRGBA v, float scalar)
 Adds a value to all color elements and returns the resulting color. More...
 
ColorRGBA componentSubtract (ColorRGBA v, float scalar)
 Subtracts a value from 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...
 
float sRGBToLinear (float cs)
 Conversion from sRGB to linear for default gamma 2.2. More...
 
float linearTosRGB (float cl)
 Conversion from linear to sRGB for default gamma 2.2. More...
 
ColorRGBA sRGBToLinear (ColorRGBA cs)
 Conversion to whole ColorRGBA from sRGB to linear. More...
 
ColorRGBA linearTosRGB (ColorRGBA cs)
 Conversion to whole ColorRGBA from linear to sRGB. More...
 
KANZI_API uint16_t floatToHalfFloat (float f)
 Converts float to 16 bits representing a half float. More...
 
KANZI_API float halfFloatToFloat (uint16_t halfFloatNumber)
 Converts 16 bits representing a half float to a float. 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 multiplyAffine (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)
 
template<typename T >
Rectangle< T > intersection (const Rectangle< T > &rectangle1, const Rectangle< T > &rectangle2)
 
Vector2 componentAbs (Vector2 v)
 Calculates component wise absolute value for all elements and returns resulting vector. More...
 
Vector2 componentCeil (Vector2 v)
 Calculates component wise ceil value for all elements and returns resulting vector. More...
 
Vector2 componentFloor (Vector2 v)
 Calculates component wise floor value for all elements and returns resulting vector. More...
 
Vector2 componentRound (Vector2 v)
 Calculates component wise rounded value for all elements and returns resulting vector. More...
 
Vector2 componentSqrt (Vector2 v)
 Calculates component wise square root all elements and returns resulting vector. More...
 
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 componentWiseRemainder (Vector2 v1, Vector2 v2)
 Does component wise remainder for all vector elements and returns the resulting vector. More...
 
Vector2 componentAdd (Vector2 v, float scalar)
 Adds a value to all elements of a vector and returns the result. More...
 
Vector2 componentSubtract (Vector2 v, float scalar)
 Subtracts a value from all elements of a vector and returns the result. More...
 
bool componentAllLessThan (Vector2 a, Vector2 b)
 Returns true if each component of the first vector is less than the corresponding component of the second vector. More...
 
bool componentAllLessThanOrEqual (Vector2 a, Vector2 b)
 Returns true if each component of the first vector is less than or equal to the corresponding component of the second vector. More...
 
bool componentAllGreaterThan (Vector2 a, Vector2 b)
 Returns true if each component of the first vector is greater than the corresponding component of the second vector. More...
 
bool componentAllGreaterThanOrEqual (Vector2 a, Vector2 b)
 Returns true if each component of the first vector is greater than or equal to the corresponding component of the second 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 componentAbs (Vector3 v)
 Calculates component wise absolute value for all elements and returns resulting vector. More...
 
Vector3 componentCeil (Vector3 v)
 Calculates component wise ceil value for all elements and returns resulting vector. More...
 
Vector3 componentFloor (Vector3 v)
 Calculates component wise floor value for all elements and returns resulting vector. More...
 
Vector3 componentRound (Vector3 v)
 Calculates component wise rounded value for all elements and returns resulting vector. More...
 
Vector3 componentSqrt (Vector3 v)
 Calculates component wise square root all elements and returns resulting vector. 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 componentWiseDivide (Vector3 v1, Vector3 v2)
 Does component wise divide for all vector elements and returns the resulting vector. More...
 
Vector3 componentWiseRemainder (Vector3 v1, Vector3 v2)
 Does component wise remainder for all vector elements and returns the resulting vector. More...
 
Vector3 componentAdd (Vector3 v, float scalar)
 Adds a value to all elements of a vector and returns the result. More...
 
Vector3 componentSubtract (Vector3 v, float scalar)
 Subtracts a value from all elements of a vector and returns the result. More...
 
bool componentAllLessThan (Vector3 a, Vector3 b)
 Returns true if each component of the first vector is less than the corresponding component of the second vector. More...
 
bool componentAllLessThanOrEqual (Vector3 a, Vector3 b)
 Returns true if each component of the first vector is less than or equal to the corresponding component of the second vector. More...
 
bool componentAllGreaterThan (Vector3 a, Vector3 b)
 Returns true if each component of the first vector is greater than the corresponding component of the second vector. More...
 
bool componentAllGreaterThanOrEqual (Vector3 a, Vector3 b)
 Returns true if each component of the first vector is greater than or equal to the corresponding component of the second 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 componentAbs (Vector4 v)
 Calculates component wise absolute value for all elements and returns resulting vector. More...
 
Vector4 componentCeil (Vector4 v)
 Calculates component wise ceil value for all elements and returns resulting vector. More...
 
Vector4 componentFloor (Vector4 v)
 Calculates component wise floor value for all elements and returns resulting vector. More...
 
Vector4 componentRound (Vector4 v)
 Calculates component wise rounded value for all elements and returns resulting vector. More...
 
Vector4 componentSqrt (Vector4 v)
 Calculates component wise square root all elements and returns resulting vector. 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 componentWiseDivide (Vector4 v1, Vector4 v2)
 Does component wise divide for all vector elements and returns the resulting vector. More...
 
Vector4 componentWiseRemainder (Vector4 v1, Vector4 v2)
 Does component wise remainder for all vector elements and returns the resulting vector. More...
 
Vector4 componentAdd (Vector4 v, float scalar)
 Adds a value to all elements of a vector and returns the result. More...
 
Vector4 componentSubtract (Vector4 v, float scalar)
 Subtracts a value from all elements of a vector and returns the result. More...
 
bool componentAllLessThan (Vector4 a, Vector4 b)
 Returns true if each component of the first vector is less than the corresponding component of the second vector. More...
 
bool componentAllLessThanOrEqual (Vector4 a, Vector4 b)
 Returns true if each component of the first vector is less than or equal to the corresponding component of the second vector. More...
 
bool componentAllGreaterThan (Vector4 a, Vector4 b)
 Returns true if each component of the first vector is greater than the corresponding component of the second vector. More...
 
bool componentAllGreaterThanOrEqual (Vector4 a, Vector4 b)
 Returns true if each component of the first vector is greater than or equal to the corresponding component of the second 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...
 
template<typename T >
void registerMetaclass (ObjectFactory &objectFactory)
 
template<typename T >
void overrideMetaclass (ObjectFactory &objectFactory)
 
KANZI_API wstring convertUTF8ToWideChar (string_view utf8)
 Converts a given UTF-8 string view into a Win32-compatible wide character string. More...
 
KANZI_API string convertWideCharToUTF8 (wstring_view wchar)
 Converts a given Win32-compatible wide character string view into a UTF-8 string. More...
 
Win32String convertUTF8ToWin32 (string_view utf8)
 
Win32String convertWideCharToWin32 (wstring_view wchar)
 
string convertWin32ToUTF8 (Win32StringView win32)
 
wstring convertWin32ToWideChar (Win32StringView win32)
 
timespec millisecondsToTimespec (chrono::milliseconds ms)
 Converts C++ milliseconds to POSIX native nanosecond format. More...
 
timeval millisecondsToTimeval (chrono::milliseconds ms)
 Converts C++ milliseconds to POSIX native microsecond format. More...
 
KANZI_API PropertyTypeRegistry::const_iterator beginPropertyTypes ()
 Get iterator to the beginning of registry of all property types. More...
 
KANZI_API PropertyTypeRegistry::const_iterator endPropertyTypes ()
 Get iterator to the end of registry of all property types. More...
 
bool operator== (string_view left, FixedString right)
 
bool operator== (FixedString left, string_view right)
 
bool operator!= (string_view left, FixedString right)
 
bool operator!= (FixedString left, string_view right)
 
string to_string (FixedString fixedString)
 
KANZI_API vector< string > splitString (const string &source, const string &delimiter)
 Splits string to tokens. More...
 
KANZI_API vector< string_view > splitString (string_view source, string_view delimiter)
 Splits string view to tokens. More...
 
KANZI_API unsigned char toLower (unsigned char ch)
 Wrapper for tolower() that returns unsigned char. More...
 
KZ_INLINE void resetStopWatch (StopWatch &stopWatch)
 Resets the stop watch. More...
 
optional< TimeIntervalgetIntersection (const TimeInterval &first, const TimeInterval &second)
 Gets intersection of two intervals. 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)
 
const ResourceSharedPtranimationInterpolate (const ResourceSharedPtr &from, const ResourceSharedPtr &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)
 
template<typename T >
animationConcatenate (const T &lhs, const T &rhs)
 
bool animationConcatenate (bool lhs, bool rhs)
 
ResourceSharedPtr animationConcatenate (ResourceSharedPtr, ResourceSharedPtr rhs)
 
SRTValue2D animationConcatenate (const SRTValue2D &lhs, const SRTValue2D &rhs)
 
SRTValue3D animationConcatenate (const SRTValue3D &lhs, const SRTValue3D &rhs)
 
void registerTimelineLoaders (ObjectLoader &objectLoader)
 Registers loaders for build-in timeline types. More...
 
Timeline::DirectionBehavior convert (KzuTimeLineEntryPlaybackMode mode)
 
KzuTimeLineEntryPlaybackMode convert (Timeline::DirectionBehavior behavior)
 
KANZI_API void load (ApplicationProperties &applicationProperties, string_view configurationFilePath)
 Loads application properties from configuration INI file. More...
 
KANZI_API void load (ApplicationProperties &applicationProperties, const SystemProperties &systemProperties)
 Loads application properties from system properties. More...
 
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_view findConfigurationName (const SystemProperties &systemProperties, string_view defaultConfigurationName)
 Returns the tail of the first argument that starts with "-config=" or default configuration name if not found. More...
 
KANZI_API bool hasToken (const SystemProperties &systemProperties, string_view token)
 Checks if system properties contain specified token. More...
 
KANZI_API size_t getRuntimeAssetDataSize ()
 Gets size of runtime asset data. More...
 
KANZI_API const bytegetRuntimeAssetData ()
 Gets runtime asset data. More...
 
KANZI_API KzuBinaryDirectorycreateRuntimeAssetsDirectory (KzcMemoryManager *memoryManager)
 Create runtime asset binary directory. More...
 
KANZI_API void registerRuntimeAssets (Domain *domain)
 Registers build-in runtime assets in resource manager of domain so they can be acquired at runtime. More...
 
KANZI_API BindingSharedPtr loadBinding (KzcInputStream *inputStream, Domain *domain, const KzuBinaryFileInfo *file)
 Loads a binding from stream. More...
 
KANZI_API BindingSharedPtr loadBinding (KzbFile &kzbFile, KzbMemoryParser &parser)
 Loads binding from KZB. More...
 
KANZI_API void loadBindings (KzbFile &kzbFile, KzbMemoryParser &parser, vector< BindingSharedPtr > &bindings)
 Loads bindings from KZB. 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...
 
KANZI_API BitmapImageUniquePtr loadImage (Domain *domain, string_view imageUrl, bool isInCubemap)
 Loads an image from KZB file. More...
 
KANZI_API BitmapImageUniquePtr loadNativeImage (Domain *domain, NativeDeploymentTarget target, string_view imageUrl, bool isInCubemap)
 Loads an image from KZB file with backend specific deployment target. More...
 
KANZI_API BitmapImageUniquePtr imageLoadPNG (KzcInputStream *stream, string_view name="")
 Loads a PNG image from an input stream. More...
 
KANZI_API BitmapImageUniquePtr imageLoadJPEG (KzcInputStream *stream, string_view name="")
 Loads a JPEG image from an input stream. More...
 
KANZI_API BitmapImageUniquePtr imageLoadPVRTC (KzcInputStream *stream, string_view name="")
 Loads a PVRTC image from an input stream. More...
 
KANZI_API BitmapImageUniquePtr imageLoadETC (KzcInputStream *stream, string_view name="")
 Loads an ETC image from an input stream. More...
 
KANZI_API BitmapImageUniquePtr imageLoadATC (KzcInputStream *stream, string_view name="")
 Loads an ATC image from an input stream. More...
 
KANZI_API BitmapImageUniquePtr imageLoadASTC (KzcInputStream *stream, string_view name="")
 Loads an ASTC image from an input stream. More...
 
KANZI_API BitmapImageUniquePtr imageLoadRaw2D (KzcInputStream *stream, string_view name="")
 Loads a Raw2D image from an input stream. More...
 
KANZI_API void imageSavePNG (const BitmapImage &image, KzcOutputStream *stream)
 Saves an image as a PNG to an output stream. More...
 
KANZI_API void imageSavePNGPaletted (const BitmapImage &image, KzcOutputStream *stream)
 Saves an image as a paletted PNG to an output stream. More...
 
KANZI_API void imageSaveJPEG (const BitmapImage &image, KzcOutputStream *stream, float quality=1.0f)
 Saves an image as a JPEG to an output stream. More...
 
KANZI_API bool isValid (GraphicsFormat format)
 Indicates whether format is valid. More...
 
KANZI_API unsigned int getBitsPerBlock (GraphicsFormat format)
 Returns number of bits per block of the specified format. More...
 
KANZI_API unsigned int getBytesPerBlock (GraphicsFormat format)
 Returns number of bytes per block of the specified format. More...
 
KANZI_API bool isCompressed (GraphicsFormat format)
 Indicates whether format is compressed format or not. More...
 
KANZI_API GraphicsFormat getFallback (GraphicsFormat format)
 Returns an alternative format which is potentially more widely supported. More...
 
KANZI_API GraphicsFormat getCommon (GraphicsFormat format1, GraphicsFormat format2)
 Returns a common superset of two formats, or GraphicsFormatNone if formats cannot be combined. More...
 
KANZI_API GraphicsDataType getDataType (GraphicsFormat format)
 Returns data type of the format. More...
 
KANZI_API unsigned int getChannelCount (GraphicsFormat format)
 Returns number of unique color channels of the format. More...
 
KANZI_API unsigned int getDataSizeBytes (int width, int height, GraphicsFormat format)
 Returns data size in bytes for image with specified dimensions and format. More...
 
KANZI_API bool hasColor (GraphicsFormat format)
 Indicates whether given format has one more more color channels. More...
 
KANZI_API bool hasAlpha (GraphicsFormat format)
 Indicates whether given format has alpha channel. More...
 
KANZI_API bool hasDepth (GraphicsFormat format)
 Indicates whether given format has depth channel. More...
 
KANZI_API bool hasStencil (GraphicsFormat format)
 Indicates whether given format has stencil channel. More...
 
KANZI_API bool hasAliasedChannel (GraphicsFormat format)
 Indicates whether given format has an aliased color channel. More...
 
KANZI_API unsigned int getBitCount (GraphicsDataType dataType)
 Return number of bits per one element of data type. More...
 
KANZI_API unsigned int getBitCount (GraphicsDataType dataType, unsigned int componentCount)
 Return number of bits per one element of data type. More...
 
KANZI_API unsigned int getByteCount (GraphicsDataType dataType)
 Return number of bytes per one element of data type. More...
 
KANZI_API bool isPacked (GraphicsDataType dataType)
 Indicates whether given data type is packed or not. More...
 
KANZI_API unsigned int getByteCount (GraphicsDataType dataType, unsigned int componentCount)
 Returns number of bytes for graphics data. More...
 
KANZI_API FixedString toFixedString (GraphicsDataType dataType)
 Returns human readable string for GraphicsDataType. More...
 
KANZI_API FixedString toFixedString (GraphicsFormat format)
 Returns human readable string for GraphicsFormat. More...
 
KANZI_API optional< GraphicsFormatfindGraphicsFormatByName (string_view formatName)
 Returns GraphicsFormat given its name as a human readable string. More...
 
CompositionRequirements combineCompositionRequirements (const CompositionRequirements &lhs, const CompositionRequirements &rhs)
 Merge two composition requirements together. More...
 
void swap (VertexAttribute &attribute1, VertexAttribute &attribute2)
 
void swap (MeshVertexAttribute &attribute1, MeshVertexAttribute &attribute2)
 
void swap (ShaderVertexAttribute &attribute1, ShaderVertexAttribute &attribute2)
 
KANZI_API optional< VertexAttribute::SemantictoVertexAttributeSemantic (unsigned int kzbVertexAttributeSemantic)
 Converts KZB vertex attribute semantic to runtime VertexAttribute::Semantic. More...
 
KANZI_API FixedString toFixedString (VertexAttribute::Semantic semantic)
 Returns human readable string for semantic. More...
 
void swap (Mesh::CreateInfo::Cluster &cluster1, Mesh::CreateInfo::Cluster &cluster2)
 
void swap (Mesh::CreateInfo &createInfo1, Mesh::CreateInfo &createInfo2)
 
KANZI_API void writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, size_t component, float v)
 Writes one float attribute component to vertex data. More...
 
KANZI_API void writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, float v)
 Writes one float attribute value to vertex data. More...
 
KANZI_API void writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, Vector2 v)
 Writes one Vector2 attribute value to vertex data. More...
 
KANZI_API void writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, Vector3 v)
 Writes one Vector3 attribute value to vertex data. More...
 
KANZI_API void writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, Vector4 v)
 Writes one Vector3 attribute value to vertex data. More...
 
KANZI_API float readVertexAttributeComponent (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, size_t component)
 Reads one attribute component of given vertex from mesh create info. More...
 
KANZI_API float readVertexAttributeFloat (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex)
 Reads float attribute of given vertex from mesh. More...
 
KANZI_API Vector2 readVertexAttributeVector2 (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex)
 Reads Vector2 attribute of given vertex from mesh. More...
 
KANZI_API Vector3 readVertexAttributeVector3 (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex)
 Reads Vector3 attribute of given vertex from mesh. More...
 
KANZI_API Vector4 readVertexAttributeVector4 (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex)
 Reads Vector4 attribute of given vertex from mesh. More...
 
KANZI_API Mesh::CreateInfo loadMeshCreateInfo (Domain *domain, KzcInputStream *inputStream, const KzuBinaryFileInfo *file)
 Loads mesh create info from legacy KZB. More...
 
KANZI_API Mesh::CreateInfo loadMeshCreateInfo (Domain *domain, KzbFile &kzbFile, ReadOnlyMemoryFile &file, KzbMemoryParser &parser)
 Loads mesh create info from KZB. More...
 
KANZI_API Box calculateBoundingVolume (const Mesh::CreateInfo &createInfo)
 Calculates bounding box from mesh vertex data. More...
 
KANZI_API void updateVertexAttributeOffsetsAndVertexSize (Mesh::CreateInfo &createInfo)
 Sets offsets for vertex attributes in mesh create info. More...
 
KANZI_API void updateVertexAttributeStrides (Mesh::CreateInfo &createInfo)
 Calculates vertex format size and updates stride to all vertex attributes in mesh create info. More...
 
KANZI_API ResourceManager::UrlContainer collectResourceUrls (const Mesh::CreateInfo &createInfo)
 For each cluster in mesh create info, get material URL, if set. More...
 
KANZI_API void acquireResources (Domain *domain, Mesh::CreateInfo &createInfo)
 For each cluster in mesh create info, load material from materialURL, if set. More...
 
KANZI_API Mesh::CreateInfo generateBox (Vector3 size, bool useHalfFloat, bool generateNormals, bool generateTangents, MaterialSharedPtr material, string_view materialURL, GPUResource::MemoryType memoryType)
 Makes mesh create info for box primitive mesh. More...
 
KANZI_API Mesh::CreateInfo generateSphere (float radius, unsigned int segmentCount, unsigned int rowCount, bool useHalfFloat, bool generateNormals, bool generateTangents, MaterialSharedPtr material, string_view materialURL, GPUResource::MemoryType memoryType)
 Makes mesh create info for sphere primitive mesh. More...
 
KANZI_API Mesh::CreateInfo generatePlane (float width, float height, bool invertU, bool invertV, bool useHalfFloat, bool generateNormals, bool generateTangents, MaterialSharedPtr material, string_view materialURL, GPUResource::MemoryType memoryType)
 Makes mesh create info for plane primitive mesh. More...
 
kzsError kzuResourceManagerLoadMorph_internal (Domain *domain, KzcInputStream *inputStream, const KzuBinaryFileInfo *file, Resource **out_resource)
 
KANZI_API NodegetScopeFocusedNode (Node &node)
 Returns the logical focus node of the scope node. More...
 
KANZI_API void setScopeFocusedNode (Node &scope, Node &focus)
 Sets the logical focus node of the given scope node. More...
 
KANZI_API uint32_t getSupportedKzbFormatVersion ()
 Gets the supported KZB format version. More...
 
KANZI_API ConstByteSpan getKzbMagic ()
 Gets the KZB magic byte sequence. More...
 
KANZI_API bool isKzbMagic (ConstByteSpan data)
 Tells if beginning of given byte span matches KZB magic. More...
 
KANZI_API bool isKzbMagic (File &file)
 Tells if beginning of given file matches KZB magic. More...
 
KANZI_API UrlContainer collectResourceUrls (const KzbMemoryParser::PropertyContainer &properties)
 Collects URLs of all property values of Resource type. More...
 
KANZI_API void applyProperties (Object &object, const KzbMemoryParser::PropertyContainer &properties)
 Apply properties from a PropertyContainer to an Object. More...
 
KANZI_API ObjectSharedPtr loadEmbeddedObject (Domain *domain, KzcInputStream *inputStream, const KzuBinaryFileInfo *file)
 Loads embedded object. More...
 
KANZI_API TimerSubscriptionToken addTimerHandler (KzuMessageDispatcher *messageDispatcher, chrono::milliseconds interval, KzuTimerMessageMode mode, TimerFunction callback)
 
KANZI_API void removeTimerHandler (KzuMessageDispatcher *messageDispatcher, TimerSubscriptionToken token)
 
KANZI_API Matrix4x4 calculateRelativeOrthogonalProjectionMatrixFromValues (float near, float far, Camera::FieldOfViewType fovType, float orthoSize, float aspectRatio)
 Creates an orthogonal projection matrix for a symmetrical viewing volume. More...
 
KANZI_API 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 Matrix4x4 calculateSubProjection (Matrix4x4 projection, float relativeOffsetX, float relativeOffsetY, float relativeSizeX, float relativeSizeY)
 Calculate sub-quad projection of an existing projection matrix. More...
 
KANZI_API unsigned int getTreeHeight (const Node &node)
 Gets tree height from the object node to the parent. More...
 
KANZI_API optional< string > getRelativePath (const Node &targetNode, const Node &baseNode)
 Gets the relative path from base object node to target object node, or nullopt if path could not be found. More...
 
KANZI_API NodefindCommonParent (const Node &nodeA, const Node &nodeB)
 Gets first common parent from nodeA and nodeB, or null if not found. More...
 
KANZI_API NodegetRoot (Node &node)
 Gets the root node of the scene graph where the node belongs to or null if node does not belong to any scene graph. More...
 
KANZI_API const NodegetRoot (const Node &node)
 Gets the root node of the scene graph where the node belongs to or null if node does not belong to any scene graph. More...
 
KANZI_API bool isParentOf (const Node &child, const Node &parent)
 Indicates whether one node is the parent of another node. More...
 
KANZI_API bool isAncestorOf (const Node &node, const Node &ancestor)
 Indicates whether one node is the ancestor of another node at any level in the scene graph hierarchy. More...
 
template<typename Type >
shared_ptr< Type > findParent (const Node &node)
 Gets nearest parent of specified type. 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...
 
KANZI_API void registerDefaultTypes (ObjectFactory &objectFactory)
 Registers default Kanzi object types in object factory. More...
 
FixedString toFixedString (Framebuffer::CreateInfo::Status status)
 Returns a human readable description for Framebuffer::CreateInfo::Status. More...
 
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 getFeatures (Framebuffer::AttachmentPoint attachmentPoint)
 
KANZI_API int getCompressedGLFormat (GraphicsFormat format)
 Returns the GL API internal format enumeration of the kanzi::Format. More...
 
int acquireUniformLocation (Material &material, string_view name)
 Acquire uniform location from a material. More...
 
template<typename T >
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< T > &value)
 Type-specific render value update to GPU. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< bool > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< int > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< float > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< ColorRGBA > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector2 > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector3 > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector4 > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Matrix3x3 > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Matrix4x4 > &value)
 updateRenderValueContainer() specialization. More...
 
template<typename T >
void updateRenderValue (Renderer &renderer, GlRenderValue< T > &value)
 Update render value container to GPU. More...
 
template<typename T >
bool updateRenderValue (Renderer &renderer, GlRenderValue< T > &value, unsigned int textureUnit)
 Update render value container to the GPU. More...
 
template<>
bool updateRenderValue (Renderer &renderer, GlRenderValue< TextureSharedPtr > &value, unsigned int textureUnit)
 updateRenderValueContainer() specialization. More...
 
KANZI_API optional< GraphicsElementTypetoGraphicsElementType (unsigned int kzbElementType)
 
KANZI_API optional< GraphicsDataTypetoGraphicsDataType (unsigned int kzbMeshVertexAttributeDataType)
 
KANZI_API optional< GraphicsFormattoGraphicsFormatFromKzbDepthAttachment (int kzbFormat)
 
KANZI_API optional< GraphicsFormattoGraphicsFormatFromKzbTextureFormat (unsigned int kzbTextureFormat)
 
KANZI_API optional< GraphicsFormattoGraphicsFormatFromKzbImageFormat (unsigned int kzbFormat)
 
KANZI_API optional< Sampler::FiltertoSamplerFilterFromKzbTextureFilter (unsigned int kzbTextureFilter)
 
KANZI_API optional< Sampler::MipmapModetoSamplerMipmapModeFromKzbMipmapMode (unsigned int kzbMipmapMode)
 
KANZI_API optional< Sampler::AddressingModetoSamplerAddressingModeFromKzbWrapMode (unsigned int kzbWrapMode)
 
void swap (Mesh::Skeleton &skeleton1, Mesh::Skeleton &skeleton2)
 
void swap (Mesh::Cluster &cluster1, Mesh::Cluster &cluster2)
 
void swap (Mesh &mesh1, Mesh &mesh2)
 
template<typename T >
acquireRenderValueFromPropertyDefault (AbstractPropertyType abstractProperty, Node *node, Object *object, Material &material)
 Default implementation for acquiring value for property notification handlers. More...
 
template<typename T >
acquireRenderValueFromProperty (AbstractPropertyType abstractProperty, Node *node, Object *object, Material &material, ShaderProgram::UniformTransformation)
 Default implementation for acquiring value for property notification handlers. More...
 
template<>
GraphicsBlendMode acquireRenderValueFromProperty (AbstractPropertyType abstractProperty, Node *node, Object *object, Material &material, ShaderProgram::UniformTransformation transformation)
 acquireRenderValueFromProperty() specialization. More...
 
template<>
ColorRGBA acquireRenderValueFromProperty (AbstractPropertyType abstractProperty, Node *node, Object *object, Material &material, ShaderProgram::UniformTransformation transformation)
 acquireRenderValueFromProperty() specialization. More...
 
template<>
TextureSharedPtr acquireRenderValueFromProperty (AbstractPropertyType abstractProperty, Node *node, Object *object, Material &material, ShaderProgram::UniformTransformation transformation)
 acquireRenderValueFromProperty() specialization. More...
 
void swap (Renderbuffer &buffer1, Renderbuffer &buffer2)
 
KANZI_API unsigned int getAttributeDimension (VertexAttribute::Semantic attribute)
 
KANZI_API FixedString toFixedString (Sampler::Filter filter)
 
KANZI_API FixedString toFixedString (Sampler::MipmapMode mipmapMode)
 
KANZI_API BitmapImageUniquePtr captureCurrentFramebufferToImage (unsigned int width, unsigned int height, GraphicsFormat format)
 Capture the current framebuffer to an image. More...
 
KANZI_API BitmapImageUniquePtr captureScreenToImage (Renderer &renderer, unsigned int width, unsigned int height, GraphicsFormat format)
 Capture the screen (default framebuffer) to an image. More...
 
void swap (ShaderProgram &shader1, ShaderProgram &shader2)
 
KANZI_API ShaderProgram::FixedUniform toFixedUniform (string_view uniformName)
 Gets FixedUniform from given string. More...
 
void swap (ShaderProgram::CreateInfo &createInfo1, ShaderProgram::CreateInfo &createInfo2)
 
ShaderProgram::CreateInfo loadShaderProgramCreateInfo (Domain *domain, KzbFile &kzbFile, ReadOnlyMemoryFile &file, KzbMemoryParser &parser, string_view name)
 Load shader program create info from KZB file. More...
 
ShaderProgram::CreateInfo loadShaderProgramCreateInfo (Domain *domain, KzcInputStream *inputStream, const KzuBinaryFileInfo *file)
 Load shader program create info from legacy KZB file. More...
 
KANZI_API FixedString getVerboseDescription (ShaderProgram::CreateInfo::Status status)
 Returns human readable description for ShaderProgram CreateInfo status. More...
 
void swap (Texture &texture1, Texture &texture2)
 
KANZI_API unsigned int getFaceCount (Texture::Type type)
 
KANZI_API unsigned int getGLTextureImageTarget (Texture::Type type, unsigned int face)
 
KANZI_API unsigned int getGLTextureTarget (Texture::Type type)
 
KANZI_API TextureSharedPtr createTextureFromMemory (Domain *domain, unsigned int width, unsigned int height, GraphicsFormat sourceFormat, const void *data, GraphicsFormat destinationFormat, string_view name)
 Loads a new image from memory and creates a texture out of it. More...
 
KANZI_API unsigned int calculateMipmapLevelCount (unsigned int width, unsigned int height)
 Calculates number of mipmap levels for provided image size. More...
 
void swap (Texture::CreateInfo &info1, Texture::CreateInfo &info2)
 
Texture::CreateInfo loadTextureCreateInfo (Domain *domain, KzbFile &kzbFile, ReadOnlyMemoryFile &file, KzbMemoryParser &parser)
 Load texture create info from KZB file. More...
 
Texture::CreateInfo loadTextureCreateInfo (Domain *domain, KzcInputStream *inputStream, const KzuBinaryFileInfo *file)
 Load texture create info from legacy KZB file. More...
 
KANZI_API FixedString getVerboseDescription (Texture::CreateInfo::Status status)
 Returns human readable description for CreateInfo status. More...
 
KANZI_API void loadPrefabAsync (const Node &node, ResourceID prefabResourceId, ResourceManager::AsyncAcquireFinishedCallback callback)
 Acquires prefab and required nested resources recursively. More...
 
KANZI_API void collectResourceUrls (const PrefabTemplate &prefabTemplate, const Node &node, ResourceManager::UrlContainer &urls)
 Collects URLs from all resource properties that are used by the nodes in a prefab template. More...
 
KANZI_API void collectResourceUrlsFromStateManagers (const PrefabTemplate &prefabTemplate, const Node &node, ResourceManager::UrlContainer &urls)
 Looks up resource properties of type StateManager in the nodes of a prefab template. More...
 
KANZI_API void collectResourceUrls (const PrefabTemplate &prefabTemplate, ResourceManager::UrlContainer &urls)
 Collects URLs from all resource properties that are used by the nodes in a prefab template. More...
 
KANZI_API void collectResourceUrls (const PrefabTemplateNode &prefabTemplateNode, ResourceManager::UrlContainer &urls)
 Collects URLs from all resource properties that are used by a prefab template node and its children. More...
 
KANZI_API void collectResourceUrlsFromStateManagers (const PrefabTemplate &prefabTemplate, ResourceManager::UrlContainer &urls)
 Looks up resource properties of type StateManager in the nodes of a prefab template. More...
 
KANZI_API void collectResourceUrls (const ResourceDictionary &resourceDictionary, ResourceManager::UrlContainer &urls)
 Collects the URLs from a resource dictionary. More...
 
KANZI_API void collectResourceUrls (ResourceManager *resourceManager, string_view hostname, ResourceManager::UrlContainer &urls)
 Collect resource urls from a named file. More...
 
KANZI_API void collectResourceUrlsFromPrefabTemplateUrl (ResourceManager *resourceManager, string_view prefabTemplateUrl, const Node &node, ResourceManager::UrlContainer &urls)
 Collects URLs from all resource properties that are used by the nodes in a prefab template. More...
 
KANZI_API void collectResourceUrlsFromPrefabTemplateUrl (ResourceManager *resourceManager, string_view prefabTemplateUrl, ResourceManager::UrlContainer &urls)
 Collects URLs from all resource properties that are used by the nodes in a prefab template. More...
 
KANZI_API void collectResourceUrlsFromPrefabTemplateNodeResourceDictionaryUrls (ResourceManager *resourceManager, string_view prefabTemplateNodeUrls, ResourceManager::UrlContainer &urls)
 Collects the URLs of resources from the resource dictionaries of the prefab templates you specify. More...
 
KANZI_API void collectResourceUrls (ResourceManager *resourceManager, KzuBinaryDirectory *binaryDirectory, ResourceManager::UrlContainer &urls)
 Collects the URLs of all resources in the binary directory you specify. More...
 
KANZI_API void collectResourceUrls (ResourceManager *resourceManager, ResourceManager::UrlContainer &urls)
 Collects the URLs of all resources from all the binary directories that have been added to the resource manager. More...
 
KANZI_API void registerDefaultResources (Screen &screen)
 Registers default resources in the resource manager and Screen node's dictionary. More...
 
KANZI_API void registerNodeComponentLoader (ObjectLoader &objectLoader, const Metaclass *metaclass)
 Registers node component template loader for specified node component type. More...
 
void registerNodeComponentLoaders (ObjectLoader &objectLoader)
 Registers node component template loaders for build-in node component types. More...
 
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)
 

Variables

KANZI_API const ColorRGBA ThemeRed
 
KANZI_API const ColorRGBA ThemeGreen
 
KANZI_API const ColorRGBA ThemeBlue
 
KANZI_API const ColorRGBA ThemeYellow
 
KANZI_API const ColorRGBA ThemeGray
 
KANZI_API const ColorRGBA ThemeOrange
 
KANZI_API const NativeDeploymentTarget NativeDeploymentTargetDefault
 The default native deployment target. More...
 
KANZI_API const TextureSwizzleMask SwizzleMaskRGBToLuminanceAlpha
 Mask all of the color channels with red. More...
 
KANZI_API const TextureSwizzleMask SwizzleMaskLuminanceToRGBA
 Mask all of the color channels with alpha. More...
 
const NativeEventHandle invalidEventHandle
 

Typedef Documentation

typedef unsigned char kanzi::byte
typedef std::thread::native_handle_type kanzi::ThreadNativeHandleType
typedef boost::mt19937 kanzi::default_random_engine
typedef boost::blank kanzi::monostate

Typedef of the kanzi::AbstractLogger unique pointer.

MetaObject shared pointer type.

typedef string kanzi::Win32String
typedef string_view kanzi::Win32StringView

Abstract property notification handler shared pointer.

typedef unordered_map<string_view, AbstractPropertyTypeDescriptor*> kanzi::PropertyTypeRegistry

Alias for map of all property types.

typedef shared_ptr< Resource > kanzi::ResourceSharedPtr
typedef basic_string_view<const byte> kanzi::ConstByteSpan

ConstByteSpan refers to constant contiguous sequence of bytes.

typedef shared_ptr< Action > kanzi::ActionSharedPtr
typedef FromToAnimation<float, function<float(float)> > kanzi::FloatCustomFromToAnimation
typedef shared_ptr< Timeline > kanzi::TimelineSharedPtr

Framebuffer shared pointer type.

Shared pointer definition.

typedef shared_ptr< Screen > kanzi::ScreenSharedPtr

Screen shared pointer.

typedef vector<string_view> kanzi::SystemProperties

Read-only values from the system.

typedef shared_ptr< Binding > kanzi::BindingSharedPtr
typedef shared_ptr<Binding const> kanzi::BindingSharedConstPtr
typedef shared_ptr< DataObject > kanzi::DataObjectSharedPtr
typedef bool(* kanzi::BindingExpressionFunction) (BindingExpressionOpCode &expressionOpCode)

Expression function pointer type.

Image shared pointer type.

Image unique pointer type.

Image shared pointer vector type.

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

Alias for shared pointer of Node.

Text resource shared pointer.

typedef shared_ptr<void> kanzi::ScriptingSystemSharedPtr

Shader program shared pointer type.

typedef shared_ptr< Texture > kanzi::TextureSharedPtr

Texture shared pointer type.

typedef shared_ptr< KzuFont > kanzi::FontSharedPtr
typedef shared_ptr< Brush > kanzi::BrushSharedPtr

Brush shared pointer.

typedef unique_ptr< BrushRenderer > kanzi::BrushRendererPtr

Brush renderer unique pointer.

Shared pointer type.

Shared pointer type.

typedef shared_ptr<NullBrush> kanzi::NullBrushSharedPtr

Shared pointer definition.

BlitRenderPass shared pointer type.

ClearRenderPass shared pointer type.

LegacyRenderpass shared pointer type.

typedef MeshAttributeCollection::iterator kanzi::MeshAttributeCollectionIterator
typedef MeshAttributeCollection::const_iterator kanzi::MeshAttributeCollectionConstIterator
typedef ShaderAttributeCollection::iterator kanzi::ShaderAttributeCollectionIterator
typedef ShaderAttributeCollection::const_iterator kanzi::ShaderAttributeCollectionConstIterator

LegacyRenderpass shared pointer type.

typedef shared_ptr< Material > kanzi::MaterialSharedPtr
typedef shared_ptr<Material const> kanzi::MaterialSharedConstPtr
typedef shared_ptr<Mesh> kanzi::MaeshSharedPtr

MaterialRenderer unique pointer type.

typedef shared_ptr< Mesh > kanzi::MeshSharedPtr
typedef shared_ptr<Morph const> kanzi::MorphSharedConstPtr
typedef shared_ptr<Morph> kanzi::MorphSharedPtr

Shader program weak pointer type.

typedef shared_ptr< RenderPass > kanzi::RenderPassSharedPtr

RenderPass shared pointer type.

typedef shared_ptr< Object > kanzi::ObjectSharedPtr

Object shared pointer type.

typedef unordered_set<string> kanzi::UrlContainer
typedef function<void(const TimerMessageArguments&)> kanzi::TimerFunction
typedef shared_ptr<void> kanzi::TimerSubscriptionToken
typedef shared_ptr< Camera > kanzi::CameraSharedPtr

CameraNode shared pointer.

typedef shared_ptr<Image2D> kanzi::Image2DSharedPtr

Instantiator3DNode shared pointer.

typedef shared_ptr<Light> kanzi::LightSharedPtr

LODSelectorNode shared pointer.

typedef shared_ptr<Model3D> kanzi::Model3DSharedPtr

Mesh node shared pointer.

Resource dictionary shared pointer.

typedef shared_ptr<void> kanzi::ScriptingContextSharedPtr
typedef shared_ptr< Node const > kanzi::NodeConstSharedPtr

Alias for shared pointer of const Node.

typedef weak_ptr< Node > kanzi::NodeWeakPtr

Alias for weak pointer of Node.

typedef weak_ptr<Node const> kanzi::NodeConstWeakPtr

Alias for weak pointer of const Node.

typedef shared_ptr< Node2D > kanzi::Node2DSharedPtr
typedef shared_ptr< Node2D const > kanzi::Node2DConstSharedPtr
typedef weak_ptr< Node2D > kanzi::Node2DWeakPtr
typedef shared_ptr< Node3D > kanzi::Node3DSharedPtr

Node3D shared pointer type.

typedef shared_ptr< Node3D const > kanzi::Node3DConstSharedPtr

Node3D const shared pointer type.

typedef weak_ptr< Node3D > kanzi::Node3DWeakPtr

Node3D weak pointer type.

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< Style > kanzi::StyleSharedPtr

AppliedStyleEntry shared pointer type.

Composition stack shared pointer.

typedef unique_ptr<GeometryGl> kanzi::GeometryPtr

Geometry pointer type.

GlGraphicsOutput shared pointer type.

typedef weak_ptr<Texture> kanzi::TextureWeakPtr
typedef array<int, 4> kanzi::GLSwizzleMask
typedef shared_ptr<const Mesh> kanzi::MeshConstSharedPtr
typedef shared_ptr<Buffer> kanzi::BufferSharedPtr
typedef unique_ptr<Buffer> kanzi::BufferUniquePtr
typedef unordered_map<ShaderProgram*, vector<int> > kanzi::ShaderProgramToAttributeMapSet

Render state property container shared pointer.

Renderbuffer shared pointer type.

Viewport rectangle definition.

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

Surface shared pointer type.

typedef weak_ptr<Resource> kanzi::ResourceWeakPtr

Resource dictionary selector shared pointer.

typedef shared_ptr<KzbFile> kanzi::KzbFileSharedPtr

Resource manager shared pointer type.

The resource profiler unique ptr type.

The resource profiling context factory unique pointer type.

Profiled resource shared pointer type.

Profiled load task shared pointer type.

typedef shared_ptr< KzuTextFormat > kanzi::TextFormatSharedPtr

Text format shared pointer.

TextFormat shared pointer.

typedef shared_ptr<Trigger> kanzi::TriggerSharedPtr
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
typedef shared_ptr<Button2D> kanzi::Button2DSharedPtr
typedef shared_ptr<Button3D> kanzi::Button3DSharedPtr

Button shared pointer.

typedef function<void()> kanzi::PropertyChangedFunction

DockLayout shared pointer.

FlowLayout shared pointer.

GridLayout2D shared pointer.

GridLayout3D shared pointer.

typedef shared_ptr<Page> kanzi::PageSharedPtr
typedef weak_ptr<Page> kanzi::PageWeakPtr
typedef shared_ptr<PageHost> kanzi::PageHostSharedPtr

Prefab view 2D shared pointer.

Prefab view 3D shared pointer.

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.

Enumeration Type Documentation

The log levels.

The LogLevel is used internally to convert integer log level value to enumeration type.

Enumerator
LogLevelError 

The error log level. See KZ_LOG_LEVEL_ERROR.

LogLevelWarning 

The warning log level. See KZ_LOG_LEVEL_WARNING.

LogLevelInfo 

The info log level. See KZ_LOG_LEVEL_INFO.

LogLevelTrace 

The trace log level. See KZ_LOG_LEVEL_TRACE.

Message routing modes.

Enumerator
MessageRoutingTunnelingBubbling 

Identifies both, the tunneling and the bubbling phase.

MessageRoutingTunneling 

Identifies the tunneling phase, during which a message travels down the node tree from the first child node of the Screen node (the root node) to the node where the message originated.

MessageRoutingBubbling 

Identifies the bubbling phase, during which a message travels up the node tree from the node where the message originated to the first child node of the Screen node (the root node).

MessageRoutingDirect 

Not implemented.

Each property type has a set of property change flags that indicate what kind of effects changing the property has.

For example, when the text property of a text block is changed, then the text block layout has to be recalculated, so the text property type has PropertyTypeChangeFlagMeasure.

Enumerator
PropertyTypeChangeFlagFinalTransformation 

Property type with this flag affects final transformation of an object and all its children.

Causes updateRender() to be ran.

PropertyTypeChangeFlagMeasure 

Property type with this flag causes layout measure() to be ran.

Set by property changes that affect layout.

PropertyTypeChangeFlagParentMeasure 

Property type with this flag affects measure requirement of node's parent.

PropertyTypeChangeFlagArrange 

Property type with this flag causes layout arrange() to be ran.

Flag is also set by measure pass on nodes where measurements were changed.

PropertyTypeChangeFlagRender 

Property type with this flag affects rendering and causes updateRender() to be ran.

PropertyTypeChangeFlagDraw 

Change flag set when updateRender() is ran, causes node to be drawn.

PropertyTypeChangeFlagConstraint 

Property type with this flag informs that constraints are in use.

Property notification reason.

Enumerator
PropertyNotificationReasonChanged 

The property value was modified.

PropertyNotificationReasonRemoved 

The property value was removed.

Property value precedence.

Enumerator
PropertyValuePrecedenceClass 

Property value precedence used by the class default values.

PropertyValuePrecedenceStyle 

Property value precedence used by styles.

PropertyValuePrecedenceStateManager 

Property value precedence used by state managers.

PropertyValuePrecedenceLocal 

Property value precedence used by local values.

Enumeration of data types that can be stored as properties.

Enumerator
PropertyDataTypeFloat 

Float data.

PropertyDataTypeInt 

Integer data.

PropertyDataTypeBool 

Boolean data.

PropertyDataTypeColor 

ColorRGBA data.

PropertyDataTypeVector2 

Vector2 data.

PropertyDataTypeVector3 

Vector3 data.

PropertyDataTypeVector4 

Vector4 data.

PropertyDataTypeMatrix3x3 

Matrix3x3 data.

PropertyDataTypeMatrix4x4 

Matrix4x4 data.

PropertyDataTypeString 

String data.

PropertyDataTypePointer 

Pointer data.

PropertyDataTypeResource 

Resource data.

PropertyDataTypeSRT2D 

SRTValue2D data.

PropertyDataTypeSRT3D 

SRTValue3D data.

Property field.

Enumerator
PropertyFieldWhole 

Whole property value.

PropertyFieldTranslationX 

Translation X component, presented as float.

PropertyFieldTranslationY 

Translation Y component, presented as float.

PropertyFieldTranslationZ 

Translation Z component, presented as float.

PropertyFieldScaleX 

Scale X component, presented as float.

PropertyFieldScaleY 

Scale Y component, presented as float.

PropertyFieldScaleZ 

Scale Z component, presented as float.

PropertyFieldRotationX 

Rotation X component, presented as float.

PropertyFieldRotationY 

Rotation Y component, presented as float.

PropertyFieldRotationZ 

Rotation Z component, presented as float.

PropertyFieldColorR 

Color R field, presented as float.

PropertyFieldColorG 

Color G field, presented as float.

PropertyFieldColorB 

Color B field, presented as float.

PropertyFieldColorA 

Color A field, presented as float.

PropertyFieldVectorX 

Vector X field, presented as float.

PropertyFieldVectorY 

Vector Y field, presented as float.

PropertyFieldVectorZ 

Vector Z field, presented as float.

PropertyFieldVectorW 

Vector W field, presented as float.

PropertyFieldRotation 

Rotation component of property of SRTValue3D type, presented as Quaternion.

Action binding type.

Enumerator
ActionArgumentTypeValue 

Value action binding type.

ActionArgumentTypeMessageArgument 

Argument action binding type.

ActionArgumentTypeObjectProperty 

Object property action binding type.

ActionArgumentTypeValueReference 

Value reference binding type.

Enumerator
AnimationEaseIn 
AnimationEaseOut 
AnimationEaseInOut 

Playback type of the timeline.

Enumerator
KZU_TIME_LINE_ENTRY_PLAYBACK_MODE_NORMAL 

Plays the animation timeline normally from the start to end.

KZU_TIME_LINE_ENTRY_PLAYBACK_MODE_REVERSE 

Plays the animation timeline in reverse from the end to start.

KZU_TIME_LINE_ENTRY_PLAYBACK_MODE_PINGPONG 

Plays the animation timeline first normally, then in reverse.

Binary container type.

Enumerator
KZU_BINARY_DATA_TYPE_FLOAT 
KZU_BINARY_DATA_TYPE_TEXTURE 
KZU_BINARY_DATA_TYPE_MATRIX4X4 

Binary target attribute type.

Enumerator
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_X 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_Y 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION_Z 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_X 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_Y 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE_Z 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_Z 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_Y 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION_X 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_WHOLE_PROPERTY 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_R 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_G 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_B 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_COLOR_A 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_X 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_Y 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_Z 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_VECTOR_W 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_SCALE 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_ROTATION 
KZU_PROPERTY_BINARY_TARGET_ATTRIBUTE_TRANSLATION 

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_REMAINDER 
KZU_EXPRESSION_VALIDATOR_OPERATION_CREATE_ROTATION 
KZU_EXPRESSION_VALIDATOR_OPERATION_CREATE_ROTATION_X 
KZU_EXPRESSION_VALIDATOR_OPERATION_CREATE_ROTATION_Y 
KZU_EXPRESSION_VALIDATOR_OPERATION_CREATE_ROTATION_Z 
KZU_EXPRESSION_VALIDATOR_OPERATION_ROTATE 
KZU_EXPRESSION_VALIDATOR_OPERATION_ROTATE_X 
KZU_EXPRESSION_VALIDATOR_OPERATION_ROTATE_Y 
KZU_EXPRESSION_VALIDATOR_OPERATION_ROTATE_Z 
KZU_EXPRESSION_VALIDATOR_OPERATION_EXTRACT_EULER_X 
KZU_EXPRESSION_VALIDATOR_OPERATION_EXTRACT_EULER_Y 
KZU_EXPRESSION_VALIDATOR_OPERATION_EXTRACT_EULER_Z 
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 

Image resizing filter methods.

Enumerator
ResizeFilterNearestNeighbor 

Nearest neighbor filter.

ResizeFilterBilinear 

Bilinear filter.

ResizeFilterWeightedAverage 

Weighted average filter.

Font hinting options.

Hinting refers to the adjustments in the outline-filling process of a glyph, so that the glyph lines up within the rasterized grid.

Since
Kanzi 3.6.18
Enumerator
FontHintingPreferenceNoHinting 

Render text without hinting the outlines of glyphs.

FontHintingPreferenceNativeHinting 

Enable hinting. Prefer native hinter of the font over the auto-hinter of the rasterizer.

FontHintingPreferenceAutoHinting 

Enable hinting. Prefer auto-hinter of the rasterizer over the native hinter of the font.

GraphicsElementType is used to specify type of element of data consumed by shaders.

An element is a scalar used to build scalars (single element), vectors (one row) and matrices (multiple rows and columns) consumed by shaders.

See also
ShaderVertexAttribute
Enumerator
GraphicsElementTypeUINT 

Unsigned integer element type.

GraphicsElementTypeSINT 

Signed integer element type.

GraphicsElementTypeFLOAT 

Floating point element type.

GraphicsDataType is used to specify type of data in textures and vertex buffers.

Enumerator
GraphicsDataTypeNone 

Indicates unused, empty or invalid data type.

GraphicsDataTypeUNORM8 

Unsigned normalized 8-bit data type.

GraphicsDataTypeSNORM8 

Signed normalized 8-bit data type.

GraphicsDataTypeUNORM16 

Unsigned normalized 16-bit data type.

GraphicsDataTypeSNORM16 

Signed normalized 16-bit data type.

GraphicsDataTypeUNORM32 

Unsigned normalized 32-bit data type.

GraphicsDataTypeSNORM32 

Signed normalized 32-bit data type.

GraphicsDataTypeUNORM_PACK16_5_6_5 

A three-component, 16-bit packed unsigned normalized data type that has a 5-bit R component in bits 11..15, a 6-bit G component in bits 5..10, and a 5-bit B component in bits 0..4.

GraphicsDataTypeCOMPRESSED 

A compressed data type, used for compressed texture formats.

GraphicsDataTypeUINT8 

8-bit unsigned integer data type.

GraphicsDataTypeSINT8 

8-bit signed integer data type.

GraphicsDataTypeUINT16 

16-bit unsigned integer data type.

GraphicsDataTypeSINT16 

16-bit signed integer data type.

GraphicsDataTypeUINT32 

32-bit unsigned integer data type.

GraphicsDataTypeSINT32 

32-bit signed integer data type.

GraphicsDataTypeSFLOAT16 

16-bit signed floating-point data type.

GraphicsDataTypeSFLOAT32 

32-bit signed floating-point data type.

GraphicsDataTypeUNORM24 

24-bit unsigned normalized data type.

GraphicsDataTypeUNORM24_UINT8 

32-bit packed data type that has 8 unsigned integer bits in the first component, and 24 unsigned normalized bits in the second component.

GraphicsDataTypeUNORM_PACK32_2_10_10_10 

A four-component, 32-bit packed unsigned normalized data type that has a 2-bit A component in bits 30..31, a 10-bit B component in bits 20..29, a 10-bit G component in bits 10..19, and a 10-bit R component in bits 0..9.

GraphicsDataTypeSNORM_PACK32_2_10_10_10 

A four-component, 32-bit packed signed normalized data type that has a 2-bit A component in bits 30..31, a 10-bit B component in bits 20..29, a 10-bit G component in bits 10..19, and a 10-bit R component in bits 0..9.

GraphicsDataTypeNative 

Placeholder value for GraphicsFormats that do not use the GraphicsDataType abstraction.

GraphicsFormat specifies format of graphics data used for example in textures and vertex attributes.

Enumerator
GraphicsFormatNone 

Indicates unused, empty or invalid graphics format.

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.

GraphicsFormatR8_UNORM 

One channel red 8-bit unsigned normalized format, one byte per pixel.

Note
Requires OpenGL ES 3 or rg texture extension.
GraphicsFormatR8_UINT 

One channel red 8-bit unsigned integer format, one byte per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR8_SINT 

One channel red 8-bit signed integer format, one byte per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR8G8_UNORM 

Two channel red green 8-bit unsigned normalized format, two bytes per pixel.

Note
Requires OpenGL ES 3 or rg texture extension.
GraphicsFormatR8G8_UINT 

Two channel red green 8-bit unsigned integer format, two bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR8G8_SINT 

Two channel red green 8-bit signed integer format, two bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR8G8B8_UNORM 

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

GraphicsFormatR8G8B8_SRGB 

Three channel RGB 8-bit unsigned normalized format in sRGB color space, three bytes per pixel.

GraphicsFormatR8G8B8_UINT 

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

Note
Requires OpenGL ES 3.
GraphicsFormatR8G8B8_SINT 

Three channel RGB 8-bit signed integer format, three bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR8G8B8A8_UNORM 

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

GraphicsFormatR8G8B8A8_SRGB 

Four channel RGB and alpha 8-bit unsigned normalized format in sRGB color space, four bytes per pixel.

GraphicsFormatR8G8B8A8_UINT 

Four channel RBGA 8-bit unsigned integer format, four bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR8G8B8A8_SINT 

Four channel RBGA 8-bit signed integer format, four bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR16_UINT 

One channel red 16-bit unsigned integer format, two bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR16_SINT 

One channel red 16-bit signed integer format, two bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR16_SFLOAT 

One channel red 16-bit half float format, two bytes per pixel.

Note
Requires OpenGL ES 3 or ES 2 with extensions.
GraphicsFormatR16G16_UINT 

Two channel red green 16-bit unsigned integer format, four bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR16G16_SINT 

Two channel red green 16-bit signed integer format, four bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR16G16_SFLOAT 

Two channel red green 16-bit half float format, four bytes per pixel.

Note
Requires OpenGL ES 3 or ES 2 with extensions.
GraphicsFormatR16G16B16_UINT 

Three channel RGB 16-bit unsigned integer format, six bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR16G16B16_SINT 

Three channel RGB 16-bit signed integer format, six bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR16G16B16_SFLOAT 

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

Note
Requires OpenGL ES 3 or ES 2 with extensions.
GraphicsFormatR16G16B16A16_UINT 

Four channel RGBA 16-bit unsigned integer format, eight bytes per pixel.

Note
Requires OpenGL ES 3
GraphicsFormatR16G16B16A16_SINT 

Four channel RGBA 16-bit signed integer format, eight bytes per pixel.

Note
Requires OpenGL ES 3
GraphicsFormatR16G16B16A16_SFLOAT 

Four channel RGBA 16-bit half float format, eight bytes per pixel.

Note
Requires OpenGL ES 3 or ES 2 with extensions.
GraphicsFormatR5G6B5_UNORM_PACK16 

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.

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
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.

GraphicsFormatASTC_4x4_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 4x4 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_4x4_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 4x4 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_5x4_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 5x4 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_5x4_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 5x4 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_5x5_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 5x5 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_5x5_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 5x5 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_6x5_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 6x5 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_6x5_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 6x5 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_6x6_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 6x6 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_6x6_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 6x6 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_8x5_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 8x5 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_8x5_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 8x5 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_8x6_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 8x6 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_8x6_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 8x6 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_8x8_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 8x8 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_8x8_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 8x8 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_10x5_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 10x5 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_10x5_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 10x5 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_10x6_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 10x6 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_10x6_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 10x6 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_10x8_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 10x8 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_10x8_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 10x8 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_10x10_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 10x10 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_10x10_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 10x10 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_12x10_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 12x10 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_12x10_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 12x10 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_12x12_UNORM_BLOCK 

Unsigned normalized ASTC-compressed packed 12x12 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatASTC_12x12_SRGB_BLOCK 

sRGB-corrected ASTC-compressed packed 12x12 block format.

Note
Do not change the ordering of ASTC entries in this enum.
GraphicsFormatALPHA1_LUMINANCE7_UNORM 

Two channel 1-bit alpha and 7-bit luminance unsigned normalized format, 8 bits per pixel.

GraphicsFormatALPHA4_LUMINANCE4_UNORM 

Two channel 4-bit alpha and 4-bit luminance unsigned normalized format, 8 bits per pixel.

GraphicsFormatALPHA8_LUMINANCE8_UNORM 

Two channel alpha and luminance 8-bit unsigned normalized format, 16 bits per pixel.

GraphicsFormatALPHALUMINANCE1_UNORM 

Two channel aliased single 1-bit alpha/luminance component unsigned normalized texture only format, 1 bit per pixel.

GraphicsFormatALPHALUMINANCE2_UNORM 

Two channel aliased single 2-bit alpha/luminance component unsigned normalized texture only format, 2 bits per pixel.

GraphicsFormatALPHALUMINANCE4_UNORM 

Two channel aliased single 4-bit alpha/luminance component unsigned normalized texture only format, 4 bits per pixel.

GraphicsFormatALPHALUMINANCE8_UNORM 

Two channel aliased single 8-bit alpha/luminance component unsigned normalized texture only format, 8 bits per pixel.

GraphicsFormatA1R5G5B5_UNORM 

Four channel 1-bit alpha and 5-bit RGB unsigned normalized format, 16 bits per pixel.

GraphicsFormatR5G5B5A1_UNORM 

Four channel 5-bit RGB and 1-bit alpha unsigned normalized format, 16 bits per pixel.

GraphicsFormatA4R4G4B4_UNORM 
GraphicsFormatR4G4B4A4_UNORM 

Four channel 4-bit RGB and 4-bit alpha unsigned normalized format, 16 bits per pixel.

GraphicsFormatA8R8G8B8_UNORM 

Four channel ARGB 8-bit unsigned normalized format, 32 bits per pixel.

GraphicsFormatCLUT8_UINT 

Single component 8-bit unsigned integer texture only color lookup table format, 8 bits per component.

GraphicsFormatCLUT4_UINT 

Single component 4-bit unsigned integer texture only color lookup table format, 4 bits per component.

GraphicsFormatCLUT2_UINT 

Single component 2-bit unsigned integer texture only color lookup table format, 2 bits per component.

GraphicsFormatCLUT1_UINT 

Single component 1-bit unsigned integer texture only color lookup table format, 1 bit per component.

GraphicsFormatR8_SNORM 

One channel red 8-bit signed normalized format, one byte per pixel.

Note
Requires OpenGL ES 3
GraphicsFormatR32_UINT 

One channel red 32-bit unsigned integer format, four bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR32_SINT 

One channel red 32-bit signed integer format, four byte per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR32_SFLOAT 

One channel red 32-bit float format, four bytes per pixel.

Note
Requires OpenGL ES 3 or ES 2 with extensions.
GraphicsFormatR8G8_SNORM 

Two channel red green 8-bit signed normalized format, two bytes per pixel.

Note
Requires OpenGL ES 3
GraphicsFormatR32G32_UINT 

Two channel red green 32-bit unsigned integer format, eight bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR32G32_SINT 

Two channel red green 32-bit signed integer format, eight bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR32G32_SFLOAT 

Two channel red green 32-bit float format, eight bytes per pixel.

Note
Requires OpenGL ES 3 or ES 2 with extensions.
GraphicsFormatR8G8B8_SNORM 

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

Note
Requires OpenGL ES 3
GraphicsFormatR32G32B32_UINT 

Three channel RGB 32-bit unsigned integer format, twelve bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR32G32B32_SINT 

Three channel RGB 32-bit signed integer format, twelve bytes per pixel.

Note
Requires OpenGL ES 3.
GraphicsFormatR32G32B32_SFLOAT 

Three channel red green blue 32-bit float format, twelve bytes per pixel.

Note
Requires OpenGL ES 3 or ES 2 with extensions.
GraphicsFormatR8G8B8A8_SNORM 

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

Note
Requires OpenGL ES 3
GraphicsFormatR32G32B32A32_UINT 

Four channel RGBA 32-bit signed integer format, sixteen bytes per pixel.

Note
Requires OpenGL ES 3
GraphicsFormatR32G32B32A32_SINT 

Four channel RGBA 32-bit signed integer format, sixteen bytes per pixel.

Note
Requires OpenGL ES 3
GraphicsFormatR32G32B32A32_SFLOAT 

Four channel RGB and alpha 32-bit float format, sixteen bytes per pixel.

Note
Requires OpenGL ES 3 or ES 2 with extensions.
GraphicsFormatR16_UNORM 

Single channel Red 16-bit unsigned normalized, two bytes per pixel.

See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16_SNORM 

Single channel Red 16-bit signed normalized, two bytes per pixel.

See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16_UNORM 

Two channel RG 16-bit unsigned normalized, four bytes per pixel.

See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16_SNORM 

Two channel RG 16-bit signed normalized, four bytes per pixel.

See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16B16_UNORM 

Three channel RGB 16-bit unsigned normalized, six bytes per pixel.

See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16B16_SNORM 

Three channel RGB 16-bit signed normalized, six bytes per pixel.

See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16B16A16_UNORM 

Four channel RGBA 16-bit unsigned normalized, eight bytes per pixel.

See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16B16A16_SNORM 

Four channel RGBA 16-bit signed normalized, eight bytes per pixel.

See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatGlRangeBegin 

The first format in the range of valid, usable GL graphics formats.

GraphicsFormatGlRangeEnd 

The last format in the range of valid, usable GL graphics formats.

GraphicsFormatR_DRW2D_PIXELFORMAT_ALPHA8 

Single channel alpha 8-bit unsigned normalized framebuffer only format, 8 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_LUM8 

Single channel luminance 8-bit unsigned normalized framebuffer only format, 8 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_AL17 

Two channel 1-bit alpha and 7-bit luminance unsigned normalized format, 8 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_AL44 

Two channel 4-bit alpha and 4-bit luminance unsigned normalized format, 8 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_AL88 

Two channel alpha and luminance 8-bit unsigned normalized format, 16 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_AL1 

Two channel aliased single 1-bit alpha/luminance component unsigned normalized texture only format, 1 bit per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_AL2 

Two channel aliased single 2-bit alpha/luminance component unsigned normalized texture only format, 2 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_AL4 

Two channel aliased single 4-bit alpha/luminance component unsigned normalized texture only format, 4 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_AL8 

Two channel aliased single 8-bit alpha/luminance component unsigned normalized texture only format, 8 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_RGB565 

Three channel RGB 5, 6, 5-bit unsigned normalized format, 16 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB1555 

Four channel 1-bit alpha and 5-bit RGB unsigned normalized format, 16 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA5551 

Four channel 5-bit RGB and 1-bit alpha unsigned normalized format, 16 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB4444 

Four channel 4-bit alpha and 4-bit RGB unsigned normalized format, 16 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA4444 

Four channel 4-bit RGB and 4-bit alpha unsigned normalized format, 16 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB8888 

Four channel ARGB 8-bit unsigned normalized format, 32 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA8888 

Four channel RGBA 8-bit unsigned normalized format, 32 bits per pixel.

GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_8 

Single component 8-bit unsigned integer texture only color lookup table format, 8 bits per component.

GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_4 

Single component 4-bit unsigned integer texture only color lookup table format, 4 bits per component.

GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_2 

Single component 2-bit unsigned integer texture only color lookup table format, 2 bits per component.

GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_1 

Single component 1-bit unsigned integer texture only color lookup table format, 1 bit per component.

GraphicsFormatFullRangeBegin 

The first format in the full range of graphics formats, including invalid values.

GraphicsFormatFullRangeEnd 

The last format in the full range of graphics formats, including invalid values.

Clear target options for renderer.

Enumerator
GraphicsClearTargetColor0 

Clear target color buffer 0.

GraphicsClearTargetColor1 

Clear target color buffer 1.

GraphicsClearTargetColor2 

Clear target color buffer 2.

GraphicsClearTargetColor3 

Clear target color buffer 3.

Clear target depth.

GraphicsClearTargetDepth 
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.

GraphicsCompareFunctionAlways 

Always passes.

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).

GraphicsCompareFunctionDisabled 

Compare/test is disabled.

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.

GraphicsStencilOperationIncrement 

Increases current stencil buffer value.

GraphicsStencilOperationIncrementWrap 

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

GraphicsStencilOperationDecrement 

Decreases current stencil buffer value.

GraphicsStencilOperationDecrementWrap 

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

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 

Invalid primitive type.

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 

Solid fill mode.

GraphicsFillModeWireframe 

Wireframe fill mode.

List of shader types.

Enumerator
ShaderTypeInvalid 

Not a valid shader.

ShaderTypeVertex 

Vertex shader.

ShaderTypeFragment 

Fragment shader.

How GraphicsFormat is used.

Enumerator
GraphicsFormatFeatureRenderbuffer 

Can be used as renderbuffer (0x1)

GraphicsFormatFeatureSampledImage 

Can be sampled from (0x2)

GraphicsFormatFeatureSampledImageFilterLinear 

Can be used with a sampler that uses linear filtering (0x4)

GraphicsFormatFeatureColorAttachment 

Can be used as a framebuffer color attachment and as an input attachment (0x8)

GraphicsFormatFeatureColorAttachmentBlend 

Can be used as a framebuffer color attachment that supports blending and as an input attachment (0x10)

GraphicsFormatFeatureDepthStencilAttachment 

Can be used as a framebuffer depth/stencil attachment and as an input attachment (0x20)

GraphicsFormatFeatureBlitSource 

Can be used as source image for blit operation (0x40)

GraphicsFormatFeatureBlitDestination 

Can be used as destination image for blit operation (0x80)

GraphicsFormatFeatureVertexBuffer 
GraphicsFormatFeatureUniformTexelBuffer 
GraphicsFormatFeatureStorageTexelBuffer 
GraphicsFormatFeatureStorageTexelBufferAtomic 
GraphicsFormatFeatureStorageImage 

Can be used as storage image.

GraphicsFormatFeatureStorageImageAtomic 

can be used as storage image that supports atomic operations

GraphicsFormatFeatureRenderbufferMask 

Combined mask for renderbuffer features.

GraphicsFormatFeatureTextureMask 

Combined mask for texture features.

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.

Touch point state.

Enumerator
KZU_INPUT_TOUCH_POINT_STATE_DOWN 

The point has been created by touching the screen.

KZU_INPUT_TOUCH_POINT_STATE_STATIONARY 

The point has not moved since last report.

KZU_INPUT_TOUCH_POINT_STATE_MOVE 

The point has moved since last report.

KZU_INPUT_TOUCH_POINT_STATE_UP 
Enumerator
KzbProgramTypeSeparate 
KzbProgramTypeCombined 
Enumerator
KzbTextureTypeOneDimensional 
KzbTextureTypeTwoDimensional 
KzbTextureTypeThreeDimensional 
KzbTextureTypeCubeMap 
KzbTextureTypeRenderTarget 
KzbTextureTypeGenerated 
KzbTextureTypeRenderTargetCubeMap 
KzbTextureTypeMultiRenderTarget 
KzbTextureTypeDepthRenderTarget 
Enumerator
KzbTextureFormatRGB_8 
KzbTextureFormatRGBA_8 
KzbTextureFormatRGB_FLOAT_16 
KzbTextureFormatRGBA_FLOAT_16 
KzbTextureFormatRGB_FLOAT_32 
KzbTextureFormatRGBA_FLOAT_32 
KzbTextureFormatALPHA_8 
KzbTextureFormatALPHA_FLOAT_16 
KzbTextureFormatALPHA_FLOAT_32 
KzbTextureFormatRGB_565 
KzbTextureFormatGRAYSCALE_8 
KzbTextureFormatGRAYSCALE_ALPHA_8 
KzbTextureFormatAUTOMATIC 
KzbTextureFormatR8_UNORM 
KzbTextureFormatR8_UINT 
KzbTextureFormatR8_SINT 
KzbTextureFormatR8G8_UNORM 
KzbTextureFormatR8G8_UINT 
KzbTextureFormatR8G8_SINT 
KzbTextureFormatR8G8B8A8_UINT 
KzbTextureFormatR8G8B8A8_SINT 
KzbTextureFormatR16_UINT 
KzbTextureFormatR16_SINT 
KzbTextureFormatR16_SFLOAT 
KzbTextureFormatR16G16_UINT 
KzbTextureFormatR16G16_SINT 
KzbTextureFormatR16G16_SFLOAT 
KzbTextureFormatR16G16B16A16_UINT 
KzbTextureFormatR16G16B16A16_SINT 
KzbTextureFormatA2B10G10R10_UNORM_PACK32 
KzbTextureFormatA2B10G10R10_UINT_PACK32 
KzbTextureFormatSRGB_R8G8B8_UNORM 
KzbTextureFormatSRGB_R8G8B8A8_UNORM 
KzbTextureFormatR8_SNORM 
KzbTextureFormatR32_UINT 
KzbTextureFormatR32_SINT 
KzbTextureFormatR32_SFLOAT 
KzbTextureFormatR8G8_SNORM 
KzbTextureFormatR32G32_UINT 
KzbTextureFormatR32G32_SINT 
KzbTextureFormatR32G32_SFLOAT 
KzbTextureFormatR8G8B8_SNORM 
KzbTextureFormatR32G32B32_UINT 
KzbTextureFormatR32G32B32_SINT 
KzbTextureFormatR8G8B8A8_SNORM 
KzbTextureFormatR32G32B32A32_UINT 
KzbTextureFormatR32G32B32A32_SINT 
KzbTextureFormatR16G16B16_UINT 
KzbTextureFormatR16G16B16_SINT 
KzbTextureFormatR16_UNORM 
KzbTextureFormatR16_SNORM 
KzbTextureFormatR16G16_UNORM 
KzbTextureFormatR16G16_SNORM 
KzbTextureFormatR16G16B16_UNORM 
KzbTextureFormatR16G16B16_SNORM 
KzbTextureFormatR16G16B16A16_UNORM 
KzbTextureFormatR16G16B16A16_SNORM 
KzbTextureFormatSPANSION_A8R8G8B8 
KzbTextureFormatSPANSION_R8G8B8 
KzbTextureFormatSPANSION_R6G6B6 
KzbTextureFormatSPANSION_R5G6B5 
KzbTextureFormatSPANSION_A4R4G4B4 
KzbTextureFormatSPANSION_A1R5G5B5 
KzbTextureFormatSPANSION_A8PAL8 
KzbTextureFormatSPANSION_A8 
KzbTextureFormatSPANSION_PAL8 
KzbTextureFormatSPANSION_PAL4 
KzbTextureFormatSPANSION_A4 
KzbTextureFormatSPANSION_A1 
KzbTextureFormatDEPTH_COMPONENT 
KzbTextureFormatDEPTH_COMPONENT_16 
KzbTextureFormatDEPTH_COMPONENT_24 
KzbTextureFormatDEPTH_COMPONENT_32 
KzbTextureFormatDEPTH_COMPONENT_32F 
KzbTextureFormatDEPTH_24_STENCIL_8 
KzbTextureFormatSTENCIL_8 
Enumerator
KzbTextureFilterNearest 
KzbTextureFilterLinear 
Enumerator
KzbTextureMipmapModeBase 
KzbTextureMipmapModeNearest 
KzbTextureMipmapModeLinear 
Enumerator
KzbTextureWrapModeRepeat 
KzbTextureWrapModeClamp 

Function Documentation

template<typename T , size_t Size, typename U >
bool kanzi::contains ( const array< T, Size > &  c,
const U &  value 
)
template<class T , class D >
T kanzi::prev ( t,
d 
)
template<class T >
T kanzi::prev ( t)
template<class T >
T::iterator kanzi::begin ( T &  t)
template<class T >
T::iterator kanzi::end ( T &  t)
template<class T >
T::reverse_iterator kanzi::rbegin ( T &  t)
template<class T >
T::reverse_iterator kanzi::rend ( T &  t)
template<class T >
T::const_iterator kanzi::cbegin ( T const &  t)
template<class T , size_t N>
const T* kanzi::cbegin ( const T(&)  array[N])
template<class T >
T::const_iterator kanzi::cend ( T const &  t)
template<class T , size_t N>
const T* kanzi::cend ( const T(&)  array[N])
template<class T >
T::const_reverse_iterator kanzi::crbegin ( T const &  t)
template<class T >
T::const_reverse_iterator kanzi::crend ( T const &  t)
template<typename TBase , typename T >
shared_ptr<T> kanzi::make_polymorphic_shared_ptr ( T *  p)
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
float kanzi::strtof ( const char *  val,
char **  end_ptr 
)
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 
)
from_chars_result kanzi::from_chars ( const char *  first,
const char *  last,
int &  value,
int  base = 10 
)
inline

Converts character range to int value.

This is available since C++14. According to the standard specification this function should not depend on locale. This implementation does use local to convert character range to value.

Parameters
firstPointer to first character in range to be converted
lastPointer to first character beyond last in range to be converted
valueReference to the storage where converted value is stored
baseBase to be used to convert integer value
Returns
Result of the value conversion
template<typename T , typename A , typename U >
void kanzi::erase ( vector< T, A > &  c,
const U &  value 
)
template<typename T , typename A , typename U >
void kanzi::erase_if ( vector< T, A > &  c,
const U &  predicate 
)
template<typename T , typename A , typename U >
bool kanzi::contains ( const vector< T, A > &  c,
const U &  value 
)
KANZI_API kzString kanzi::kzErrorCodeToString ( kzsError  code)
template<>
string kanzi::logArgumentToString ( const LegacyError legacyError)
inline

Used by logging system to convert legacy exception type objects to string.

See template logArgumentToString().

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 string kanzi::readAsText ( File file)

Loads contents of a file into a string.

Parameters
fileThe file to load. Upon successful return the file offset is set to the end of the file.
Returns
String containing the contents of the file from the current file offset to the end of the file.
template<typename T >
string kanzi::logArgumentToString ( const T &  value)

The logging subsystem uses this function to convert a value to string.

The Logging subsystem uses this function internally to convert log message format arguments to string, when the type of the format argument is user-defined. See Log message argument format specification.

If you define your own type and want to use objects of that type as format arguments in formatted log messages, you must provide specialization of this function template for the type you defined, or provide overload of the operator<< for your type required by the default implementation of this template function.

Parameters
valueThe value to be converted to string.
Returns
The string representation of value.
ColorRGBA kanzi::componentAbs ( ColorRGBA  v)
inline

Calculates component wise absolute value for all elements and returns resulting color.

Parameters
vColor input.
Returns
The result color.
ColorRGBA kanzi::componentCeil ( ColorRGBA  v)
inline

Calculates component wise ceil value for all elements and returns resulting color.

Parameters
vColor input.
Returns
The result color.
ColorRGBA kanzi::componentFloor ( ColorRGBA  v)
inline

Calculates component wise floor value for all elements and returns resulting color.

Parameters
vColor input.
Returns
The result color.
ColorRGBA kanzi::componentRound ( ColorRGBA  v)
inline

Calculates component wise rounded value for all elements and returns resulting color.

Parameters
vColor input.
Returns
The result color.
ColorRGBA kanzi::componentSqrt ( ColorRGBA  v)
inline

Calculates component wise square root all elements and returns resulting color.

Parameters
vColor input.
Returns
The result color.
ColorRGBA kanzi::componentWiseMax ( ColorRGBA  v1,
ColorRGBA  v2 
)
inline

Calculates 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 component wise minimum for all color elements and returns 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 resulting color.

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

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

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

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

Parameters
v1The first color.
v2The second color.
Returns
The result color.
ColorRGBA kanzi::componentAdd ( ColorRGBA  v,
float  scalar 
)
inline

Adds a value to all color elements and returns the resulting color.

Parameters
vColor.
scalarValue
Returns
Result color.
ColorRGBA kanzi::componentSubtract ( ColorRGBA  v,
float  scalar 
)
inline

Subtracts a value from all color elements and returns the resulting color.

Parameters
vColor.
scalarValue
Returns
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.
float kanzi::sRGBToLinear ( float  cs)

Conversion from sRGB to linear for default gamma 2.2.

See also
https://en.wikipedia.org/wiki/SRGB
float kanzi::linearTosRGB ( float  cl)

Conversion from linear to sRGB for default gamma 2.2.

See also
https://en.wikipedia.org/wiki/SRGB
ColorRGBA kanzi::sRGBToLinear ( ColorRGBA  cs)
inline

Conversion to whole ColorRGBA from sRGB to linear.

Parameters
csColor in sRGB format.
Returns
Color in linear format.
ColorRGBA kanzi::linearTosRGB ( ColorRGBA  cs)
inline

Conversion to whole ColorRGBA from linear to sRGB.

Parameters
csColor in linear format.
Returns
Color in sRGB format.
KANZI_API uint16_t kanzi::floatToHalfFloat ( float  f)

Converts float to 16 bits representing a half float.

KANZI_API float kanzi::halfFloatToFloat ( uint16_t  halfFloatNumber)

Converts 16 bits representing a half float to a float.

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
mLeft hand side matrix.
vRight 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
m1Left hand side matrix.
m2Right 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
m1Left hand side matrix.
m2Right 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::multiplyAffine ( 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 
)
template<typename T >
Rectangle<T> kanzi::intersection ( const Rectangle< T > &  rectangle1,
const Rectangle< T > &  rectangle2 
)
Vector2 kanzi::componentAbs ( Vector2  v)
inline

Calculates component wise absolute value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector2 kanzi::componentCeil ( Vector2  v)
inline

Calculates component wise ceil value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector2 kanzi::componentFloor ( Vector2  v)
inline

Calculates component wise floor value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector2 kanzi::componentRound ( Vector2  v)
inline

Calculates component wise rounded value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector2 kanzi::componentSqrt ( Vector2  v)
inline

Calculates component wise square root all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
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::componentWiseRemainder ( Vector2  v1,
Vector2  v2 
)
inline

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

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector2 kanzi::componentAdd ( Vector2  v,
float  scalar 
)
inline

Adds a value to all elements of a vector and returns the result.

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

Subtracts a value from all elements of a vector and returns the result.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
bool kanzi::componentAllLessThan ( Vector2  a,
Vector2  b 
)
inline

Returns true if each component of the first vector is less than the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is less than the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllLessThanOrEqual ( Vector2  a,
Vector2  b 
)
inline

Returns true if each component of the first vector is less than or equal to the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is less than or equal to the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllGreaterThan ( Vector2  a,
Vector2  b 
)
inline

Returns true if each component of the first vector is greater than the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is greater than the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllGreaterThanOrEqual ( Vector2  a,
Vector2  b 
)
inline

Returns true if each component of the first vector is greater than or equal to the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is greater than or equal to the corresponding component of the second vector, false otherwise.
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::componentAbs ( Vector3  v)
inline

Calculates component wise absolute value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector3 kanzi::componentCeil ( Vector3  v)
inline

Calculates component wise ceil value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector3 kanzi::componentFloor ( Vector3  v)
inline

Calculates component wise floor value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector3 kanzi::componentRound ( Vector3  v)
inline

Calculates component wise rounded value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector3 kanzi::componentSqrt ( Vector3  v)
inline

Calculates component wise square root all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
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::componentWiseDivide ( Vector3  v1,
Vector3  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.
Vector3 kanzi::componentWiseRemainder ( Vector3  v1,
Vector3  v2 
)
inline

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

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector3 kanzi::componentAdd ( Vector3  v,
float  scalar 
)
inline

Adds a value to all elements of a vector and returns the result.

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

Subtracts a value from all elements of a vector and returns the result.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
bool kanzi::componentAllLessThan ( Vector3  a,
Vector3  b 
)
inline

Returns true if each component of the first vector is less than the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is less than the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllLessThanOrEqual ( Vector3  a,
Vector3  b 
)
inline

Returns true if each component of the first vector is less than or equal to the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is less than or equal to the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllGreaterThan ( Vector3  a,
Vector3  b 
)
inline

Returns true if each component of the first vector is greater than the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is greater than the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllGreaterThanOrEqual ( Vector3  a,
Vector3  b 
)
inline

Returns true if each component of the first vector is greater than or equal to the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is greater than or equal to the corresponding component of the second vector, false otherwise.
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::componentAbs ( Vector4  v)
inline

Calculates component wise absolute value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector4 kanzi::componentCeil ( Vector4  v)
inline

Calculates component wise ceil value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector4 kanzi::componentFloor ( Vector4  v)
inline

Calculates component wise floor value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector4 kanzi::componentRound ( Vector4  v)
inline

Calculates component wise rounded value for all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
Vector4 kanzi::componentSqrt ( Vector4  v)
inline

Calculates component wise square root all elements and returns resulting vector.

Parameters
vVector input.
Returns
The result vector.
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::componentWiseDivide ( Vector4  v1,
Vector4  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.
Vector4 kanzi::componentWiseRemainder ( Vector4  v1,
Vector4  v2 
)
inline

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

Parameters
v1The first vector.
v2The second vector.
Returns
The result vector.
Vector4 kanzi::componentAdd ( Vector4  v,
float  scalar 
)
inline

Adds a value to all elements of a vector and returns the result.

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

Subtracts a value from all elements of a vector and returns the result.

Parameters
vA vector.
scalarA scalar.
Returns
The result vector.
bool kanzi::componentAllLessThan ( Vector4  a,
Vector4  b 
)
inline

Returns true if each component of the first vector is less than the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is less than the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllLessThanOrEqual ( Vector4  a,
Vector4  b 
)
inline

Returns true if each component of the first vector is less than or equal to the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is less than or equal to the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllGreaterThan ( Vector4  a,
Vector4  b 
)
inline

Returns true if each component of the first vector is greater than the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is greater than the corresponding component of the second vector, false otherwise.
bool kanzi::componentAllGreaterThanOrEqual ( Vector4  a,
Vector4  b 
)
inline

Returns true if each component of the first vector is greater than or equal to the corresponding component of the second vector.

Parameters
aFirst vector.
bSecond vector.
Returns
True if each component of the first vector is greater than or equal to the corresponding component of the second vector, false otherwise.
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.
template<typename T >
void kanzi::registerMetaclass ( ObjectFactory objectFactory)
template<typename T >
void kanzi::overrideMetaclass ( ObjectFactory objectFactory)
KANZI_API wstring kanzi::convertUTF8ToWideChar ( string_view  utf8)

Converts a given UTF-8 string view into a Win32-compatible wide character string.

Parameters
utf8String to convert. Must be UTF-8.
Returns
Corresponding wide character string.
KANZI_API string kanzi::convertWideCharToUTF8 ( wstring_view  wchar)

Converts a given Win32-compatible wide character string view into a UTF-8 string.

Parameters
wcharWide character string to convert.
Returns
Corresponding UTF-8 string.
Win32String kanzi::convertUTF8ToWin32 ( string_view  utf8)
inline
Win32String kanzi::convertWideCharToWin32 ( wstring_view  wchar)
inline
string kanzi::convertWin32ToUTF8 ( Win32StringView  win32)
inline
wstring kanzi::convertWin32ToWideChar ( Win32StringView  win32)
inline
timespec kanzi::millisecondsToTimespec ( chrono::milliseconds  ms)

Converts C++ milliseconds to POSIX native nanosecond format.

timeval kanzi::millisecondsToTimeval ( chrono::milliseconds  ms)

Converts C++ milliseconds to POSIX native microsecond format.

KANZI_API PropertyTypeRegistry::const_iterator kanzi::beginPropertyTypes ( )

Get iterator to the beginning of registry of all property types.

Returns
A const iterator to the beginning of property type registry.
KANZI_API PropertyTypeRegistry::const_iterator kanzi::endPropertyTypes ( )

Get iterator to the end of registry of all property types.

Returns
A const iterator to the end of property type registry.
bool kanzi::operator== ( string_view  left,
FixedString  right 
)
inline
bool kanzi::operator== ( FixedString  left,
string_view  right 
)
inline
bool kanzi::operator!= ( string_view  left,
FixedString  right 
)
inline
bool kanzi::operator!= ( FixedString  left,
string_view  right 
)
inline
string kanzi::to_string ( FixedString  fixedString)
inline
KANZI_API vector<string> kanzi::splitString ( const string &  source,
const string &  delimiter 
)

Splits string to tokens.

Use this function to split string source to substrings using delimiter. This function returns vector of resulting substrings. The substrings do not include delimiter.

Example:

splitString(string("123;456;"), ";") returns vector of strings: { "123", "456", "" }

Parameters
sourceThe string that will be split.
delimiterThe delimiter that is used for splitting.
Returns
The vector of substrings.
KANZI_API vector<string_view> kanzi::splitString ( string_view  source,
string_view  delimiter 
)

Splits string view to tokens.

Use this function to split string view source to substrings using delimiter. This function returns vector of resulting substrings. The substrings do not include delimiter.

Prefer this function over splitString function above to avoid extra cost.

Example:

splitString(string_view("123;456;"), ";") returns vector of string views: { "123", "456", "" }

Parameters
sourceThe string view that will be split.
delimiterThe delimiter that is used for splitting.
Returns
The vector of substrings.
KANZI_API unsigned char kanzi::toLower ( unsigned char  ch)

Wrapper for tolower() that returns unsigned char.

KZ_INLINE void kanzi::resetStopWatch ( StopWatch stopWatch)

Resets the stop watch.

This is a convenience function that calls StopWatch::getDeltaTime().

optional<TimeInterval> kanzi::getIntersection ( const TimeInterval first,
const TimeInterval second 
)

Gets intersection of two intervals.

Parameters
firstFirst interval.
secondSecond interval.
Returns
Intersection interval or empty optional if intervals are not intersecting.
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
const ResourceSharedPtr& kanzi::animationInterpolate ( const ResourceSharedPtr from,
const ResourceSharedPtr 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
template<typename T >
T kanzi::animationConcatenate ( const T &  lhs,
const T &  rhs 
)
bool kanzi::animationConcatenate ( bool  lhs,
bool  rhs 
)
inline
ResourceSharedPtr kanzi::animationConcatenate ( ResourceSharedPtr  ,
ResourceSharedPtr  rhs 
)
inline
SRTValue2D kanzi::animationConcatenate ( const SRTValue2D lhs,
const SRTValue2D rhs 
)
inline
SRTValue3D kanzi::animationConcatenate ( const SRTValue3D lhs,
const SRTValue3D rhs 
)
inline
void kanzi::registerTimelineLoaders ( ObjectLoader objectLoader)

Registers loaders for build-in timeline types.

KANZI_API void kanzi::load ( ApplicationProperties applicationProperties,
string_view  configurationFilePath 
)

Loads application properties from configuration INI file.

If property is not specified in configuration file, nothing will be written to appropriate field of application properties.

Parameters
applicationPropertiesApplication properties where loaded property values are written.
configurationFilePathPath to configuration file.
KANZI_API void kanzi::load ( ApplicationProperties applicationProperties,
const SystemProperties systemProperties 
)

Loads application properties from system properties.

If property is not specified in system properties, nothing will be written to appropriate field of application properties.

Parameters
applicationPropertiesApplication properties where loaded property values are written.
systemPropertiesSystem properties where to read property values from.
KANZI_API void kanzi::appendSkipSystemInitialization ( SystemProperties systemProperties)

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

Parameters
systemPropertiesSystem properties where skip system initialization property is added.
KANZI_API bool kanzi::hasSkipSystemInitialization ( const SystemProperties systemProperties)

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

System properties where to look for the property.

Returns
Returns true if system properties contain the property, false otherwise.
KANZI_API string_view kanzi::findConfigurationName ( const SystemProperties systemProperties,
string_view  defaultConfigurationName 
)

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

Parameters
systemPropertiesSystem properties where to look for the argument.
defaultConfigurationNameDefault configuration name which is returned if config argument is not found.
Returns
Returns configuration name from config argument.
KANZI_API bool kanzi::hasToken ( const SystemProperties systemProperties,
string_view  token 
)

Checks if system properties contain specified token.

Parameters
systemPropertiesSystem properties where to look for the token.
tokenToken name.
Returns
Returns true if system properties contain the token, false otherwise.
KANZI_API size_t kanzi::getRuntimeAssetDataSize ( )

Gets size of runtime asset data.

Returns
Data size in bytes.
KANZI_API const byte* kanzi::getRuntimeAssetData ( )

Gets runtime asset data.

Returns
Pointer to runtime asset data.
KANZI_API KzuBinaryDirectory* kanzi::createRuntimeAssetsDirectory ( KzcMemoryManager memoryManager)

Create runtime asset binary directory.

Uses old binary format.

Parameters
memoryManagerMemory manager to use.
Returns
Newly created binary directory.
KANZI_API void kanzi::registerRuntimeAssets ( Domain domain)

Registers build-in runtime assets in resource manager of domain so they can be acquired at runtime.

Parameters
resourceManagerDomain in resource manager of which to register runtime assets.
KANZI_API BindingSharedPtr kanzi::loadBinding ( KzcInputStream inputStream,
Domain domain,
const KzuBinaryFileInfo file 
)

Loads a binding from stream.

KANZI_API BindingSharedPtr kanzi::loadBinding ( KzbFile kzbFile,
KzbMemoryParser parser 
)

Loads binding from KZB.

Parameters
kzbFileKZB file to load bindings from.
parserParser to read bindings from.
Returns
Binding.
KANZI_API void kanzi::loadBindings ( KzbFile kzbFile,
KzbMemoryParser parser,
vector< BindingSharedPtr > &  bindings 
)

Loads bindings from KZB.

Parameters
kzbFileKZB file to load bindings from.
parserParser to read bindings from.
bindingsBindings container where loaded bindings are stored.
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.

KANZI_API BitmapImageUniquePtr kanzi::loadImage ( Domain domain,
string_view  imageUrl,
bool  isInCubemap 
)

Loads an image from KZB file.

Parameters
domainDomain.
imageUrlURL of the image.
isInCubemapWhether the loaded image will be used as a cubemap face.
Returns
The loaded image.
KANZI_API BitmapImageUniquePtr kanzi::loadNativeImage ( Domain domain,
NativeDeploymentTarget  target,
string_view  imageUrl,
bool  isInCubemap 
)

Loads an image from KZB file with backend specific deployment target.

Parameters
domainDomain.
targetThe native deployment target to use.
imageUrlURL of the image.
isInCubemapWhether the loaded image will be used as a cubemap face.
Returns
The loaded image.
KANZI_API BitmapImageUniquePtr kanzi::imageLoadPNG ( KzcInputStream stream,
string_view  name = "" 
)

Loads a PNG image from an input stream.

Parameters
streamThe input stream to read from.
name(Optional) A name for the image.
Returns
Unique pointer to the loaded image.
KANZI_API BitmapImageUniquePtr kanzi::imageLoadJPEG ( KzcInputStream stream,
string_view  name = "" 
)

Loads a JPEG image from an input stream.

Parameters
streamThe input stream to read from.
name(Optional) A name for the image.
Returns
Unique pointer to the loaded image.
KANZI_API BitmapImageUniquePtr kanzi::imageLoadPVRTC ( KzcInputStream stream,
string_view  name = "" 
)

Loads a PVRTC image from an input stream.

Parameters
streamThe input stream to read from.
name(Optional) A name for the image.
Returns
Unique pointer to the loaded image.
KANZI_API BitmapImageUniquePtr kanzi::imageLoadETC ( KzcInputStream stream,
string_view  name = "" 
)

Loads an ETC image from an input stream.

Parameters
streamThe input stream to read from.
name(Optional) A name for the image.
Returns
Unique pointer to the loaded image.
KANZI_API BitmapImageUniquePtr kanzi::imageLoadATC ( KzcInputStream stream,
string_view  name = "" 
)

Loads an ATC image from an input stream.

Parameters
streamThe input stream to read from.
name(Optional) A name for the image.
Returns
Unique pointer to the loaded image.
KANZI_API BitmapImageUniquePtr kanzi::imageLoadASTC ( KzcInputStream stream,
string_view  name = "" 
)

Loads an ASTC image from an input stream.

This is expected to contain a KZB-specific header with block size and other metadata.

You may also load ASTC compressed textures directly by passing the correct surface format, width and height to BitmapImage::createFromMemory.

Parameters
streamThe input stream to read from.
name(Optional) A name for the image.
Returns
Unique pointer to the loaded image.
KANZI_API BitmapImageUniquePtr kanzi::imageLoadRaw2D ( KzcInputStream stream,
string_view  name = "" 
)

Loads a Raw2D image from an input stream.

Parameters
streamThe input stream to read from.
name(Optional) A name for the image.
Returns
Unique pointer to the loaded image.
KANZI_API void kanzi::imageSavePNG ( const BitmapImage image,
KzcOutputStream stream 
)

Saves an image as a PNG to an output stream.

Parameters
imageThe image.
streamThe output stream to write to.
KANZI_API void kanzi::imageSavePNGPaletted ( const BitmapImage image,
KzcOutputStream stream 
)

Saves an image as a paletted PNG to an output stream.

Parameters
imageThe image.
streamThe output stream to write to.
KANZI_API void kanzi::imageSaveJPEG ( const BitmapImage image,
KzcOutputStream stream,
float  quality = 1.0f 
)

Saves an image as a JPEG to an output stream.

Parameters
imageThe image.
streamThe output stream to write to.
qualityThe JPEG compression quality between 0..1, 1 being the best quality.
KANZI_API bool kanzi::isValid ( GraphicsFormat  format)

Indicates whether format is valid.

Parameters
formatgraphics format to query.
Returns
True if format is valid, otherwise false.
KANZI_API unsigned int kanzi::getBitsPerBlock ( GraphicsFormat  format)

Returns number of bits per block of the specified format.

Parameters
formatGraphics format to query.
Returns
Number of bits per block of specified format. For GraphicsFormatNone, 0 is returned.
KANZI_API unsigned int kanzi::getBytesPerBlock ( GraphicsFormat  format)

Returns number of bytes per block of the specified format.

Parameters
formatGraphics format to query.
Returns
Number of bytes per block of specified format, rounded down to whole bytes.
See also
getBitsPerBlock.
KANZI_API bool kanzi::isCompressed ( GraphicsFormat  format)

Indicates whether format is compressed format or not.

Parameters
formatgraphics format to query.
Returns
True if format is compressed, otherwise false.
KANZI_API GraphicsFormat kanzi::getFallback ( GraphicsFormat  format)

Returns an alternative format which is potentially more widely supported.

Fallback format may have more bits for some or all of the component, but never less. Fallback format may have additional channels, fallback format may not drop any component. For example, if R8G8B8 texture format is not supported by graphics device. getFallback() returns R8G8B8A8 format since that is potentially more widely supported. Fallback format is a format which can represent all information of the given format.

Parameters
formatFormat for which fallback format is queried.
Returns
A fallback format for given format, or GraphicsFormatNone if no suitable format was found.
KANZI_API GraphicsFormat kanzi::getCommon ( GraphicsFormat  format1,
GraphicsFormat  format2 
)

Returns a common superset of two formats, or GraphicsFormatNone if formats cannot be combined.

The returned common format must have all channels from both given formats. For each channel, the number of bits must equal or exceed number of bits in the given formats. format1 First format

Parameters
format2Second format
Returns
Format which is compatible with both given formats, or GraphicsFormatNone if no suitable format was found.
KANZI_API GraphicsDataType kanzi::getDataType ( GraphicsFormat  format)

Returns data type of the format.

Parameters
formatFormat to query.
Returns
Data type of given format.
KANZI_API unsigned int kanzi::getChannelCount ( GraphicsFormat  format)

Returns number of unique color channels of the format.

Parameters
formatFormat to query.
Returns
Number of unique color channels of given format. If the channel count cannot be determined from the graphics format, 0 is returned.
KANZI_API unsigned int kanzi::getDataSizeBytes ( int  width,
int  height,
GraphicsFormat  format 
)

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

For block based images, number of blocks is calculated, and image size is returned as block size times number of blocks. For formats which are not block based, minimum byte-aligned stride size is calculated and height times stride size is returned.

Parameters
widthWidth of image.
heightHeight of image.
formatFormat of image.
Returns
Size of image of given size and format.
KANZI_API bool kanzi::hasColor ( GraphicsFormat  format)

Indicates whether given format has one more more color channels.

Red, green, blue, and luminance are considered color channels.

Parameters
formatFormat to query.
Returns
True if given format has any of the color channels.
KANZI_API bool kanzi::hasAlpha ( GraphicsFormat  format)

Indicates whether given format has alpha channel.

Parameters
formatFormat to query.
Returns
True if given format has alpha channel.
KANZI_API bool kanzi::hasDepth ( GraphicsFormat  format)

Indicates whether given format has depth channel.

Parameters
formatFormat to query.
Returns
True if given format has depth channel.
KANZI_API bool kanzi::hasStencil ( GraphicsFormat  format)

Indicates whether given format has stencil channel.

Parameters
formatFormat to query.
Returns
True if given format has stencil channel.
KANZI_API bool kanzi::hasAliasedChannel ( GraphicsFormat  format)

Indicates whether given format has an aliased color channel.

Parameters
formatFormat to query.
Returns
True if given format has an aliased color channel.
KANZI_API unsigned int kanzi::getBitCount ( GraphicsDataType  dataType)

Return number of bits per one element of data type.

For GraphicsDataTypeNone, 0 is returned.

Parameters
dataTypeData type to query.
Returns
Number of bits in given data type.
KANZI_API unsigned int kanzi::getBitCount ( GraphicsDataType  dataType,
unsigned int  componentCount 
)

Return number of bits per one element of data type.

For GraphicsDataTypeNone, 0 is returned.

Parameters
dataTypeData type to query.
componentCountNumber of components of the given data type in one element. If the data type is packed, this parameter is ignored and the return value is calculated from the data type alone.
Returns
Number of bits in given data type.
KANZI_API unsigned int kanzi::getByteCount ( GraphicsDataType  dataType)

Return number of bytes per one element of data type.

Parameters
dataTypeData type to query.
Returns
Number of bytes in given data type, rounded down to whole bytes.
See also
getBitCount.
KANZI_API bool kanzi::isPacked ( GraphicsDataType  dataType)

Indicates whether given data type is packed or not.

Parameters
dataTypeData type to query.
Returns
True if data type is packed. otherwise false.
KANZI_API unsigned int kanzi::getByteCount ( GraphicsDataType  dataType,
unsigned int  componentCount 
)

Returns number of bytes for graphics data.

Parameters
dataTypeData type for elements.
componentCountNumber of components of the given data type in one element. If the data type is packed, this parameter is ignored and the return value is calculated from the data type alone.
Returns
Number of bytes in graphics data, rounded down to whole bytes.
See also
getBitCount.
KANZI_API FixedString kanzi::toFixedString ( GraphicsDataType  dataType)

Returns human readable string for GraphicsDataType.

Parameters
dataTypeData type to query.
Returns
Human readable string for given graphics data type.
KANZI_API FixedString kanzi::toFixedString ( GraphicsFormat  format)

Returns human readable string for GraphicsFormat.

Parameters
formatFormat to query.
Returns
Human readable string for given graphics format.
KANZI_API optional<GraphicsFormat> kanzi::findGraphicsFormatByName ( string_view  formatName)

Returns GraphicsFormat given its name as a human readable string.

Parameters
formatNameName of the format.
Returns
GraphicsFormat corresponding to the given format name. If the format cannot be found, nullopt is returned.
CompositionRequirements kanzi::combineCompositionRequirements ( const CompositionRequirements lhs,
const CompositionRequirements rhs 
)
inline

Merge two composition requirements together.

In the combined requirement, all bits that are set in either one are set.

Parameters
lhsLeft-hand-side requirements.
rhsRight-hand-side requirements.
void kanzi::swap ( VertexAttribute attribute1,
VertexAttribute attribute2 
)
inline
void kanzi::swap ( MeshVertexAttribute attribute1,
MeshVertexAttribute attribute2 
)
inline
void kanzi::swap ( ShaderVertexAttribute attribute1,
ShaderVertexAttribute attribute2 
)
inline
KANZI_API optional<VertexAttribute::Semantic> kanzi::toVertexAttributeSemantic ( unsigned int  kzbVertexAttributeSemantic)

Converts KZB vertex attribute semantic to runtime VertexAttribute::Semantic.

Parameters
kzbVertexAttributeSemanticKZB vertex attribute semantic value.
Returns
Runtime VertexAttribute Semantic.
KANZI_API FixedString kanzi::toFixedString ( VertexAttribute::Semantic  semantic)

Returns human readable string for semantic.

Parameters
semanticVertex attribute semantic.
Returns
Human readable string for semantic.
void kanzi::swap ( Mesh::CreateInfo::Cluster &  cluster1,
Mesh::CreateInfo::Cluster &  cluster2 
)
inline
void kanzi::swap ( Mesh::CreateInfo createInfo1,
Mesh::CreateInfo createInfo2 
)
inline
KANZI_API void kanzi::writeVertexAttribute ( Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex,
size_t  component,
float  v 
)

Writes one float attribute component to vertex data.

Note
Only attributes with normalized or floating point data type are supported, packed data types are not supported by this function.
Parameters
createInfoMesh create info to edit.
vertexIndexVertex to modify.
attributeIndexVertex attribute to modify.
componentIndex of attribute component to modify.
vValue for vertex attribute component.
KANZI_API void kanzi::writeVertexAttribute ( Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex,
float  v 
)

Writes one float attribute value to vertex data.

Note
Only attributes with normalized or floating point data type are supported.
Parameters
createInfoMesh create info to edit.
vertexIndexVertex to modify.
attributeIndexVertex attribute to modify.
vValue for vertex attribute.
KANZI_API void kanzi::writeVertexAttribute ( Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex,
Vector2  v 
)

Writes one Vector2 attribute value to vertex data.

Note
Only attributes with normalized or floating point data type are supported.
Parameters
createInfoMesh create info to edit.
vertexIndexVertex to modify.
attributeIndexVertex attribute to modify.
vValue for vertex attribute.
KANZI_API void kanzi::writeVertexAttribute ( Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex,
Vector3  v 
)

Writes one Vector3 attribute value to vertex data.

Note
Only attributes with normalized or floating point data type are supported.
Parameters
createInfoMesh create info to edit.
vertexIndexVertex to modify.
attributeIndexVertex attribute to modify.
vValue for vertex attribute.
KANZI_API void kanzi::writeVertexAttribute ( Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex,
Vector4  v 
)

Writes one Vector3 attribute value to vertex data.

Note
Only attributes with normalized or floating point data type are supported.
Parameters
createInfoMesh create info to edit.
vertexIndexVertex to modify.
attributeIndexVertex attribute to modify.
vValue for vertex attribute.
KANZI_API float kanzi::readVertexAttributeComponent ( const Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex,
size_t  component 
)

Reads one attribute component of given vertex from mesh create info.

Note
Only attributes with normalized or floating point data type are supported. Packed data types are not supported by this function.
Parameters
createInfoMesh create info to read.
vertexIndexVertex to read.
attributeIndexVertex attribute to read.
componentIndex of attribute component to read.
Returns
Value of vertex attribute of given vertex.
KANZI_API float kanzi::readVertexAttributeFloat ( const Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex 
)

Reads float attribute of given vertex from mesh.

Note
Only attributes with normalized or floating point data type are supported. Packed data types are not supported by this function.
Parameters
createInfoMesh create info to read.
vertexIndexVertex to read.
attributeIndexVertex attribute to read.
Returns
Value of float attribute of given vertex.
KANZI_API Vector2 kanzi::readVertexAttributeVector2 ( const Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex 
)

Reads Vector2 attribute of given vertex from mesh.

Note
Only attributes with normalized or floating point data type are supported. Packed data types are not supported by this function.
Parameters
createInfoMesh create info to read.
vertexIndexVertex to read.
attributeIndexVertex attribute to read.
Returns
Value of Vector2 attribute of given vertex.
KANZI_API Vector3 kanzi::readVertexAttributeVector3 ( const Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex 
)

Reads Vector3 attribute of given vertex from mesh.

Note
Only attributes with normalized or floating point data type are supported.
Parameters
createInfoMesh create info to read.
vertexIndexVertex to read.
attributeIndexVertex attribute to read.
Returns
Value of Vector3 attribute of given vertex.
KANZI_API Vector4 kanzi::readVertexAttributeVector4 ( const Mesh::CreateInfo createInfo,
size_t  vertexIndex,
size_t  attributeIndex 
)

Reads Vector4 attribute of given vertex from mesh.

Note
Only attributes with normalized or floating point data type are supported.
Parameters
createInfoMesh create info to read.
vertexIndexVertex to read.
attributeIndexVertex attribute to read.
Returns
Value of Vector4 attribute of given vertex.
KANZI_API Mesh::CreateInfo kanzi::loadMeshCreateInfo ( Domain domain,
KzcInputStream inputStream,
const KzuBinaryFileInfo file 
)

Loads mesh create info from legacy KZB.

Parameters
domainDomain for mesh.
inputStreamLegacy KZB input stream.
fileLegacy KZB file.
Returns
Mesh create info.
KANZI_API Mesh::CreateInfo kanzi::loadMeshCreateInfo ( Domain domain,
KzbFile kzbFile,
ReadOnlyMemoryFile file,
KzbMemoryParser parser 
)

Loads mesh create info from KZB.

Parameters
domainDomain for mesh.
kzbFileKZB file to load from.
fileMemory file corresponding to KZB file.
parserKZB data parser.
Returns
Mesh create info.
KANZI_API Box kanzi::calculateBoundingVolume ( const Mesh::CreateInfo createInfo)

Calculates bounding box from mesh vertex data.

Parameters
createInfoMesh create info.
Returns
Bounding box for mesh vertex attributes with Position semantic.
KANZI_API void kanzi::updateVertexAttributeOffsetsAndVertexSize ( Mesh::CreateInfo createInfo)

Sets offsets for vertex attributes in mesh create info.

Parameters
createInfoMesh create info.
KANZI_API void kanzi::updateVertexAttributeStrides ( Mesh::CreateInfo createInfo)

Calculates vertex format size and updates stride to all vertex attributes in mesh create info.

Parameters
createInfoMesh create info.
KANZI_API ResourceManager::UrlContainer kanzi::collectResourceUrls ( const Mesh::CreateInfo createInfo)

For each cluster in mesh create info, get material URL, if set.

Parameters
createInfoMesh create info.
Returns
Container with material URLs.
KANZI_API void kanzi::acquireResources ( Domain domain,
Mesh::CreateInfo createInfo 
)

For each cluster in mesh create info, load material from materialURL, if set.

Parameters
Domaindomain for mesh.
createInfoMesh create info.
KANZI_API Mesh::CreateInfo kanzi::generateBox ( Vector3  size,
bool  useHalfFloat,
bool  generateNormals,
bool  generateTangents,
MaterialSharedPtr  material,
string_view  materialURL,
GPUResource::MemoryType  memoryType 
)

Makes mesh create info for box primitive mesh.

The box will have position, normal and texture coordinate attributes in one cluster, using specified material.

Parameters
widthWidth for the box.
heightHeight for the box.
depthDepth for the box.
useHalfFloatIf true, vertex attributes will use half float data type, otherwise vertex attributes will use float data type.
materialMaterial (pointer).
materialURLURL for material resource.
Returns
Mesh create info for box.
KANZI_API Mesh::CreateInfo kanzi::generateSphere ( float  radius,
unsigned int  segmentCount,
unsigned int  rowCount,
bool  useHalfFloat,
bool  generateNormals,
bool  generateTangents,
MaterialSharedPtr  material,
string_view  materialURL,
GPUResource::MemoryType  memoryType 
)

Makes mesh create info for sphere primitive mesh.

The sphere will have position, normal and texture coordinate attributes in one cluster, using specified material.

Parameters
radiusRadius for the sphere.
segmentCountNumber of segments in the sphere.
rowCountNumber of rows in the sphere.
useHalfFloatIf true, vertex attributes will use half float data type, otherwise vertex attributes will use float data type.
materialMaterial (pointer).
materialURLURL for material resource.
Returns
Mesh create info for sphere.
KANZI_API Mesh::CreateInfo kanzi::generatePlane ( float  width,
float  height,
bool  invertU,
bool  invertV,
bool  useHalfFloat,
bool  generateNormals,
bool  generateTangents,
MaterialSharedPtr  material,
string_view  materialURL,
GPUResource::MemoryType  memoryType 
)

Makes mesh create info for plane primitive mesh.

The plane will have position, normal and texture coordinate attributes in one cluster, using specified material.

Parameters
widthWidth for the plane.
heightHeight for the plane.
invertUIf true, U texture coordinate will be inverted.
invertVIf true, V texture coordinate will be inverted.
useHalfFloatIf true, vertex attributes will use half float data type, otherwise vertex attributes will use float data type.
materialMaterial (pointer).
materialURLURL for material resource.
Returns
Mesh create info for plane.
kzsError kanzi::kzuResourceManagerLoadMorph_internal ( Domain domain,
KzcInputStream inputStream,
const KzuBinaryFileInfo file,
Resource **  out_resource 
)
KANZI_API Node* kanzi::getScopeFocusedNode ( Node node)

Returns the logical focus node of the scope node.

The function skips the nested scopes and executes a fixup for the scope's logical focus nodes.

Parameters
nodeThe scope node that has logical focus children.
Returns
The node that has logical focus in the scope, null pointer if the node is not a scope or it has no logical focus child.
KANZI_API void kanzi::setScopeFocusedNode ( Node scope,
Node focus 
)

Sets the logical focus node of the given scope node.

Any previous node in the scope that had logical focus will get the state cleared.

Parameters
scopeThe scope to which the focus node is set.
focusThe node to which the logical focus is set.
KANZI_API uint32_t kanzi::getSupportedKzbFormatVersion ( )

Gets the supported KZB format version.

Returns
KZB format version number.
KANZI_API ConstByteSpan kanzi::getKzbMagic ( )

Gets the KZB magic byte sequence.

Returns
KZB magic byte sequence.
KANZI_API bool kanzi::isKzbMagic ( ConstByteSpan  data)

Tells if beginning of given byte span matches KZB magic.

Parameters
dataData to test.
Returns
True if matches KZB magic.
KANZI_API bool kanzi::isKzbMagic ( File file)

Tells if beginning of given file matches KZB magic.

Parameters
fileFile to test.
Returns
True if matches KZB magic.
KANZI_API UrlContainer kanzi::collectResourceUrls ( const KzbMemoryParser::PropertyContainer properties)

Collects URLs of all property values of Resource type.

Parameters
propertiesReference to a PropertyContainer.
KANZI_API void kanzi::applyProperties ( Object object,
const KzbMemoryParser::PropertyContainer properties 
)

Apply properties from a PropertyContainer to an Object.

Synchronously acquire any property values of Resource type.

Parameters
objectReference to an object.
propertiesReference to a PropertyContainer.
KANZI_API ObjectSharedPtr kanzi::loadEmbeddedObject ( Domain domain,
KzcInputStream inputStream,
const KzuBinaryFileInfo file 
)

Loads embedded object.

Embedded objects are objects which are stored in binary file along with their metaclass and name.

Parameters
domainDomain.
inputStreamInput stream from which to read object.
fileBinary file where object is embedded.
KANZI_API TimerSubscriptionToken kanzi::addTimerHandler ( KzuMessageDispatcher messageDispatcher,
chrono::milliseconds  interval,
KzuTimerMessageMode  mode,
TimerFunction  callback 
)
KANZI_API void kanzi::removeTimerHandler ( KzuMessageDispatcher messageDispatcher,
TimerSubscriptionToken  token 
)
KANZI_API 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
KANZI_API 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 Matrix4x4 kanzi::calculateSubProjection ( Matrix4x4  projection,
float  relativeOffsetX,
float  relativeOffsetY,
float  relativeSizeX,
float  relativeSizeY 
)

Calculate sub-quad projection of an existing projection matrix.

This is a specific solution for an axis-aligned case.

Old projection matrix = [P00 0 P02 P03] [ 0 P11 P12 P13] [ 0 0 P22 P23] [ 0 0 -1 0]

Traslated and scaled: (x, y) |–> (Ox, Oy) + (Sx * x, Sy * y) [Sx P00, 0, Ox P22 + Sx P02, Ox P23] [ 0, Sy P11, Oy P22 + Sy P12, Oy P23] [ 0, 0, P22, P23] [ 0, 0, -1, 0]

Parameters
projectionProjection matrix.
relativeOffsetXX offset of sub-quad as portion of the size of the projection area.
relativeOffsetYY offset of sub-quad as portion of the size of the projection area.
relativeSizeXProjection area X size in regard to sub-quad area size.
relativeSizeYProjection area Y size in regard to sub-quad area size.
Returns
Modified 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 is null, height = 2 and so on.

Parameters
nodeNode the tree height of which to get.
Returns
Tree height of node.
KANZI_API optional<string> kanzi::getRelativePath ( const Node targetNode,
const Node baseNode 
)

Gets the relative path from base object node to target object node, or nullopt if path could not be found.

Parameters
targetNodeNode the path to which to get.
baseNodeNode the patch from which to get.
Returns
Path from base node to target node or nullopt.
KANZI_API Node* kanzi::findCommonParent ( const Node nodeA,
const Node nodeB 
)

Gets first common parent from nodeA and nodeB, or null if not found.

Parameters
nodeANode the common parent of which with nodeB to find.
nodeBNode the common parent of which with nodeA to find.
Returns
First common parent of nodeA and nodeB or null.
KANZI_API Node* kanzi::getRoot ( Node node)

Gets the root node of the scene graph where the node belongs to or null if node does not belong to any scene graph.

Parameters
nodeNode the root node of which to find.
Returns
Root node of scene graph or null.
KANZI_API const Node* kanzi::getRoot ( const Node node)

Gets the root node of the scene graph where the node belongs to or null if node does not belong to any scene graph.

Parameters
nodeNode the root node of which to find.
Returns
Root node of scene graph or null.
KANZI_API bool kanzi::isParentOf ( const Node child,
const Node parent 
)

Indicates whether one node is the parent of another node.

Parameters
childNode to indicate whether it belongs to the parent node.
parentNode to indicate whether it has the child node as its child.
Returns
True if the child node is child of the parent node, false otherwise.
KANZI_API bool kanzi::isAncestorOf ( const Node node,
const Node ancestor 
)

Indicates whether one node is the ancestor of another node at any level in the scene graph hierarchy.

Parameters
nodeNode to indicate whether it is the descendant of the ancestor node.
Returns
True if the ancestor node is the parent of the node at any level, false otherwise.
template<typename Type >
shared_ptr<Type> kanzi::findParent ( const Node node)

Gets nearest parent of specified type.

Parameters
nodeNode the parent of specified type of which to get.
Returns
Parent node of specified type of the node.
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.
KANZI_API void kanzi::registerDefaultTypes ( ObjectFactory objectFactory)

Registers default Kanzi object types in object factory.

FixedString kanzi::toFixedString ( Framebuffer::CreateInfo::Status  status)

Returns a human readable description for Framebuffer::CreateInfo::Status.

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::getFeatures ( Framebuffer::AttachmentPoint  attachmentPoint)
KANZI_API int kanzi::getCompressedGLFormat ( GraphicsFormat  format)

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

int kanzi::acquireUniformLocation ( Material material,
string_view  name 
)

Acquire uniform location from a material.

template<typename T >
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< T > &  value 
)

Type-specific render value update to GPU.

Parameters
rendererRenderer to use.
valueRender value.
template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< bool > &  value 
)

updateRenderValueContainer() specialization.

template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< int > &  value 
)

updateRenderValueContainer() specialization.

template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< float > &  value 
)

updateRenderValueContainer() specialization.

template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< ColorRGBA > &  value 
)

updateRenderValueContainer() specialization.

template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< Vector2 > &  value 
)

updateRenderValueContainer() specialization.

template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< Vector3 > &  value 
)

updateRenderValueContainer() specialization.

template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< Vector4 > &  value 
)

updateRenderValueContainer() specialization.

template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< Matrix3x3 > &  value 
)

updateRenderValueContainer() specialization.

template<>
void kanzi::updateRenderValueOverride ( Renderer renderer,
const GlRenderValue< Matrix4x4 > &  value 
)

updateRenderValueContainer() specialization.

template<typename T >
void kanzi::updateRenderValue ( Renderer renderer,
GlRenderValue< T > &  value 
)

Update render value container to GPU.

Parameters
rendererRenderer to use.
valueRender value.
template<typename T >
bool kanzi::updateRenderValue ( Renderer renderer,
GlRenderValue< T > &  value,
unsigned int  textureUnit 
)

Update render value container to the GPU.

This method uses given texture unit, and returns whether or not that texture unit was consumed. Only specialized for classes for which texture unit makes sense.

Parameters
rendererRenderer to use.
valueRender value.
textureUnitTexture unit to use.
Returns
True if texture unit was consumed.
template<>
bool kanzi::updateRenderValue ( Renderer renderer,
GlRenderValue< TextureSharedPtr > &  value,
unsigned int  textureUnit 
)

updateRenderValueContainer() specialization.

KANZI_API optional<GraphicsElementType> kanzi::toGraphicsElementType ( unsigned int  kzbElementType)
KANZI_API optional<GraphicsDataType> kanzi::toGraphicsDataType ( unsigned int  kzbMeshVertexAttributeDataType)
KANZI_API optional<GraphicsFormat> kanzi::toGraphicsFormatFromKzbDepthAttachment ( int  kzbFormat)
KANZI_API optional<GraphicsFormat> kanzi::toGraphicsFormatFromKzbTextureFormat ( unsigned int  kzbTextureFormat)
KANZI_API optional<GraphicsFormat> kanzi::toGraphicsFormatFromKzbImageFormat ( unsigned int  kzbFormat)
KANZI_API optional<Sampler::Filter> kanzi::toSamplerFilterFromKzbTextureFilter ( unsigned int  kzbTextureFilter)
KANZI_API optional<Sampler::MipmapMode> kanzi::toSamplerMipmapModeFromKzbMipmapMode ( unsigned int  kzbMipmapMode)
KANZI_API optional<Sampler::AddressingMode> kanzi::toSamplerAddressingModeFromKzbWrapMode ( unsigned int  kzbWrapMode)
void kanzi::swap ( Mesh::Skeleton skeleton1,
Mesh::Skeleton skeleton2 
)
inline
void kanzi::swap ( Mesh::Cluster cluster1,
Mesh::Cluster cluster2 
)
inline
void kanzi::swap ( Mesh mesh1,
Mesh mesh2 
)
inline
template<typename T >
T kanzi::acquireRenderValueFromPropertyDefault ( AbstractPropertyType  abstractProperty,
Node node,
Object object,
Material material 
)

Default implementation for acquiring value for property notification handlers.

Parameters
handlerHandler to access node from.
objectFallback object for property value.
materialFallback material for property value.
template<typename T >
T kanzi::acquireRenderValueFromProperty ( AbstractPropertyType  abstractProperty,
Node node,
Object object,
Material material,
ShaderProgram::UniformTransformation   
)

Default implementation for acquiring value for property notification handlers.

acquireRenderValueFromProperty() specialization.

Parameters
handlerHandler to access node from.
objectFallback object for property value.
materialFallback material for property value.
transformationShader transformation for uniform values.
template<>
GraphicsBlendMode kanzi::acquireRenderValueFromProperty ( AbstractPropertyType  abstractProperty,
Node node,
Object object,
Material material,
ShaderProgram::UniformTransformation   
)

acquireRenderValueFromProperty() specialization.

acquireRenderValueFromProperty() specialization.

Parameters
handlerHandler to access node from.
objectFallback object for property value.
materialFallback material for property value.
transformationShader transformation for uniform values.
template<>
ColorRGBA kanzi::acquireRenderValueFromProperty ( AbstractPropertyType  abstractProperty,
Node node,
Object object,
Material material,
ShaderProgram::UniformTransformation   
)

acquireRenderValueFromProperty() specialization.

acquireRenderValueFromProperty() specialization.

Parameters
handlerHandler to access node from.
objectFallback object for property value.
materialFallback material for property value.
transformationShader transformation for uniform values.
template<>
TextureSharedPtr kanzi::acquireRenderValueFromProperty ( AbstractPropertyType  abstractProperty,
Node node,
Object object,
Material material,
ShaderProgram::UniformTransformation   
)

acquireRenderValueFromProperty() specialization.

acquireRenderValueFromProperty() specialization.

Parameters
handlerHandler to access node from.
objectFallback object for property value.
materialFallback material for property value.
transformationShader transformation for uniform values.
void kanzi::swap ( Renderbuffer buffer1,
Renderbuffer buffer2 
)
inline
KANZI_API unsigned int kanzi::getAttributeDimension ( VertexAttribute::Semantic  attribute)
KANZI_API FixedString kanzi::toFixedString ( Sampler::Filter  filter)
KANZI_API FixedString kanzi::toFixedString ( Sampler::MipmapMode  mipmapMode)
KANZI_API BitmapImageUniquePtr kanzi::captureCurrentFramebufferToImage ( unsigned int  width,
unsigned int  height,
GraphicsFormat  format 
)

Capture the current framebuffer to an image.

Parameters
widthCapture area width.
heightCapture area height.
formatGraphics format to capture with.
Returns
Captured framebuffer as image.
KANZI_API BitmapImageUniquePtr kanzi::captureScreenToImage ( Renderer renderer,
unsigned int  width,
unsigned int  height,
GraphicsFormat  format 
)

Capture the screen (default framebuffer) to an image.

Parameters
widthCapture area width.
heightCapture area height.
formatGraphics format to capture with.
Returns
Captured screen as image.
void kanzi::swap ( ShaderProgram shader1,
ShaderProgram shader2 
)
inline
KANZI_API ShaderProgram::FixedUniform kanzi::toFixedUniform ( string_view  uniformName)

Gets FixedUniform from given string.

Parameters
uniformNameName of fixed uniform.
Returns
FixedUniform corresponding to given name, or FixedUniformInvalid if name does not match any fixed uniform.
void kanzi::swap ( ShaderProgram::CreateInfo createInfo1,
ShaderProgram::CreateInfo createInfo2 
)
inline
ShaderProgram::CreateInfo kanzi::loadShaderProgramCreateInfo ( Domain domain,
KzbFile kzbFile,
ReadOnlyMemoryFile file,
KzbMemoryParser parser,
string_view  name 
)

Load shader program create info from KZB file.

Parameters
domainDomain
kzbFileKZB file
fileFile
parserMemory parser
Returns
Texture create info
ShaderProgram::CreateInfo kanzi::loadShaderProgramCreateInfo ( Domain domain,
KzcInputStream inputStream,
const KzuBinaryFileInfo file 
)

Load shader program create info from legacy KZB file.

Parameters
domainDomain
inputStreamInput strea
fileFile
Returns
Texture create info
KANZI_API FixedString kanzi::getVerboseDescription ( ShaderProgram::CreateInfo::Status  status)

Returns human readable description for ShaderProgram CreateInfo status.

Parameters
statusStatus
Returns
Human readable description for status.
void kanzi::swap ( Texture texture1,
Texture texture2 
)
inline
KANZI_API unsigned int kanzi::getFaceCount ( Texture::Type  type)
KANZI_API unsigned int kanzi::getGLTextureImageTarget ( Texture::Type  type,
unsigned int  face 
)
KANZI_API unsigned int kanzi::getGLTextureTarget ( Texture::Type  type)
KANZI_API TextureSharedPtr kanzi::createTextureFromMemory ( Domain domain,
unsigned int  width,
unsigned int  height,
GraphicsFormat  sourceFormat,
const void *  data,
GraphicsFormat  destinationFormat,
string_view  name 
)

Loads a new image from memory and creates a texture out of it.

Parameters
domainDomain to use.
widthWidth of the image.
heightHeight of the image.
sourceFormatGraphics surface format of the source data.
dataPointer to the source data in memory.
destinationFormatGraphics surface format to convert image data to. Use sourceFormat to skip surface format conversion.
nameName for the texture.
Returns
A shared pointer to the created texture.
KANZI_API unsigned int kanzi::calculateMipmapLevelCount ( unsigned int  width,
unsigned int  height 
)

Calculates number of mipmap levels for provided image size.

Parameters
widthWidth of the image.
heightHeight of the image.
Returns
Number of mipmap levels for image of given size.
void kanzi::swap ( Texture::CreateInfo info1,
Texture::CreateInfo info2 
)
inline
Texture::CreateInfo kanzi::loadTextureCreateInfo ( Domain domain,
KzbFile kzbFile,
ReadOnlyMemoryFile file,
KzbMemoryParser parser 
)

Load texture create info from KZB file.

Parameters
domainDomain
kzbFileKZB file
fileFile
parserMemory parser
Returns
Texture create info
Texture::CreateInfo kanzi::loadTextureCreateInfo ( Domain domain,
KzcInputStream inputStream,
const KzuBinaryFileInfo file 
)

Load texture create info from legacy KZB file.

Parameters
domainDomain
inputStreamInput strea
fileFile
Returns
Texture create info
KANZI_API FixedString kanzi::getVerboseDescription ( Texture::CreateInfo::Status  status)

Returns human readable description for CreateInfo status.

Parameters
statusStatus
Returns
human readable description for status.
KANZI_API void kanzi::loadPrefabAsync ( const Node node,
ResourceID  prefabResourceId,
ResourceManager::AsyncAcquireFinishedCallback  callback 
)

Acquires prefab and required nested resources recursively.

Callback is executed when all required resources have been acquired.

Parameters
nodeNode where prefab will be instantiated, and the node to resolve from.
prefabResourceIdResource ID of the prefab to load.
callbackCallback to execute upon completion.
KANZI_API void kanzi::collectResourceUrls ( const PrefabTemplate prefabTemplate,
const Node node,
ResourceManager::UrlContainer urls 
)

Collects URLs from all resource properties that are used by the nodes in a prefab template.

If the nodes contain nested prefab templates (i.e. prefab placeholders) or node components, collects URLs also from those. For resources set with resource IDs, resolves their URLs by looking up in the prefab and node tree, and then collects them too.

Parameters
prefabTemplateThe prefab template instance.
nodeNode where the template will be instantiated.
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrlsFromStateManagers ( const PrefabTemplate prefabTemplate,
const Node node,
ResourceManager::UrlContainer urls 
)

Looks up resource properties of type StateManager in the nodes of a prefab template.

Acquires them, and then collects URLs from all their resource properties. Typically called after acquiring the collected urls of a prefab template, for a deeper collection. For resources set with resource IDs, resolves their URLs by looking up in the prefab and node tree, and then collects them too.

Parameters
prefabTemplateThe prefab template instance.
nodeNode where the template will be instantiated.
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrls ( const PrefabTemplate prefabTemplate,
ResourceManager::UrlContainer urls 
)

Collects URLs from all resource properties that are used by the nodes in a prefab template.

If the nodes contain nested prefab templates (i.e. prefab placeholders) or node components, collects URLs also from those. For resources set with resource IDs, resolves their URLs by looking up in the prefab tree, and then collects them too.

Parameters
prefabTemplateThe prefab template.
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrls ( const PrefabTemplateNode prefabTemplateNode,
ResourceManager::UrlContainer urls 
)

Collects URLs from all resource properties that are used by a prefab template node and its children.

If the nodes contain nested prefab templates (i.e. prefab placeholders) or node components, collects URLs also from those. For resources set with resource IDs, resolves their URLs by looking up in the prefab tree, and then collects them too.

Parameters
prefabTemplateNodeThe prefab template node.
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrlsFromStateManagers ( const PrefabTemplate prefabTemplate,
ResourceManager::UrlContainer urls 
)

Looks up resource properties of type StateManager in the nodes of a prefab template.

Acquires them, and then collects URLs from all their resource properties. Typically called after acquiring the collected urls of a prefab template, for a deeper collection. For resources set with resource IDs, resolves their URLs by looking up in the prefab tree, and then collects them too.

Parameters
prefabTemplateThe prefab template instance.
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrls ( const ResourceDictionary resourceDictionary,
ResourceManager::UrlContainer urls 
)

Collects the URLs from a resource dictionary.

If the resource dictionary has nested dictionary, collects URLs also from those.

Parameters
resourceDictionaryThe resource dictionary.
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrls ( ResourceManager resourceManager,
string_view  hostname,
ResourceManager::UrlContainer urls 
)

Collect resource urls from a named file.

Parameters
resourceManagerResource manager to collect from.
hostnameKZB hostname part of the URL.
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrlsFromPrefabTemplateUrl ( ResourceManager resourceManager,
string_view  prefabTemplateUrl,
const Node node,
ResourceManager::UrlContainer urls 
)

Collects URLs from all resource properties that are used by the nodes in a prefab template.

If the nodes contain nested prefab templates (i.e. prefab placeholders) or node components, collects URLs also from those. For resources set with resource IDs, resolves their URLs by looking up in the prefab and node tree, and then collects them too.

Parameters
resourceManagerThe resource manager.
prefabTemplateUrlThe URL of a prefab template. For example "kzb://asynchronous_loading/Prefabs/Prefab that uses many textures".
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrlsFromPrefabTemplateUrl ( ResourceManager resourceManager,
string_view  prefabTemplateUrl,
ResourceManager::UrlContainer urls 
)

Collects URLs from all resource properties that are used by the nodes in a prefab template.

If the nodes contain nested prefab templates (i.e. prefab placeholders) or node components, collects URLs also from those. For resources set with resource IDs, resolves their URLs by looking up in the prefab tree, and then collects them too.

Parameters
resourceManagerThe resource manager.
prefabTemplateUrlThe URL of a prefab template. For example "kzb://asynchronous_loading/Prefabs/Prefab that uses many textures".
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::collectResourceUrlsFromPrefabTemplateNodeResourceDictionaryUrls ( ResourceManager resourceManager,
string_view  prefabTemplateNodeUrls,
ResourceManager::UrlContainer urls 
)

Collects the URLs of resources from the resource dictionaries of the prefab templates you specify.

Parameters
resourceManagerThe resource manager.
prefabTemplateNodeUrlsSemicolon separated list of urls to prefab template nodes. For example "kzb://preloading_test/Prefabs/Empty Node 2D/Empty Node 2D;kzb://preloading_text/Prefabs/Stack Layout 2D/Stack Layout 2D".
urlsA container where the collected URLs will be added.
Deprecated:
Part of legacy KZB loading. The new KZB format does not store prefab template nodes separately.
KANZI_API void kanzi::collectResourceUrls ( ResourceManager resourceManager,
KzuBinaryDirectory binaryDirectory,
ResourceManager::UrlContainer urls 
)

Collects the URLs of all resources in the binary directory you specify.

Parameters
resourceManagerThe resource manager.
binaryDirectoryThe binary directory of the .kzb that you want to preload.
urlsA container where the collected URLs will be added.
Deprecated:
Part of legacy KZB loading.
KANZI_API void kanzi::collectResourceUrls ( ResourceManager resourceManager,
ResourceManager::UrlContainer urls 
)

Collects the URLs of all resources from all the binary directories that have been added to the resource manager.

This includes resources you did not include in the resource dictionaries of specific nodes.

Parameters
resourceManagerThe resource manager.
urlsA container where the collected URLs will be added.
KANZI_API void kanzi::registerDefaultResources ( Screen screen)

Registers default resources in the resource manager and Screen node's dictionary.

KANZI_API void kanzi::registerNodeComponentLoader ( ObjectLoader objectLoader,
const Metaclass metaclass 
)

Registers node component template loader for specified node component type.

Parameters
objectLoaderObject loader where to register loading of specified node component type.
metaclassMetaclass of node component to load.
void kanzi::registerNodeComponentLoaders ( ObjectLoader objectLoader)

Registers node component template loaders for build-in node component types.

Parameters
objectLoaderObject loader where to register loading of node components.
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

Variable Documentation

KANZI_API const ColorRGBA kanzi::ThemeRed
KANZI_API const ColorRGBA kanzi::ThemeGreen
KANZI_API const ColorRGBA kanzi::ThemeBlue
KANZI_API const ColorRGBA kanzi::ThemeYellow
KANZI_API const ColorRGBA kanzi::ThemeGray
KANZI_API const ColorRGBA kanzi::ThemeOrange
KANZI_API const NativeDeploymentTarget kanzi::NativeDeploymentTargetDefault

The default native deployment target.

KANZI_API const TextureSwizzleMask kanzi::SwizzleMaskRGBToLuminanceAlpha

Mask all of the color channels with red.

KANZI_API const TextureSwizzleMask kanzi::SwizzleMaskLuminanceToRGBA

Mask all of the color channels with alpha.

const NativeEventHandle kanzi::invalidEventHandle