Easing functions that require external dependencies for calculation. More...
Namespaces | |
chrono | |
egl | |
emscripten | |
errc | |
interop | |
interpolation | |
numbers | |
placeholders | |
qnx | |
this_thread | |
Classes | |
class | AbstractAnimation |
Interface for abstract animations. More... | |
class | AbstractBinding |
AbstractBinding is the base class for binding classes. More... | |
class | AbstractBindingRuntime |
Base class for binding runtimes. More... | |
class | AbstractBindingVariableSource |
Abstract interface for VariableBindingSources and VariableExpressionValueSource. More... | |
class | AbstractExpressionValueSource |
Value source base for use in bindings with multiple sources. More... | |
class | AbstractExpressionValueSourceRuntime |
Runtime base class for expression value sources. More... | |
class | AbstractIndexedRange |
Abstract indexed range interface. More... | |
class | AbstractLogger |
To implement a logger, inherit from this class. More... | |
class | AbstractMessageType |
AbstractMessageType is a homogeneous message type handle to an existing message type. More... | |
class | AbstractMessageTypeDescriptor |
An instance of a AbstractMessageTypeDescriptor represents a single message type in the Kanzi message system in an abstract homogeneous form. More... | |
class | AbstractNodeReference |
class | AbstractProfiler |
AbstractProfiler. More... | |
class | AbstractPropertyNotificationHandler |
Abstract property notification handler. More... | |
class | AbstractPropertyType |
AbstractPropertyType is a homogeneous property type handle to an existing property type. More... | |
class | AbstractPropertyTypeDescriptor |
AbstractPropertyTypeDescriptor is used internally by the property type system to manage property types. More... | |
class | AbstractRange |
Abstract range interface. More... | |
class | AbstractRangeIterator |
Abstract range iterator interface. More... | |
class | AbstractRangeLocation |
Location into a range. More... | |
class | AbstractResourceReference |
class | AbstractValueProfiler |
Abstract value profiler. More... | |
class | Action |
Actions are small operations that Kanzi executes when the trigger event that contains that action occurs and the trigger conditions are met. More... | |
class | ActionBase |
Base abstraction class for Action classes. More... | |
class | Activity2D |
An Activity is a part of application UI that is responsible for a task. More... | |
class | Activity3D |
An Activity is a part of application UI that is responsible for a task. More... | |
class | ActivityBrowserController |
ActivityBrowserController is an interface class for implementing runtime data exchange between the Kanzi Studio Preview and the ActivityBrowser Kanzi Studio plugin. More... | |
class | ActivityCodeBehind |
ActivityCodeBehind is code that is associated with a particular Activity node, and has access to the properties of that Activity node. More... | |
class | ActivityConcept |
Base class for Activity classes. More... | |
class | ActivityConceptImpl |
Implementation class for ActivityConcept. More... | |
class | ActivityElement |
ActivityElement is the base class for all Activity and Activity Host classes. More... | |
class | ActivityElementHistory |
Encapsulates serialized data for activity elements. More... | |
class | ActivityElementImpl |
ActivityElement implementation class. More... | |
class | ActivityHistoryManager |
ActivityHistoryManager encapsulates functionality of serialization of activities. More... | |
class | ActivityHostConcept |
Base class for Activity Host classes. More... | |
class | ActivityHostConceptImpl |
Implementation class for ActivityHostConcept. More... | |
class | ActivityHostControllerPropertyManager |
Encapsulates management of activities through a controller property. More... | |
class | ActivityPrefabLoader |
Helper class for the Activity Host class types. More... | |
class | ActivitySourceController |
Encapsulates the management of data provider for Data-Driven Exclusive Activity Host. More... | |
class | ActivityStatusAnimationFinishedHandler |
Encapsulates dispatching of messages when an activating or a deactivating activity animation is finished. More... | |
class | ActivityStatusManager |
Covers the management of the StatusProperty in the State Manager that the prefab of an Activity node uses for transition animations. More... | |
class | ActivitySwitchingSynchronizer |
Encapsulates the synchronization of animations for activating and deactivating Activity nodes. More... | |
class | AndroidLogger |
class | AnimationBindingProcessor |
Animation binding processor executes an animation and calculates the value for use in expression bindings. More... | |
class | AnimationBindingProcessorRuntime |
Holds the runtime state of an AnimationBindingProcessor. 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 is the base class for Kanzi applications. More... | |
struct | ApplicationProperties |
Configurable application properties. More... | |
struct | AppliedStyleEntry |
Applied style entry. More... | |
class | ApplyAction |
Base abstraction for Actions for DataTrigger, such as ForwardingApplyAction and ApplyActivationAction. More... | |
class | ApplyActivationAction |
An ApplyActivationAction keeps an Activity node activated for as long as the condition is met in a DataTrigger that contains this action. More... | |
class | ApplyPropertyAction |
An ApplyPropertyAction sets a property to the requested value for as long as the condition is met in the DataTrigger that sets off this action. More... | |
class | AutoClosingModalScope |
Implements the auto-closing modal scopes. More... | |
class | AutoClosingModelessScope |
Implements the auto-closing modeless focus scope. More... | |
struct | BackEasingFunction |
Changes the value back slightly before moving it toward the target. More... | |
struct | BezierEasingFunction |
Changes the value according to a Bezier curve. More... | |
class | BinaryResource |
class | Binding |
Binding is the simplest form of binding. More... | |
class | BindingBaseRuntime |
Base runtime class for simple one-on-one bindings. More... | |
struct | BindingExpressionOpCode |
Expression binding operation. More... | |
struct | BindingExpressionOpCodeParameters |
Runtime Parameters for binding expression opcodes. More... | |
class | BindingHostConcept |
BindingHostConcept specifies an interface for adding and removing bindings to the binding host. More... | |
class | BindingHostConceptImpl |
Implementation class for BindingHostConcept. More... | |
struct | BindingLoadInfo |
Use the BindingLoadInfo to create the information for a binding that you need when adding the binding to an object. More... | |
class | BindingLookupContext |
Lookup context for bindings. More... | |
class | BindingLookupNotificationBase |
Base class for notifications on binding lookup. More... | |
class | BindingNodeLookupContext |
Binding lookup context for Node. More... | |
class | BindingProcessor |
Binding processor. More... | |
class | BindingProcessorRuntime |
Holds the runtime state of a binding processor. More... | |
class | BindingRenderPassLookupContext |
Binding lookup context for RenderPass. More... | |
class | BindingRenderValueLookupContext |
Binding lookup context for render value associations. More... | |
class | BindingRuntime |
Runtime for binding. More... | |
class | BindingSource |
Binding source contains all the persistent data that you need to access a source value for the binding. More... | |
class | BindingSourceRuntime |
Binding source runtime interface. More... | |
class | BindingTargetRuntime |
Binding target runtime interface. More... | |
class | BindingToken |
Helper class that manages the lifetime of the runtime binding owned by a Node or a RenderPass, by removing the owned binding on the destruction of that Node or the RenderPass. More... | |
class | BindingTriggerLookupContext |
Binding lookup context for Node. More... | |
class | BindingValueSourceOwner |
Owner for value source bindings. More... | |
class | BitmapFontFile |
Font implementation for bitmap fonts. More... | |
class | BitmapFontLoader |
FontLoader implementation for bitmap fonts. More... | |
class | BitmapImage |
Image is the basic runtime primitive to load, hold, and convert image data in memory. More... | |
class | BlendModeRenderStatePropertyNotificationHandler |
Custom render state property notification handler for blend mode. More... | |
class | BlendModeRenderValueBindingTargetRuntime |
Custom render value binding target runtime for blend mode. More... | |
class | BlendModeValuePropertyNotificationHandler |
Custom notification handler for blend mode. 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... | |
class | BlurEffect2D |
Use BlurEffect2D to apply a Gaussian blur post-processing effect to 2D nodes. More... | |
class | BlurEffectRenderer2D |
Blur effect renderer class. More... | |
struct | BounceEasingFunction |
Changes the value as a sequence of bounces. More... | |
class | Box |
Class for box volume. More... | |
class | Brush |
Brush class. More... | |
class | BrushRenderer |
Brush renderer class. More... | |
class | BufferObjectStream |
Specifies stream to GL buffer object. More... | |
class | Button2D |
Use the Button 2D node to create a 2D UI control that the user can interact with through clicking, tapping, or pressing a keyboard key. More... | |
class | Button3D |
Use the Button 3D node to create a 3D UI control that the user can interact with through clicking, tapping, or pressing a keyboard key. More... | |
class | ButtonConcept |
Button nodes provide an area that receives keyboard and touch input which Kanzi translates to state events. More... | |
class | ButtonConceptImpl |
Implementation class for ButtonConcept. More... | |
class | CallbackBindingProcessor |
Callback processor. More... | |
class | CallbackProcessorRuntime |
Holds the runtime state of a CallbackBindingProcessor. More... | |
class | Camera |
Camera node defines a view transform that is used to render the 3D scene. More... | |
struct | CharacterLayout |
Structure for layout of a single character for text rendering. More... | |
struct | CircleEasingFunction |
Changes the value using a circular function. More... | |
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 | ClickConcept |
Use the ClickConcept properties to control how nodes handle click and double-click. More... | |
class | ClickConceptImpl |
Implementation of base Click Concept class for derived classes. More... | |
class | ClickManipulator |
Click input manipulator recognizes the click and tap gestures from the incoming touch events. More... | |
class | ClickManipulatorComponent |
ClickManipulatorComponent installs a ClickManipulator to a node. More... | |
class | Clock |
Represents a monotonic, high resolution clock that advances steadily as the physical time moves forward. More... | |
class | CodeBehind |
Code Behind is a workflow where you associate code with an instance of a node instead of a type. More... | |
class | CodeBehindRegisterGuard |
RAII class for attaching code behind to an Activity or Activity Host node. 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 | CombinerObjectSource |
Combiner object source. More... | |
class | CombinerObjectSourceRuntime |
Runtime for combiner object source. 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 one to four composition targets and render all descendant render passes to the composition targets that the Composition Target Render Pass created. More... | |
class | Condition |
Condition for triggers. More... | |
class | ConstraintBindingProcessor |
Binding processor structure for constraints. More... | |
struct | ConstraintBindingProcessorRuntime |
Holds the runtime state of a ConstraintBindingProcessor. More... | |
class | Constraints |
Contains property types of Constraints. More... | |
class | ContainsPropertyFilter |
Use the Contains Property Filter to collect 3D nodes that contain, or do not contain a specific property. More... | |
class | ContainsPropertyFilterRuntime |
Runtime for contains property node filter. 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 | ContentLayout2D |
Use the Content Layout 2D node to present content in a 2D UI control as a single item. More... | |
class | ContentLayout3D |
Use the Content Layout 3D node to present content in a 3D UI control as a single item. More... | |
class | ContentLayoutConcept |
Use the Content Layout nodes to present complex content as one element in the UI. More... | |
class | ContentLayoutConceptImpl |
ContentLayoutConceptImpl is an abstract class for implementing the Content Layout node concept. More... | |
class | ContentReference |
class | ControllerPropertySource |
Abstract class whose implementation encapsulates management of controller property source for an activity host controller property. More... | |
class | CoutLogger |
This logger class writes log messages to standard output. More... | |
class | CubeMapRenderPass |
Use the Cubemap Render Pass to create a cubemap texture that represents the scene from some location. More... | |
struct | CubicEasingFunction |
Changes the value based on the cube of time using the function f(t) = t^3. More... | |
class | CurveReparametrization |
Kanzi uses curve reparametrization to subdivide a spline or a line into a series of samples. More... | |
class | DataContext |
DataContext acts as a container for data. More... | |
class | DataDrivenExclusiveActivityHost2D |
A type of Exclusive Activity Host node, that uses a list of Activity nodes provided by setting a list DataObject, from a DataSource, to the ActivitySourceProperty property. More... | |
class | DataDrivenExclusiveActivityHost3D |
A type of Exclusive Activity Host node, that uses a list of Activity nodes provided by setting a list DataObject, from a DataSource, to the ActivitySourceProperty property. More... | |
class | DataDrivenExclusiveActivityHostConcept |
Base class for the Data-Driven Exclusive Activity Host classes. More... | |
class | DataDrivenExclusiveActivityHostImpl |
Implementation class for DataDrivenExclusiveActivityHostConcept and ExclusiveActivityHostConcept. More... | |
class | DataObject |
DataObject is the base class for data. More... | |
class | DataObjectBool |
Implementation of DataObjectTyped<bool, DataObject::Bool>. More... | |
class | DataObjectEnum |
Provides functions to the host, set, and get values of the given type. More... | |
class | DataObjectEnumBase |
DataObjectEnumBase is the base class for enum data. More... | |
class | DataObjectInt |
Implementation of DataObjectTyped<int32_t, DataObject::Int>. More... | |
class | DataObjectList |
DataObjectList is the base class for list data object. More... | |
class | DataObjectReal |
Implementation of DataObjectTyped<double, DataObject::Real>. More... | |
class | DataObjectString |
Implementation of DataObjectTyped<string, DataObject::String>. More... | |
class | DataObjectTyped |
Template class that you can use with the standard types. More... | |
struct | DataObjectTypeTraits |
DataObjectTypeTraits Provides type information for how a data type should be stored, passed as a parameter, etc. More... | |
struct | DataObjectTypeTraits< double > |
A specialization for double, because PropertyDataTypeTraits<T> does not have double. 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 | DataSourceBindingSource |
Data source binding source. More... | |
class | DataSourceBindingSourceRuntime |
Runtime for object property binding source. More... | |
class | DataSourceControllerPropertySource |
Implementation of ControllerPropertySource, for controller property value provided by a data source field. More... | |
class | DataSourceExpressionValueSource |
Data Source expression value source. More... | |
class | DataSourceExpressionValueSourceRuntime |
Runtime for object property expression value source. More... | |
class | DataSourceListItemGenerator |
class | DataSourceListItemGenerator2D |
class | DataSourceListItemGenerator3D |
class | DataTrigger |
Use a DataTrigger to apply an action to either set a property value of a target node or activate an Activity node. More... | |
class | DataTriggerComponent |
Base class for the DataTrigger class. More... | |
class | DataTriggerTemplate |
DataTriggerTemplate is the base class for the Data Trigger templates. More... | |
class | DebugRenderRegistry |
The debug render registry enables you to register custom debug render functions for Node3D nodes. More... | |
struct | DefaultEGLGraphicsOutputProperties |
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 |
DispatchMessageAction dispatches a message of specified type to a specified target. More... | |
class | DistanceFilter |
Distance filter. More... | |
class | DistanceFilterRuntime |
Runtime for distance filter. 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 | DomainProfilerCollection |
The domain profiler collection. 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 | DummyBindingTargetRuntime |
Runtime for dummy binding target. More... | |
class | DynamicMessageType |
DynamicMessageType is a handle to an existing message type. More... | |
class | DynamicPropertyType |
DynamicPropertyType is a handle to an existing property type. More... | |
struct | EGLCapabilities |
class | EGLConfig |
Class representing a single EGL config. More... | |
class | EGLContext |
Class representing an EGL context. More... | |
class | EGLDisplay |
Class representing an EGL display connection. More... | |
class | EGLPBufferSurface |
Class representing EGL PBuffer surface. More... | |
struct | EGLVersion |
Struct holding EGL version information. More... | |
class | EGLWindowSurface |
Class representing EGL window surface. More... | |
struct | ElasticEasingFunction |
Changes the value that resembles an oscillating spring until it comes to rest. More... | |
class | EmptyNode2D |
Empty Node 2D can be used to group other 2D nodes. More... | |
class | EmptyNode3D |
struct | enable_bitmask_operators |
Enabler template for bitmask operators over an Enum class. More... | |
class | EventFilter |
EventFilter class. More... | |
class | EventQueue |
The EventQueue class implements a queue of Kanzi input events gathered by EventSource instances. More... | |
class | EventSource |
EventSource class. More... | |
class | EventSourceDecorator |
The EventSourceDecorator declares the interface for the EventSource decorators. More... | |
struct | EventSourceProperties |
Configurable event source properties. More... | |
class | ExampleApplication |
class | ExclusiveActivityHost2D |
An Activity Host that displays Activity nodes one at a time. More... | |
class | ExclusiveActivityHost3D |
An Activity Host that displays Activity nodes one at a time. More... | |
class | ExclusiveActivityHostBaseImpl |
Implementation of common functionality of ExclusiveActivityHost and DataDrivenExclusiveActivityHost classes. More... | |
class | ExclusiveActivityHostConcept |
This is the base class for all Exclusive Activity Host nodes. More... | |
struct | ExclusiveActivityHostContentHandler |
Helper class used to modify the ExclusiveActivityHostContent of an ExclusiveActivityHost. More... | |
class | ExclusiveActivityHostImpl |
Implementation class for ExclusiveActivityHost. More... | |
struct | ExponentialEasingFunction |
Changes the value with an exponential function with power that you can configure. More... | |
class | ExpressionBinding |
ExpressionBinding enables you to bind from multiple sources to one target, and to modify the values before writing them to target values. More... | |
class | ExpressionBindingProcessor |
Expression binding processor. More... | |
class | ExpressionBindingRuntime |
Runtime for expression binding. More... | |
class | ExpressionBindingSource |
Expression binding source collects expression value sources and executes operations on the values to produce a read result. More... | |
class | ExpressionBindingSourceRuntime |
Runtime for expression binding source. More... | |
class | ExpressionCondition |
Use trigger conditions to set which conditions must be met for a Trigger to set off. More... | |
class | File |
Interface class for files. More... | |
class | FilterObjectSource |
Filter object source. More... | |
class | FilterObjectSourceRuntime |
Base class for filter runtime classes. More... | |
class | FixedString |
String that points to a string literal. More... | |
class | FlagScopeGuard |
Scope guard for boolean value. More... | |
class | FloatValueAccumulator |
Use a FloatValueAccumulator to increase the value of a float property type or a property field over time. More... | |
class | FlowLayout2D |
Flow Layout 2D arranges 2D items along a line and continues to the next line when it runs out of space. More... | |
class | FlowLayout3D |
Flow Layout 3D arranges 3D items along a line and continues to the next line when it runs out of space. More... | |
class | FlowLayoutConcept |
Flow layout concept base class. More... | |
class | FlowLayoutConceptImpl |
Flow layout concept implementation base class. More... | |
struct | FocusChainIndex |
Contains the focus order and focus order offset information of a node in a focus scope. More... | |
struct | FocusChainNode |
The focus chain node of a focus scope consists of the node of the focus scope, its focus order, and the focus order offset. More... | |
class | FocusFence |
Implements the focus fences. More... | |
class | FocusGroup |
Implements the focus groups. More... | |
class | FocusManager |
Focus Manager enables you to set and change the keyboard focus between attached nodes. More... | |
struct | FocusNavigationGesture |
Declares a focus navigation gesture. More... | |
class | FocusNavigationManipulator |
FocusNavigationManipulator converts key gestures into focus chain navigation actions to move the focus between focusable nodes. More... | |
class | FocusScope |
The FocusScope class holds the attributes of a focus scope: More... | |
class | FocusScopeVisitor |
Focus scope visitor for UI scene traversal of focus scopes. More... | |
class | FontEnginePlugin |
FontEnginePlugin is the interface definition for font engine plugins. More... | |
class | FontFamily |
A font family resource contains font files. More... | |
class | FontFile |
FontFile is the base class for different font file resource implementations. More... | |
class | FontLoader |
Use FontLoader to create FontFile objects from memory or a file. More... | |
class | FontManager |
Use the FontManager class to: More... | |
class | FontRuntime |
Runtime font. More... | |
class | FontStyleConcept |
FontStyleConcept is the base class for the nodes that draw text with different font styles. More... | |
class | FontStyleConceptImpl |
Implementation class for FontStyleConcept. More... | |
class | FontStyleDefinition |
FontStyleDefinition provides a collection of font characteristics. More... | |
class | ForwardingAction |
ForwardingAction is the base class for the action classes that read and send arguments, such as SetPropertyAction or DispatchMessageAction. More... | |
class | ForwardingApplyAction |
ForwardingApplyAction is the base class for the ApplyAction classes that read and send an argument, such as ApplyPropertyAction. More... | |
class | Framebuffer |
Framebuffer attachment state. More... | |
class | FrameDescription |
Description of a frame, the remaining area of a quad with another quad cut out. More... | |
class | FrameTimeQueue |
Helper class for calculating the frame rate. More... | |
class | FreeTypeFontEnginePlugin |
FreeTypeFontEnginePlugin is the FreeType font engine plugin implementation. More... | |
class | FreeTypeFontFile |
Font implementation using the Freetype rasterizer. More... | |
class | FreeTypeFontLoader |
FontLoader implementation for the Freetype rasterizer. More... | |
class | FreeTypeTextShaper |
TextShaper implementation using these open source libraries: More... | |
struct | from_chars_result |
Holds the status result of a call to from_chars. More... | |
class | FromToAnimation |
Template class for from-to animations. More... | |
class | FromToAnimationBase |
Template base class for from-to animations. More... | |
class | FrustumCullFilter |
Frustum cull filter. More... | |
class | FrustumCullFilterRuntime |
Runtime for frustum cull filter. More... | |
class | GatherLightsRenderPass |
GatherLightsRenderPass is a class for generating light properties for rendering nodes. More... | |
class | GatherNearestLightsRenderPass |
GatherNearestLightsRenderPass is an implementation of light gathering. More... | |
class | GenericResourceProfilingContext |
Generic resource profiling context. More... | |
class | Geometry |
Geometry represents 2D coordinate data that you can use to render 2D nodes and text. More... | |
class | GlBlendModeRenderValue |
Custom blend mode render value implementation. 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... | |
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 | GlyphCache |
Glyph cache renders different characters on a texture with the font and font size that you use in your Kanzi application. More... | |
class | GlyphCacheManager |
GlyphCacheManager creates and maintains glyph caches for different font file and font size combinations. More... | |
class | GlyphRun |
GlyphRun contains the memory structures that are needed to render a text string. More... | |
class | GPUBuffer |
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 |
Base class for the Grid Layout nodes. More... | |
class | GridLayoutConceptImpl |
Implementation class for GridLayoutConcept. More... | |
class | GridListBox2D |
Use the Grid List Box 2D node to create scrollable lists of 2D items arranged in a grid. More... | |
class | GridListBox2DTraits |
class | GridListBox3D |
Use the Grid List Box 3D node to create scrollable lists of 3D items arranged in a grid. More... | |
class | GridListBox3DTraits |
class | GridListBoxConcept |
GridListBoxConcept provides the common properties and messages for the GridListBox2D and GridListBox3D nodes. More... | |
class | HudDebugEvent |
The event toggles the head-up display debugging status. More... | |
class | Image2D |
Image2D node. More... | |
class | ImmutableIteratorRange |
Iterator location range pointing to a particular location of an iterator range. More... | |
class | ImmutableSplitStringRange |
ImmutableSplitStringRange is an analogue to the ImmutableIteratorRange for a SplitStringRange. More... | |
class | ImmutableString |
Immutable string container. More... | |
class | IndexedPropertyAccessRange |
Indexed property access range. More... | |
class | IndexedViewRange |
View over another indexed range. More... | |
class | InputEvent |
Base event class providing the core functionality of the Kanzi input events. More... | |
class | InputManager |
InputManager converts the events from the given event queue into input specific messages. More... | |
class | InputManipulator |
The base class for the Kanzi input manipulators. More... | |
class | InputMethod |
The InputMethod class defines the interface of the Kanzi input methods. More... | |
class | InputMethodBackend |
The InputMethodBackend defines the interface of the input method backends. More... | |
class | InputMethodListener |
The InputMethodListener defines the communication interface of Kanzi input methods. More... | |
class | InputMethodManager |
The InputMethodManager keeps track of the input method backends registered in Kanzi. More... | |
class | Instantiator3D |
Use the Instantiator node to replicate the appearance of a 3D node, or a tree of 3D nodes, that the Instantiator node targets. More... | |
class | InstructionBindingProcessor |
Instruction binding processor is the top-level class for all instruction-like binding processors. More... | |
class | InstructionBindingProcessorRuntime |
Holds the runtime state of an InstructionBindingProcessor. 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... | |
class | IntValueAccumulator |
Use an IntValueAccumulator to increase the value of an integer property type over time. More... | |
struct | IrisImageHeader |
class | IteratorRange |
Iterator is an range that references a location in another range. More... | |
class | ItypeFontEnginePlugin |
ItypeFontEnginePlugin is the IType font engine plugin implementation. More... | |
class | ItypeFontFile |
Font implementation using the iType rasterizer. More... | |
class | ItypeFontLoader |
FontLoader implementation for Monotype's iType rasterizer. More... | |
class | ItypeTextShaper |
TextShaper implementation using Monotype's WTShaper library. More... | |
class | JavaException |
Exception class that can be used to wrap a Java generated exception. More... | |
class | JavaModule |
class | JNIError |
struct | JniLibrary |
class | JvmModule |
class | KanziComponentsModule |
class | Keyboard |
Keyboard declares the messages dispatched to the nodes when Kanzi handles a hardware key event. More... | |
class | KeyEvent |
The KeyEvent holds a pressed, released, or auto-repeated key event which occurs in the host operating system. More... | |
class | KeyframeAnimation |
Template class for keyframe animations. More... | |
struct | KeyGestureInfo |
This class defines the elements that compose a key gesture, key values, and key modifiers. More... | |
class | KeyManipulator |
KeyManipulator class is a key input manipulator that detects key gestures. More... | |
class | KeyManipulatorComponent |
The KeyManipulatorComponent node component installs a KeyManipulator to the attached node, and configures the key gesture of the manipulator. More... | |
struct | KeyMap |
Defines the keys to map from a {LogicalKey, KeyModifier} pair to a simple LogicalKey. More... | |
class | KeyMapEventFilter |
The KeyMapEventFilter provides key translation in Kanzi. More... | |
class | KeyRepeatGenerator |
The KeyRepeatGenerator is an event source decorator that scans the event queue of the EventSource it extends for key-press events and generates from them key-press repetitions. More... | |
class | KzbFile |
Kzb file loader. More... | |
class | KZBFileException |
Exception which is thrown when error occurs during loading from KZB. More... | |
class | KzbMemoryParser |
Parser for kzb files. More... | |
class | LegacyError |
class | LegacyEventSource |
LegacyEventSource class. More... | |
class | LegacyGraphicsOutput |
LegacyGraphicsOutput class. More... | |
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... | |
struct | LibJPEGParameters |
Parameters that Kanzi passes to libjpeg to use when loading jpg image files. More... | |
struct | LibPNGParameters |
Parameters that Kanzi passes to libpng to use when loading png image files. More... | |
class | Light |
Light node is a source of light for a 3D scene. More... | |
struct | LinearEasingFunction |
Changes the value with constant velocity. More... | |
class | ListBoxConcept |
Properties and messages for list boxes. More... | |
class | ListBoxConceptImpl |
ListBoxConceptImpl provides the common base implementation for the List Box nodes, such as GridListBox2D, GridListBox3D, and TrajectoryListBox3D. More... | |
class | ListBoxGridPresenter |
class | ListBoxItemContainer |
Use the List Box Item Container prefab to create common functionality and decoration for all items in a List Box. More... | |
class | ListBoxItemContainer2D |
List Box Item Container for 2D List Box nodes. Wrapper component for storing item object nodes. More... | |
class | ListBoxItemContainer3D |
List Box Item Container for 3D List Box nodes. 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 | ListBoxScrollingConcept |
Messages for the List Box nodes that implement scrolling. More... | |
class | ListBoxScrollPresenterConceptImpl |
ListBoxScrollPresenterConceptImpl is the base class concept implementation for the List Box presenters that use Scroll View in their presentation. More... | |
class | ListBoxTrajectoryPresenter |
class | LongPressManipulator |
Long-press input manipulator recognizes the long-press gesture from the incoming touch events. More... | |
class | LongPressManipulatorComponent |
LongPressManipulatorComponent installs a LongPressManipulator to a node. More... | |
class | MainLoopProfiler |
MainLoopProfiler implements profiling for tasks of MainLoopScheduler. More... | |
class | MainLoopProfilingAggregateData |
MainLoopProfilingAggregateData implements profiling data aggregation for MainLoopProfiler. More... | |
struct | MainLoopProfilingSampleData |
MainLoopProfilingSampleData implements profiling sample data for MainLoopProfiler. More... | |
class | MainLoopProfilingSampler |
MainLoopProfilingSampler implements profiling sampler for MainLoopProfiler. More... | |
class | MainLoopScheduler |
MainLoopScheduler implements the Kanzi application main loop in form of a customizable sequence of stages, each consisting of a sequence of tasks, where a task is any callable, including functions, function objects, and lambdas. More... | |
class | ManualBinding |
Manual binding is a one-to-one binding that caches the value that was written to the target. More... | |
class | ManualBindingRuntime |
Runtime for binding. More... | |
class | ManualBindingSource |
Manual binding source. More... | |
class | ManualBindingSourceRuntime |
Runtime for manual binding source. More... | |
class | ManualBindingTargetRuntime |
Runtime for manual binding target. More... | |
class | MaskEffect2D |
Use MaskEffect2D to apply a mask to 2D nodes. More... | |
class | MaskEffectRenderer2D |
Mask effect renderer class. 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 |
Material brush 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 | MemoryParser |
class | MemoryWriter |
class | Mesh |
Mesh stores the geometry data for rendering Model3D nodes. More... | |
class | MeshVertexAttribute |
MeshVertexAttribute describes how mesh vertex data is stored in memory. More... | |
class | MessageArguments |
MessageArguments is the base class for arguments passed in messages. More... | |
class | MessageBindingSource |
Message binding source. More... | |
class | MessageBindingSourceRuntime |
Runtime for message binding source. More... | |
class | MessageBindingTargetRuntime |
Runtime for message binding target. More... | |
class | MessageTrigger |
Message handler trigger. More... | |
class | MessageType |
An instance of a MessageType represents a single message type in the Kanzi message system. More... | |
class | Metaclass |
Metaclass provides type inspection mechanism for Kanzi classes. More... | |
class | MetaclassAbstractBase |
class | MetaclassAbstractImpl |
class | MetaclassImpl |
class | MetaclassStaticBase |
class | MetaclassStaticImpl |
class | MetadataGeneratedName |
This class is used to disambiguate a constructor which takes a non-literal string argument from an overload which takes a string-literal i.e. FixedString. More... | |
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 | ModalScope |
Implements the modal scopes. More... | |
class | Model3D |
Node for rendering meshes in 3D space. More... | |
class | ModelessScope |
Implements the modeless overlay focus scopes. 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 multi-click and multi-tap gestures from incoming touch events. More... | |
class | MultiClickManipulatorComponent |
MultiClickManipulatorComponent installs a MultiClickManipulator to a node. More... | |
class | NamedIntervalProfiler |
The named interval profiler. More... | |
struct | NamedIntervalProfilerSampleData |
The named interval profiler data sample. More... | |
class | NamedIntervalProfilerSampler |
This sampler collects interval measurement to produce NamedIntervalProfilerSampleData sample. More... | |
struct | NamedIntervalProfilerSampleStatistics |
Named Interval profiler sample statistics. More... | |
class | NamedResourceProfilingContext |
Named resource profiling context. More... | |
class | NativeDeploymentTarget |
Reference to a backend implementation specific memory storage type for deployment. More... | |
struct | NativeWindowProperties |
Properties for a window. More... | |
struct | NavigationGesture |
Declares a navigation gesture. More... | |
class | NavigationManipulator |
The NavigationManipulator supports these navigation directions and default keyboard keys for them: More... | |
class | NavigationManipulatorComponent |
The NavigationManipulatorComponent node component installs a NavigationManipulator to a node, and configures the navigation key gestures of the manipulator. More... | |
class | NinePatchImage2D |
A nine-patch image is a 3x3 grid of images. More... | |
class | Node |
Base class for Kanzi nodes. 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... | |
class | NodeEffect2D |
Use node effects to apply post-processing effects to 2D nodes. More... | |
class | NodeEffectPrefab2D |
Use node effect prefabs to create node effects that define post-processing effects for 2D nodes. More... | |
class | NodeEffectRenderer2D |
Node effect renderer class. More... | |
class | NodeEffectTemplate2D |
Use NodeEffectTemplate2D to instantiate a node effect. More... | |
class | NodeList |
NodeList is a container that works as input and output node listing for filtering and rendering. More... | |
class | NodeListRenderPass |
Use the Node List Render Pass to filter and hold a list of nodes that you want to render using other render passes. More... | |
class | NodePropertyNotificationHandler |
Node property notification handler. More... | |
class | NodeReference |
Provides functionality for a reference to any attached node that you can access using a relative path. More... | |
class | NodeVisual2D |
Data and functionality required for rendering Node2D visuals. More... | |
class | NullBrush |
Null brush class. More... | |
class | NullGraphicsOutput |
NullGraphicsOutput class. More... | |
class | nullptr_t |
nullptr_t is the type of the null pointer literal, nullptr. More... | |
class | Object |
Object is the base class for Kanzi UI classes that implement association with a Domain. More... | |
class | ObjectControllerPropertySource |
Implementation of the ControllerPropertySource, for ControllerProperty value provided as a property field, either on the Activity Host node or, if the Activity Host node does not have that property, its nearest ancestor that does have that property. More... | |
class | ObjectFactory |
class | ObjectLoader |
ObjectLoader loads objects from KZB. More... | |
class | ObjectPropertyBindingSource |
Object property binding source. More... | |
class | ObjectPropertyBindingSourceRuntime |
Runtime for ObjectPropertyBindingSource. More... | |
class | ObjectPropertyExpressionValueSource |
Object Property expression value source. More... | |
class | ObjectPropertyExpressionValueSourceRuntime |
Runtime for object property expression value source. More... | |
class | ObjectPropertyListenerImpl |
Object property listener implementation. More... | |
class | ObjectSource |
Structure for object source. More... | |
class | ObjectSourceRuntime |
Runtime for an object source. More... | |
class | ObjectTypeFilter |
Use the Object Type Filter to collect 3D nodes based on their type. More... | |
class | ObjectTypeFilterRuntime |
Runtime for object type filter. More... | |
class | OnAttachedTrigger |
On Attached Trigger. More... | |
class | OnPropertyChangedTrigger |
Invokes associated actions on setting of a property type, specified by SourcePropertyTypeProperty, on a source node, specified by SourceNodeProperty. More... | |
class | OrientationChangedEvent |
Specialized event that reports the orientation change of a window. More... | |
class | OrientedBoundingBox |
An oriented bounding box represents a bounding box that has been transformed by a transformation matrix. More... | |
class | OutlineEffect2D |
Use OutlineEffect2D to apply an outline to the content of 2D nodes. More... | |
class | OutlineEffectRenderer2D |
Outline effect renderer class. More... | |
class | OverlayScope |
Implements the base of overlay focus scopes. 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 a pan gesture from the incoming touch events. More... | |
class | PanManipulatorComponent |
PanManipulatorComponent installs a PanManipulator to a node. More... | |
class | ParallelActivityHost2D |
An Activity Host that can display multiple Activity nodes at a time. More... | |
class | ParallelActivityHost3D |
An Activity Host that can display multiple Activity nodes at a time. More... | |
class | ParallelActivityHostConcept |
This is the base class for Parallel Activity Host nodes. More... | |
struct | ParallelActivityHostContentHandler |
Helper class used to modify the ParallelActivityHostContent of a ParallelActivityHost. More... | |
class | ParallelActivityHostImpl |
ParallelActivityHostConcept implementation class. More... | |
class | ParallelTimeline |
Kanzi animation system consists of animations and timelines: More... | |
class | ParallelTimelinePlayback |
Playback control class for parallel timelines. More... | |
class | PatchingNotificationHandler |
Patching notification handler interface. 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 the 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 | Plane |
The equation of a plane in 3D space is defined with a normal vector (perpendicular to that plane) and a known point on the plane. More... | |
struct | PlanePlaneIntersection |
Stores the intersection of two planes. More... | |
struct | PlaneRayIntersection |
Stores the result of an intersection between a plane and a ray. More... | |
class | Plugin |
class | PointerEvent |
The event holds a pointer event data and typically originates from a mouse or other pointing device. More... | |
class | Portal |
Portal node. More... | |
struct | PowerEasingFunction |
Changes the value with a configurable power function using the function f(t) = t^p, where p is equal to the power parameter. More... | |
class | PrefabTemplate |
A prefab template contains information that is required to create a tree of Node instances. More... | |
class | PrefabTemplateNode |
A prefab template node contains information that is required to create node instances: the metaclass of the node, the (initial) property values of the node, information about the bindings and node components of the node, and the list of of child nodes. More... | |
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 | PropertyAccessRange |
Property access range wraps the access of properties from another range. 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< AbstractRangeSharedPtr > |
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 |
Kanzi animation system consists of animations and timelines: More... | |
class | PropertyFieldAnimationTimelinePlayback |
Playback control class for Property Field Animation timelines. More... | |
class | PropertyFieldTargetInterpolationTimelinePlayback |
Playback for property target interpolation timeline for interpolating specific property field. More... | |
class | PropertyIsEqualFilter |
Use the Property Is Equal Filter to collect 3D nodes that contain, or do not contain a specific property whose value matches a specific value. More... | |
class | PropertyIsEqualFilterRuntime |
Runtime for contains property node filter. More... | |
class | PropertyListener |
class | PropertyModifierBindingTargetRuntime |
Base class for property modifier binding target runtimes. More... | |
class | PropertyObject |
PropertyObject is the base class that supports setting and retrieving of property types. More... | |
class | PropertyObserver |
Helper class for observing certain property in nodes. More... | |
class | PropertyTargetEasingInterpolator |
Use a Property Target Easing Interpolator when you want to create a smooth transition between the current value of a property and a value that you set dynamically. More... | |
class | PropertyTargetEasingTimeline |
Property Target Easing Timeline interpolates a property gradually from its old value to a new value using an easing curve each time a new value is set to the property. More... | |
class | PropertyTargetEasingTimelinePlayback |
Playback for PropertyTargetEasingTimeline. 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 |
An instance of a PropertyType represents a single property type in the Kanzi 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 | QnxLogger |
class | QuadDescription |
Use QuadDescription to create renderable quad geometry. More... | |
struct | QuadraticEasingFunction |
Changes the value based on the square of time using the function f(t) = t^2. More... | |
struct | QuarticEasingFunction |
Changes the value based on the 4th order polynomial using the function f(t) = t^4. More... | |
class | Quaternion |
Quaternions represent rotation around an axis, defined by quaternion components x, y, z and w. More... | |
struct | QuaternionLongerPath |
Quaternion for interpolating rotation along longer path. More... | |
struct | QuinticEasingFunction |
Changes the value based on the 5th order polynomial using the function f(t) = t^5. More... | |
class | RangeAccumulateBindingProcessor |
Runs a binary operation for each value in a range in sequence. More... | |
class | RangeAccumulateBindingProcessorRuntime |
Holds the runtime state of a RangeAccumulateBindingProcessor. More... | |
class | RangeBindingProcessor |
Range binding processor is a binding processor for accessing properties from property objects in ranges. More... | |
class | RangeBindingProcessorRuntime |
Holds the runtime state of a RangeBindingProcessor. More... | |
class | RangeConcept |
RangeConcept represents a number range with an optional step. More... | |
class | RangeConceptImpl |
class | Ray |
Ray can be mathematically defined as a point (the origin of the ray in space) and a direction. More... | |
struct | RayBoxIntersection |
Stores the result of an intersection between a box and a ray. More... | |
class | ReadOnlyDiskFile |
Implements the File interface for files residing on a disk. More... | |
class | ReadOnlyMemoryFile |
The ReadOnlyMemoryFile class provides a (read-only) file interface to a block of memory. More... | |
class | Rectangle |
2-dimensional integer rectangle. More... | |
class | ReferenceCountScopeGuard |
Reference count scope guard. More... | |
class | RelativeNodeResolver |
Enables you to get the current node in relative path. More... | |
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 | RenderEntry3D |
Host container for render states for 3D rendering. More... | |
class | RenderEntryRegistry |
Registry used to keep track of DrawObjectsRenderPass objects that contain render entries. 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 | RenderPassPrefab |
Use render pass prefabs to create render pass trees that define how Kanzi renders 3D content in your project. More... | |
class | RenderPassTemplate |
Use RenderPassTemplate to instantiate a single render pass. More... | |
class | RenderPassView |
Use the Render Pass View to instantiate a RenderPassPrefab. More... | |
class | RenderPropertyBindingSource |
Render property binding source. More... | |
class | RenderPropertyBindingSourceRuntime |
Runtime for RenderPropertyBindingSource. More... | |
class | RenderPropertyExpressionValueSource |
Render property expression value source. More... | |
class | RenderPropertyExpressionValueSourceRuntime |
Runtime for render property expression value source. More... | |
class | RenderStatePropertyNotificationHandler |
Render value updater for render state. More... | |
class | RenderValueBindingTargetRuntime |
Runtime for render value binding target. 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 | ResourceBindingProcessor |
Resource binding processor creates a resource reference that is used to resolve a string into a resource. More... | |
class | ResourceBindingProcessorRuntime |
Holds the runtime state of a ResourceBindingProcessor. More... | |
class | ResourceBindingSource |
Resource binding source. More... | |
class | ResourceBindingSourceRuntime |
Runtime for object property binding source. 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 | ScopedRefCounter |
Scoped reference counter, which takes an unsigned integer value as argument on construction to track. More... | |
class | ScopeValue |
ScopeValue template class sets a value to a variable of Type for the lifetime of the ScopeValue object, and restores the previous value of the variable when destroyed. 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 |
Implementation class for ScrollViewConcept. More... | |
class | SetPropertyAction |
SetPropertyAction sets the value of a property of a target node based on: More... | |
class | 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 | ShadowEffect2D |
Use ShadowEffect2D to apply drop- and inner-shadow post-processing effects to 2D nodes. More... | |
class | ShadowEffectRenderer2D |
Shadow effect renderer class. More... | |
class | SharedImmutableString |
Shared immutable string container. More... | |
struct | SineEasingFunction |
Changes the value with a sine formula. More... | |
class | Slider2D |
Use the Slider 2D node as a building block for a 2D UI control that lets the application user change a numerical value using a visual indicator between a minimum and a maximum value. More... | |
class | Slider2DConceptImpl |
class | Slider3D |
Use the Slider 3D node as a building block for a 3D UI control that lets the application user change a numerical value using a visual indicator between a minimum and a maximum value. More... | |
class | Slider3DConceptImpl |
class | SliderConcept |
SliderConcept contains the trajectory ResourceID property. More... | |
class | SliderTrajectoryPresenter |
struct | SmootherStepEasingFunction |
Changes the value quickly without instant changes in velocity. More... | |
struct | SmoothStepEasingFunction |
Changes the value quickly without instant changes in velocity. More... | |
class | SortByShaderObjectSource |
Sort by shader object source. More... | |
class | SortByShaderObjectSourceRuntime |
Runtime for sort by shader object source. More... | |
class | SortByZObjectSource |
Z-sorting object source. More... | |
class | SortByZObjectSourceRuntime |
Runtime for z-sort object source. More... | |
class | SortObjectSource |
Sort object source. More... | |
class | SortObjectSourceRuntime |
Base class for sort runtime classes. More... | |
class | span |
class | SpeedMeasurer |
Speed measurer estimates the rate of change from a series of measurements. More... | |
class | SplashScreen |
Splash screen. More... | |
class | Spline |
Spline is a piecewise polynomial curve that defines a path in a 3-dimensional space. More... | |
class | SplitStringRange |
SplitStringRange is a range that iteratively performs a string split. More... | |
class | SRTValue2D |
A structure that describes the scale, rotation and translation transformation in 2D space. More... | |
class | SRTValue3D |
A structure that describes the 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... | |
struct | Stage |
Stage instances represent a Stage in the Kanzi main loop. More... | |
class | StandardMaterial |
Contains property types of Standard material. More... | |
class | StandardPbrMaterial |
Contains property types for the Kanzi Physically Based Rendering (PBR) shaders. More... | |
class | StartupProfilerRegistry |
The registry of startup profilers. More... | |
class | StateManager |
State manager for managing states of nodes or application. More... | |
struct | StepEasingFunction |
Changes the value instantly. More... | |
class | StopWatch |
Stop watch is a class for measuring time. 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 | Tag |
Tag represents a mark that can be added to a node to mark that the node is of certain kind. More... | |
class | TagFilter |
Use the Tag Filter to collect 3D nodes that have a specific tag assigned. More... | |
class | TagFilterRuntime |
Runtime for tag filter. 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 |
Base class for the Text Block nodes that you can use to show a small amount of text in your application. More... | |
class | TextBlockConceptImpl |
Implementation class for TextBlockConcept. More... | |
class | TextBox2D |
TextBox2D provides the required overrides to handle 2D rendering and gesture handling for the 2D text input. More... | |
struct | TextBox2DTraits |
class | TextBox3D |
TextBox3D provides the required overrides to handle 3D rendering and gesture handling for the 3D text input. More... | |
struct | TextBox3DTraits |
class | TextBoxConcept |
Use the Text Box nodes to add single-line text input to your application. More... | |
class | TextBoxConceptImpl |
TextBoxConceptImpl is an abstract class for implementing the Text Box node concept. More... | |
class | TextConcept |
TextConcept is the base class for the nodes that implement text rendering. More... | |
class | TextConceptImpl |
TextConceptImpl provides the common base implementation for text rendering nodes. More... | |
class | TextEditBuffer |
TextEditBuffer is a model for text input. More... | |
class | TextFormat |
Text format combines the data required for text layouting and the data required for rendering the text. More... | |
struct | TextInputGesture |
The text input key gesture. More... | |
class | TextInputLayout |
Use TextInputLayout to precalculate information on text layout properties, such as glyph directionality, width, buffer index to glyph mapping, and so on. More... | |
class | TextInputManipulator |
The text input manipulator handles key gestures used with TextBox nodes to move the cursor, select text, and delete text, and provides the basics of text editing capabilities in Kanzi. More... | |
struct | TextLayout |
Structure for layout of arbitrary number of characters for text rendering. More... | |
class | TextLayouter |
Use the TextLayouter to create layouts for display text strings, including line breaks, bidirectional text shaping, and similar. More... | |
class | TextManager |
Use the TextManager class to: More... | |
class | TextResource |
Text resource. More... | |
class | TextShaper |
TextShaper encapsulates different shaping libraries, used by TextLayouter to perform BiDi layouting, text shaping and glyph substitution. More... | |
class | 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 |
Use TimelineClock to update a Timeline based on time. More... | |
class | TimelinePlayback |
Playback object for Timelines. More... | |
class | TimelinePlaybackContext |
Use TimelinePlaybackContext helper interface class to defines the context of an animation playback. More... | |
class | TimelineResource |
A Resource wrapper class for animation timelines. More... | |
class | TimerTrigger |
Timer Trigger. More... | |
class | ToggleButton2D |
Use the Toggle Button 2D node to create a 2D UI control that the user can interact with through clicking, tapping, or pressing a keyboard key, and that has multiple toggle states. More... | |
class | ToggleButton3D |
Use the Toggle Button 3D node to create a 3D UI control that the user can interact with through clicking, tapping, or pressing a keyboard key, and that has multiple toggle states. 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 |
Use a Toggle Button Group to control a collection of Toggle Buttons so that only one Toggle Button can be toggled on at a time. More... | |
class | ToggleButtonGroupConceptImpl |
Implementation class for ToggleButtonGroupConcept. More... | |
class | ToSourceBinding |
To Source bindings are one-way bindings that have an extra source to which to write the result value. More... | |
class | ToSourceBindingRuntime |
Runtime for ToSourceBinding. More... | |
class | TouchEvent |
The event holds the information about a touch event occurrence. More... | |
struct | TouchPoint |
The structure describes the attributes for a touch point or mouse hit. More... | |
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 |
Trajectory defines a series of points following a geometrical path. More... | |
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 |
Base class for TrajectoryLayout classes. More... | |
class | TrajectoryLayoutConceptImpl |
TrajectoryLayoutConceptImpl provides the common base implementation for Trajectory Layout nodes. More... | |
class | TrajectoryListBox3D |
Use the Trajectory List Box 3D node to create scrollable lists of items arranged along a Trajectory. More... | |
class | TrajectoryListBox3DTraits |
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 | TrySetFocusAction |
Use the TrySetFocusAction action to transfer focus to any focusable item in a node tree. More... | |
class | TwoWayBinding |
Two-way binding causes changes to either the source value or the target value to automatically update the other. More... | |
class | TwoWayBindingRuntime |
Runtime for two-way binding. More... | |
class | TypedManualBindingSourceRuntime |
Typed runtime for manual binding source. More... | |
class | TypedManualBindingTargetRuntime |
Typed runtime for manual binding target. More... | |
class | TypedMessageBindingSourceRuntime |
Runtime for message binding source. More... | |
class | TypedMessageBindingTargetRuntime |
Typed runtime for message binding target. More... | |
class | TypedObjectPropertyBindingSourceRuntime |
Runtime for object property binding source. More... | |
class | TypedObjectPropertyExpressionValueSourceRuntime |
Typed runtime for object property expression value source. More... | |
class | TypedPropertyModifierBindingTargetRuntime |
Specialized binding target for property modifiers installed to objects. More... | |
class | TypedRenderPropertyBindingSourceRuntime |
Runtime for render property binding source. More... | |
class | TypedRenderPropertyExpressionValueSourceRuntime |
Typed runtime for render property expression value source. More... | |
class | TypedRenderStatePropertyNotificationHandler |
Specialized property state and value container for render state. More... | |
class | TypedRenderStatePropertyNotificationHandler< TextureSharedPtr > |
TypedRenderStatePropertyNotificationHandler specialization. More... | |
class | TypedRenderValueBindingTargetRuntime |
Typed runtime for render value binding target. More... | |
class | TypedValueRange |
TypedValueRange is a template class for holding one type of object in a range. More... | |
class | TypedValueSourceBindingTargetRuntime |
Specialized binding target for value sources where the binding target itself is the value source. More... | |
class | TypedVariableBindingSourceRuntime |
Typed runtime for variable binding source. More... | |
class | TypedVariableBindingTargetRuntime |
Typed runtime for variable binding target. More... | |
class | TypedVariableExpressionValueSourceRuntime |
Typed runtime for variable expression value source. More... | |
class | UsingIntrusivePtr |
Class that should be inherited by objects using intrusive_ptr. More... | |
class | ValueAccumulatorBase |
ValueAccumulatorBase is the base class for the Value Accumulator implementations for different data types. More... | |
class | ValueAccumulatorTimeline |
Use ValueAccumulatorTimeline to create an animation that continuously adds the value of the input property to the target property. More... | |
class | ValueAccumulatorTimelinePlayback |
Playback for ValueAccumulatorTimeline. More... | |
class | ValueAnimation |
Interface template for value animations. More... | |
class | ValueBindingSource |
Constant value as binding source. More... | |
class | ValueBindingSourceRuntime |
Runtime for ValueBindingSource. More... | |
class | ValueControlledExclusiveActivityHostConcept |
Base class for the Exclusive Activity Host classes. More... | |
class | ValueRange |
ValueRange is an abstract range implementation that stores variant values. More... | |
class | ValueSourceBindingTargetRuntime |
Base class for value source binding target runtimes. More... | |
class | VariableBindingHost |
Binding variable host. More... | |
class | VariableBindingSource |
Variable binding source. More... | |
class | VariableBindingSourceRuntime |
Runtime for variable binding source. More... | |
class | VariableBindingTargetRuntime |
Variable binding target runtime. More... | |
class | VariableExpressionValueSource |
Variable expression value source. More... | |
class | VariableExpressionValueSourceRuntime |
Runtime for variable expression value source. 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 | ViewRange |
View over another range. More... | |
class | ViewRangeImpl |
View range internal implementation class. More... | |
class | VisitorFunction |
Wraps a focus scope visitor function into a FocusScopeVisitor. More... | |
class | VulkanGraphicsOutput |
VulkanGraphicsOutput class. More... | |
class | Watermark |
Watermark. More... | |
class | Win32DebugLogger |
This logger class writes log messages to the Windows debugger console. More... | |
class | WindowedGraphicsOutput |
WindowedGraphicsOutput class. More... | |
class | WindowEvent |
The WindowEvent class holds window specific events. More... | |
class | WindowRedrawRequestEvent |
Specialized window event with InputEvent::WindowRedrawRequest type. More... | |
class | WindowResizedEvent |
Specialized window event with InputEvent::WindowResized type. More... | |
class | WindowResizeRequestEvent |
Specialized window event with InputEvent::WindowResizeRequest type. More... | |
class | WindowsIme |
class | WindowsImeBackend |
class | WriteLogAction |
Use the WriteLogAction class to attach logging functionality to a trigger. More... | |
class | WriteOnlyDiskFile |
Implements the File interface for writing files to a disk. More... | |
Functions | |
optional< int > | acquireBlendModeRenderValue (AbstractPropertyType propertyType, Node *node, PropertyObject *object, Material &material) |
Acquires the blend mode value. More... | |
optional< int > | acquireBlendModeRenderValue (AbstractPropertyType propertyType, Node *node, Brush &brush, Material &material) |
Specialized acquire of blend mode value. More... | |
FontRuntimeSharedPtr | acquireFont (const Node &node) |
Gets a runtime font object. More... | |
tuple< FontRuntimeSharedPtr, bool > | acquireFont (const FontRuntimeSharedPtr &runtimeFont, const Node &node) |
Use this function to check whether a runtimeFont uses the font file and font style required to draw text with the property values of the node. More... | |
template<typename T > | |
T | acquireRenderValueFromProperty (AbstractPropertyType abstractProperty, Node *node, PropertyObject *object, Material &material, ShaderProgram::UniformTransformation transformation) |
Default implementation for acquiring value for property notification handlers. More... | |
template<> | |
ColorRGBA | acquireRenderValueFromProperty (AbstractPropertyType abstractProperty, Node *node, PropertyObject *object, Material &material, ShaderProgram::UniformTransformation transformation) |
Specialization of acquireRenderValueFromProperty(). More... | |
template<> | |
TextureSharedPtr | acquireRenderValueFromProperty (AbstractPropertyType abstractProperty, Node *node, PropertyObject *object, Material &material, ShaderProgram::UniformTransformation transformation) |
Specialization of acquireRenderValueFromProperty(). More... | |
template<typename T > | |
T | acquireRenderValueFromPropertyDefault (AbstractPropertyType abstractProperty, Node *node, PropertyObject *object, Material &material) |
Default implementation for acquiring value for property notification handlers. More... | |
void | acquireResources (Domain *domain, Mesh::CreateInfo &createInfo) |
For each cluster in mesh create info, load material from materialURL, if set. More... | |
int | acquireUniformLocation (Material &material, string_view name) |
Acquire uniform location from a material. More... | |
template<> | |
void | ActivityStatusAnimationFinishedHandler::sendMessages< ActivityConcept::Status::Activating > (ActivityElement &activityElement) |
ActivityStatusAnimationFinishedHandler::sendMessages() specialization. More... | |
template<> | |
void | ActivityStatusAnimationFinishedHandler::sendMessages< ActivityConcept::Status::Active > (ActivityElement &activityElement) |
ActivityStatusAnimationFinishedHandler::sendMessages() specialization. More... | |
template<> | |
void | ActivityStatusAnimationFinishedHandler::sendMessages< ActivityConcept::Status::Deactivating > (ActivityElement &activityElement) |
ActivityStatusAnimationFinishedHandler::sendMessages() specialization. More... | |
template<> | |
void | ActivityStatusAnimationFinishedHandler::sendMessages< ActivityConcept::Status::Inactive > (ActivityElement &activityElement) |
ActivityStatusAnimationFinishedHandler::sendMessages() specialization. More... | |
void | addApplicationPausedEvent (EventQueue &queue) |
Adds an InputEvent with InputEvent::ApplicationPaused type to the queue. More... | |
void | addApplicationSleepEvent (EventQueue &queue) |
Adds an InputEvent with InputEvent::ApplicationSleep type to the queue. More... | |
void | addApplicationWakeupEvent (EventQueue &queue) |
Adds an InputEvent with InputEvent::ApplicationWakeup type to the queue. More... | |
void | addKeyEvent (EventQueue &queue, size_t rawKeyCode, LogicalKey key, KeyModifier modifiers, KeyState state) |
Adds a KeyEvent with multiple key modifiers to the queue. More... | |
void | addKeyRepeatEvent (EventQueue &queue, size_t rawKeyCode, LogicalKey key, KeyModifier modifiers, size_t repeatCount) |
Adds to the queue a KeyEvent with multiple key modifiers, KeyState::Pressed state, and key-press repeatCount. More... | |
void | addPointerEvent (EventQueue &queue, int x, int y, PointerButton buttons, PointerState state, int scroll=0) |
Adds a PointerEvent to the queue. More... | |
void | addSetHudDebugEvent (EventQueue &queue, bool onOff) |
Adds a HudDebugEvent to the queue. More... | |
void | addSinglePointTouchEvent (EventQueue &queue, TouchState state, size_t id, TouchPointState pointState, float x, float y, float pressure=1.0f, float radius=1.0f) |
Adds a TouchEvent with one touch point to the queue. More... | |
void | addToggleHudDebugEvent (EventQueue &queue) |
Adds an InputEvent with InputEvent::DebugToggleHud type to the queue. More... | |
void | addTouchEvent (EventQueue &queue, TouchState state, const list< TouchEvent::TouchPoint > &points) |
Adds a TouchEvent with multiple touch points to the queue. More... | |
void | addWindowClosedEvent (EventQueue &queue, NativeWindowHandle target) |
Adds a WindowEvent with InputEvent::WindowClosed type to the queue. More... | |
void | addWindowFocusGainedEvent (EventQueue &queue, NativeWindowHandle target) |
Adds a WindowEvent with InputEvent::WindowFocusGained type to the queue. More... | |
void | addWindowFocusLostEvent (EventQueue &queue, NativeWindowHandle target) |
Adds a WindowEvent with InputEvent::WindowFocusLost type to the queue. More... | |
void | addWindowHiddenEvent (EventQueue &queue, NativeWindowHandle target) |
Adds a WindowEvent with InputEvent::WindowHidden type to the queue. More... | |
void | addWindowOrientationChangedEvent (EventQueue &queue, NativeWindowHandle target, WindowOrientation orientation) |
Adds an OrientationChangedEvent to the queue. More... | |
void | addWindowRedrawRequestEvent (EventQueue &queue, NativeWindowHandle target) |
Adds a WindowRedrawRequestEvent to the queue. More... | |
void | addWindowResizedEvent (EventQueue &queue, NativeWindowHandle target, unsigned int width, unsigned int height) |
Adds a WindowResizedEvent to the queue. More... | |
void | addWindowResizeRequestEvent (EventQueue &queue, NativeWindowHandle target, unsigned int width, unsigned int height) |
Adds a WindowResizeRequestEvent to the queue. More... | |
void | addWindowResourceLostEvent (EventQueue &queue, NativeWindowHandle target) |
Adds a WindowEvent with InputEvent::WindowResourceLost type to the queue. More... | |
template<typename T > | |
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) |
template<typename T > | |
T | animationInterpolate (const T &from, const T &to, float phase) |
int | animationInterpolate (int from, int 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 ResourceSharedPtr & | animationInterpolate (const ResourceSharedPtr &from, const ResourceSharedPtr &to, float phase) |
Quaternion | animationInterpolate (const Quaternion &from, const Quaternion &to, float phase) |
QuaternionLongerPath | animationInterpolate (const QuaternionLongerPath &from, const QuaternionLongerPath &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) |
void | appendSkipSystemInitialization (SystemProperties &systemProperties) |
Adds "-nosysinit" to the end of the system properties. More... | |
Matrix3x3 | applyGeometryOffsetAndSize (const Matrix3x3 &transformation, Vector2 offset, Vector2 size) |
Applies offset and size to 3x3 transformation. More... | |
Matrix4x4 | applyGeometryOffsetAndSize (const Matrix4x4 &transformation, Vector2 offset, Vector2 size) |
Applies offset and size of the target rectangle to 4x4 transformation. More... | |
Matrix3x3 | applyGeometryTargetRectangle (const Matrix3x3 &transformation, const RectangleFloat &targetRectangle) |
Applies offset and size of the target rectangle to 3x3 transformation. More... | |
Matrix4x4 | applyGeometryTargetRectangle (const Matrix4x4 &transformation, const RectangleFloat &targetRectangle) |
Applies offset and size of the target rectangle to 4x4 transformation. More... | |
KZ_NO_DISCARD int | applyPlatformMmapMode (int flags) |
Apply chosen platform mmapMode strategy to mmap() flags. More... | |
void | applyProperties (Object &object, const KzbMemoryParser::PropertyContainer &properties) |
Apply properties from a PropertyContainer to an Object. More... | |
template<typename TargetType , typename FieldType > | |
void | assignFieldValue (TargetType &value, PropertyField field, FieldType fieldValue) |
Free function for setting a field of a value. More... | |
template<> | |
void | assignFieldValue< ColorRGBA, float > (ColorRGBA &value, PropertyField field, float fieldValue) |
Specialization of assignFieldValue;. More... | |
template<> | |
void | assignFieldValue< Matrix3x3, float > (Matrix3x3 &value, PropertyField field, float fieldValue) |
Specialization of assignFieldValue;. More... | |
template<> | |
void | assignFieldValue< Matrix4x4, float > (Matrix4x4 &value, PropertyField field, float fieldValue) |
Specialization of assignFieldValue;. More... | |
template<> | |
void | assignFieldValue< SRTValue2D, float > (SRTValue2D &value, PropertyField field, float fieldValue) |
Specialization of assignFieldValue;. More... | |
template<> | |
void | assignFieldValue< SRTValue3D, float > (SRTValue3D &value, PropertyField field, float fieldValue) |
Specialization of assignFieldValue;. More... | |
template<> | |
void | assignFieldValue< SRTValue3D, Quaternion > (SRTValue3D &value, PropertyField field, Quaternion fieldValue) |
Specialization of assignFieldValue;. More... | |
template<> | |
void | assignFieldValue< Vector2, float > (Vector2 &value, PropertyField field, float fieldValue) |
Specialization of assignFieldValue;. More... | |
template<> | |
void | assignFieldValue< Vector3, float > (Vector3 &value, PropertyField field, float fieldValue) |
Specialization of assignFieldValue;. More... | |
template<> | |
void | assignFieldValue< Vector4, float > (Vector4 &value, PropertyField field, float fieldValue) |
Specialization of assignFieldValue;. More... | |
template<class T > | |
T::iterator | begin (T &t) |
PropertyTypeRegistry::const_iterator | beginPropertyTypes () |
Get iterator to the beginning of registry of all property types. More... | |
int | bindingExpressionDivide (int lhs, int rhs) |
Integer divide the expression way. More... | |
float | bindingExpressionDivide (float lhs, float rhs) |
Floating point divide the expression way. More... | |
ColorRGBA | bindingExpressionDivide (const ColorRGBA &lhs, const ColorRGBA &rhs) |
Color divide the expression way. More... | |
Vector2 | bindingExpressionDivide (const Vector2 &lhs, const Vector2 &rhs) |
Vector2 divide the expression way. More... | |
Vector3 | bindingExpressionDivide (const Vector3 &lhs, const Vector3 &rhs) |
Vector3 divide the expression way. More... | |
Vector4 | bindingExpressionDivide (const Vector4 &lhs, const Vector4 &rhs) |
Vector4 divide the expression way. More... | |
BindingExpressionFunction | bindingExpressionFunctionFromOperation (KzuExpressionValidatorOperation operation) |
Converts expression validation operation to binding expression function. More... | |
int | bindingExpressionModulo (int lhs, int rhs) |
Integer modulo the expression way. More... | |
float | bindingExpressionModulo (float lhs, float rhs) |
Floating point modulo the expression way. More... | |
ColorRGBA | bindingExpressionModulo (const ColorRGBA &lhs, const ColorRGBA &rhs) |
Color modulo the expression way. More... | |
Vector2 | bindingExpressionModulo (const Vector2 &lhs, const Vector2 &rhs) |
Vector2 modulo the expression way. More... | |
Vector3 | bindingExpressionModulo (const Vector3 &lhs, const Vector3 &rhs) |
Vector3 modulo the expression way. More... | |
Vector4 | bindingExpressionModulo (const Vector4 &lhs, const Vector4 &rhs) |
Vector4 modulo the expression way. More... | |
int | bindingExpressionRemainder (int lhs, int rhs) |
Integer remainder the expression way. More... | |
float | bindingExpressionRemainder (float lhs, float rhs) |
Floating point remainder the expression way. More... | |
ColorRGBA | bindingExpressionRemainder (const ColorRGBA &lhs, const ColorRGBA &rhs) |
Color remainder the expression way. More... | |
Vector2 | bindingExpressionRemainder (const Vector2 &lhs, const Vector2 &rhs) |
Vector2 remainder the expression way. More... | |
Vector3 | bindingExpressionRemainder (const Vector3 &lhs, const Vector3 &rhs) |
Vector3 remainder the expression way. More... | |
Vector4 | bindingExpressionRemainder (const Vector4 &lhs, const Vector4 &rhs) |
Vector4 remainder the expression way. More... | |
ColorRGBA | bindingFixedOperationGetAmbient (Node &node, const Material &material) |
Fixed operation to acquire ambient color. More... | |
Vector3 | bindingFixedOperationGetCameraPosition (RenderPass &renderPass) |
Fixed operation to acquire camera position vector. More... | |
Matrix4x4 | bindingFixedOperationGetCameraWorldMatrix (RenderPass &renderPass, Node &node) |
Fixed operation to acquire camera world matrix. More... | |
Matrix4x4 | bindingFixedOperationGetNormalMatrix (Node &node) |
Fixed operation to acquire normal matrix. More... | |
Matrix4x4 | bindingFixedOperationGetProjectionCameraWorldMatrix (RenderPass &renderPass, Node &node) |
Fixed operation to acquire projection camera world matrix. More... | |
Vector4 | bindingFixedOperationGetViewPosition (RenderPass &renderPass) |
Fixed operation to acquire homogeneous view position vector. More... | |
Matrix4x4 | bindingFixedOperationGetWorldMatrix (Node &node) |
Fixed operation to acquire world matrix. More... | |
template<typename T > | |
bool | bindingWriteObjectProperty (PropertyObjectSharedPtr object, const Variant &value, AbstractPropertyType propertyType, PropertyField field) |
Writes an object property. More... | |
Box | calculateBoundingVolume (const Mesh::CreateInfo &createInfo) |
Calculates bounding box from mesh vertex data. More... | |
optional< Vector4 > | calculateCameraViewPosition (Matrix4x4 projectionCameraMatrix) |
Calculates a homogeneous camera view position that you can use to calculate the view direction in a shader. More... | |
Vector3 | calculateEulerAngles (const Quaternion &quaternion) |
Calculates Euler angles from a quaternion. More... | |
void | calculateFrustumPlanes (const Matrix4x4 &cameraViewMatrix, const Matrix4x4 &projectionMatrix, Plane *frustumPlanes) |
Internal function for calculating frustum planes. More... | |
unsigned int | calculateMipmapLevelCount (unsigned int width, unsigned int height) |
Calculates number of mipmap levels for provided image size. More... | |
KZ_NO_DISCARD Matrix4x4 | calculateOrdinaryGLTargetTransformationMatrix (unsigned int width, unsigned int height) noexcept |
Calculates the ordinary target transformation matrix for GLGraphicsOutput. More... | |
Box | calculateWorldSpaceAABB (const OrientedBoundingBox &orientedBoundingBox) |
Gets a minimum size world space axis-aligned bounding box that encloses this transformed box. More... | |
bool | canNodeGetFocus (const Node &node) |
Returns whether a node can get keyboard focus. More... | |
BitmapImageUniquePtr | captureCurrentFramebufferToImage (unsigned int width, unsigned int height, GraphicsFormat format) |
Capture the current framebuffer to an image. More... | |
BitmapImageUniquePtr | captureScreenToImage (Renderer &renderer, unsigned int width, unsigned int height, GraphicsFormat format) |
Capture the screen (default framebuffer) to an image. More... | |
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]) |
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... | |
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... | |
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... | |
void | collectResourceUrls (const ResourceDictionary &resourceDictionary, ResourceManager::UrlContainer &urls) |
Collects the URLs from a resource dictionary. More... | |
void | collectResourceUrls (ResourceManager *resourceManager, string_view hostname, ResourceManager::UrlContainer &urls) |
Collect resource urls from a named file. More... | |
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... | |
ResourceManager::UrlContainer | collectResourceUrls (const Mesh::CreateInfo &createInfo) |
For each cluster in mesh create info, get material URL, if set. More... | |
UrlContainer | collectResourceUrls (const KzbMemoryParser::PropertyContainer &properties) |
Collects URLs of all property values of Resource type. More... | |
KZ_DEPRECATED 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... | |
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... | |
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... | |
void | collectResourceUrlsFromStateManagersAndRenderPassPrefabs (const PrefabTemplate &prefabTemplate, const Node &node, ResourceManager::UrlContainer &urls) |
Looks up resource properties of type StateManager or RenderPassPrefab in the nodes of a prefab template. More... | |
void | collectResourceUrlsFromStateManagersAndRenderPassPrefabs (const PrefabTemplate &prefabTemplate, ResourceManager::UrlContainer &urls) |
Looks up resource properties of type StateManager or RenderPassPrefab in the nodes of a prefab template. More... | |
CompositionRequirements | combineCompositionRequirements (const CompositionRequirements &lhs, const CompositionRequirements &rhs) |
Merge two composition requirements together. More... | |
Vector2 | componentAbs (Vector2 v) |
Calculates component-wise absolute value for all elements and returns resulting vector. More... | |
Vector4 | componentAbs (Vector4 v) |
Calculates component-wise absolute value for all elements and returns resulting vector. More... | |
ColorRGBA | componentAbs (ColorRGBA v) |
Calculates component-wise absolute value for all elements and returns the resulting color. More... | |
Vector3 | componentAbs (Vector3 v) |
Calculates component-wise absolute value for all elements and returns resulting vector. More... | |
Vector2 | componentAdd (Vector2 v, float scalar) |
Adds a value to all elements of a vector and returns the result. More... | |
Vector4 | componentAdd (Vector4 v, float scalar) |
Adds a value to all elements of a vector and returns the result. More... | |
Vector3 | componentAdd (Vector3 v, float scalar) |
Adds a value to all elements of a vector and returns the result. More... | |
ColorRGBA | componentAdd (ColorRGBA v, float scalar) |
Adds a value to all color elements and returns the resulting color. More... | |
bool | componentAllGreaterThan (Vector2 a, Vector2 b) |
Returns whether each component of the first vector is greater than the corresponding component of the second vector. More... | |
bool | componentAllGreaterThan (Vector4 a, Vector4 b) |
Returns whether each component of the first vector is greater than the corresponding component of the second vector. More... | |
bool | componentAllGreaterThan (Vector3 a, Vector3 b) |
Returns whether each component of the first vector is greater than the corresponding component of the second vector. More... | |
bool | componentAllGreaterThanOrEqual (Vector2 a, Vector2 b) |
Returns whether each component of the first vector is greater than or equal to the corresponding component of the second vector. More... | |
bool | componentAllGreaterThanOrEqual (Vector4 a, Vector4 b) |
Returns whether each component of the first vector is greater than or equal to the corresponding component of the second vector. More... | |
bool | componentAllGreaterThanOrEqual (Vector3 a, Vector3 b) |
Returns whether each component of the first vector is greater than or equal to the corresponding component of the second vector. More... | |
bool | componentAllLessThan (Vector2 a, Vector2 b) |
Returns whether each component of the first vector is less than the corresponding component of the second vector. More... | |
bool | componentAllLessThan (Vector4 a, Vector4 b) |
Returns whether each component of the first vector is less than the corresponding component of the second vector. More... | |
bool | componentAllLessThan (Vector3 a, Vector3 b) |
Returns whether each component of the first vector is less than the corresponding component of the second vector. More... | |
bool | componentAllLessThanOrEqual (Vector2 a, Vector2 b) |
Returns whether each component of the first vector is less than or equal to the corresponding component of the second vector. More... | |
bool | componentAllLessThanOrEqual (Vector4 a, Vector4 b) |
Returns whether each component of the first vector is less than or equal to the corresponding component of the second vector. More... | |
bool | componentAllLessThanOrEqual (Vector3 a, Vector3 b) |
Returns whether each component of the first vector is less than or equal to the corresponding component of the second vector. More... | |
Vector2 | componentCeil (Vector2 v) |
Calculates component-wise ceil 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... | |
ColorRGBA | componentCeil (ColorRGBA v) |
Calculates component-wise ceil value for all elements and returns the resulting color. More... | |
Vector3 | componentCeil (Vector3 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... | |
Vector4 | componentFloor (Vector4 v) |
Calculates component-wise floor value for all elements and returns resulting vector. More... | |
ColorRGBA | componentFloor (ColorRGBA v) |
Calculates component-wise floor value for all elements and returns the resulting color. More... | |
Vector3 | componentFloor (Vector3 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... | |
Vector4 | componentRound (Vector4 v) |
Calculates component-wise rounded value for all elements and returns resulting vector. More... | |
ColorRGBA | componentRound (ColorRGBA v) |
Calculates component-wise rounded value for all elements and returns the resulting color. More... | |
Vector3 | componentRound (Vector3 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... | |
Vector4 | componentSqrt (Vector4 v) |
Calculates component-wise square root all elements and returns resulting vector. More... | |
ColorRGBA | componentSqrt (ColorRGBA v) |
Calculates component-wise square root all elements and returns the resulting color. More... | |
Vector3 | componentSqrt (Vector3 v) |
Calculates component-wise square root all elements and returns resulting vector. More... | |
Vector2 | componentSubtract (Vector2 v, float scalar) |
Subtracts a value from 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... | |
Vector3 | componentSubtract (Vector3 v, float scalar) |
Subtracts a value from all elements of a vector and returns the result. More... | |
ColorRGBA | componentSubtract (ColorRGBA v, float scalar) |
Subtracts a value from all color elements and returns the resulting color. More... | |
template<typename T > | |
T | componentWiseClamp (const T &value, const T &minvalue, const T &maxvalue) |
Clamps all vector fields between the given minimum and the maximum values. More... | |
Vector2 | componentWiseDivide (Vector2 v1, Vector2 v2) |
Divides all vector elements component-wise and returns the resulting vector. More... | |
Vector4 | componentWiseDivide (Vector4 v1, Vector4 v2) |
Divides component-wise all vector elements and returns the resulting vector. More... | |
Vector3 | componentWiseDivide (Vector3 v1, Vector3 v2) |
Divides component-wise all vector elements and returns the resulting vector. More... | |
ColorRGBA | componentWiseDivide (ColorRGBA v1, ColorRGBA v2) |
Divides component-wise all color elements and returns the resulting color. More... | |
Vector2 | componentWiseMax (Vector2 v1, Vector2 v2) |
Calculates the component-wise maximum for all vector elements and returns the resulting vector. More... | |
Vector4 | componentWiseMax (Vector4 v1, Vector4 v2) |
Calculates the component-wise maximum for all vector elements and returns the resulting vector. More... | |
ColorRGBA | componentWiseMax (ColorRGBA v1, ColorRGBA v2) |
Calculates component-wise maximum for all color elements and returns the resulting color. More... | |
Vector3 | componentWiseMax (Vector3 v1, Vector3 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... | |
Vector4 | componentWiseMin (Vector4 v1, Vector4 v2) |
Calculates the component-wise minimum for all vector elements and returns the resulting vector. More... | |
ColorRGBA | componentWiseMin (ColorRGBA v1, ColorRGBA v2) |
Calculates component-wise minimum for all color elements and returns the resulting color. More... | |
Vector3 | componentWiseMin (Vector3 v1, Vector3 v2) |
Calculates the component-wise minimum for all vector elements and returns the resulting vector. More... | |
Quaternion | componentWiseMultiply (const Quaternion &q1, const Quaternion &q2) |
Multiplies quaternion components component-wise and returns the resulting quaternion. More... | |
Vector2 | componentWiseMultiply (Vector2 v1, Vector2 v2) |
Multiplies all vector elements component-wise and returns the resulting vector. More... | |
Vector4 | componentWiseMultiply (Vector4 v1, Vector4 v2) |
Multiplies component-wise all vector elements and returns the resulting vector. More... | |
Vector3 | componentWiseMultiply (Vector3 v1, Vector3 v2) |
Multiplies component-wise all vector elements and returns the resulting vector. More... | |
ColorRGBA | componentWiseMultiply (ColorRGBA v1, ColorRGBA v2) |
Multiplies component-wise all color elements and returns the resulting color. More... | |
Vector2 | componentWiseRemainder (Vector2 v1, Vector2 v2) |
Calculates component-wise the remainder for all vector elements and returns the resulting vector. More... | |
Vector4 | componentWiseRemainder (Vector4 v1, Vector4 v2) |
Calculates component-wise the remainder for all vector elements and returns the resulting vector. More... | |
Vector3 | componentWiseRemainder (Vector3 v1, Vector3 v2) |
Calculates component-wise the remainder for all vector elements and returns the resulting vector. More... | |
ColorRGBA | componentWiseRemainder (ColorRGBA v1, ColorRGBA v2) |
Calculates component-wise the remainder for all color elements and returns the resulting color. More... | |
template<typename T , size_t Size, typename U > | |
bool | contains (const array< T, Size > &c, const U &value) |
template<typename T , typename A , typename U > | |
bool | contains (const vector< T, A > &c, const U &value) |
Timeline::DirectionBehavior | convert (KzuTimeLineEntryPlaybackMode mode) |
KzuTimeLineEntryPlaybackMode | convert (Timeline::DirectionBehavior behavior) |
wstring | convertUTF8ToWideChar (string_view utf8) |
Converts a given UTF-8 string view into a Win32-compatible wide character string. More... | |
Win32String | convertUTF8ToWin32 (string_view utf8) |
string | convertWideCharToUTF8 (wstring_view wchar) |
Converts a given Win32-compatible wide character string view into a UTF-8 string. More... | |
Win32String | convertWideCharToWin32 (wstring_view wchar) |
string | convertWin32ToUTF8 (Win32StringView win32) |
wstring | convertWin32ToWideChar (Win32StringView win32) |
template<class T > | |
T::const_reverse_iterator | crbegin (T const &t) |
template<typename T > | |
Variant | createDataObjectVariant (const T &value) |
Creates a new Variant from data object value. More... | |
Variant | createDataObjectVariant (double value) |
createDataObjectVariant() overload. More... | |
optional< BindingLoadInfo > | createDefaultRenderValueBinding (Domain *domain, optional< AbstractPropertyType > propertyType, string_view renderValueName, PropertyDataType dataType, unsigned arraySize, ShaderProgram::UniformTransformation transformation) |
Creates a default binding for a given render value. More... | |
Matrix4x4 | createRelativeOrthogonalProjection (float near, float far, Matrix4x4::FieldOfViewType fovType, float orthoSize, float aspectRatio) |
Creates an orthogonal projection matrix for a symmetrical viewing volume. More... | |
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... | |
template<class T > | |
T::const_reverse_iterator | crend (T const &t) |
Vector4 | crossProduct (Vector4 v1, Vector4 v2) |
Calculates the cross product of two vectors. More... | |
Vector3 | crossProduct (Vector3 v1, Vector3 v2) |
Calculates the cross product of two vectors. More... | |
constexpr float | degreesToRadians (float angleInDegrees) |
Converts degrees to radians. More... | |
void | doListBoxArrange (Node3D &node) |
void | doListBoxArrange (Node2D &node) |
float | dotProduct (const Quaternion &q1, const Quaternion &q2) |
Calculates the dot product of two quaternions. More... | |
float | dotProduct (Vector2 v1, Vector2 v2) |
Calculates the dot product of two vectors. More... | |
float | dotProduct (ColorRGBA v1, ColorRGBA v2) |
Calculates the dot product of two colors. More... | |
float | dotProduct (Vector4 v1, Vector4 v2) |
Calculates the dot product of two vectors. More... | |
float | dotProduct (Vector3 v1, Vector3 v2) |
Calculates the dot product of two vectors. More... | |
timespec | durationToTimespec (chrono::nanoseconds duration) |
Converts C++ nanoseconds to POSIX native nanosecond format. More... | |
timeval | durationToTimeval (chrono::microseconds duration) |
Converts C++ microsecond to POSIX native microsecond format. More... | |
template<class T > | |
T::iterator | end (T &t) |
PropertyTypeRegistry::const_iterator | endPropertyTypes () |
Get iterator to the end of registry of all property types. More... | |
template<typename T , typename A , typename U > | |
void | erase (vector< T, A > &c, const U &value) |
template<class K , class T , class H , class P , class A , class Predicate > | |
void | erase_if (unordered_map< K, T, H, P, A > &c, Predicate pred) |
template<typename T , typename A , typename U > | |
void | erase_if (vector< T, A > &c, const U &predicate) |
bool | expressionOperationWrite (BindingExpressionOpCodeParameters ¶ms) |
Execute write operation. More... | |
Matrix3x3 | extract3x3 (const Matrix4x4 &matrix) |
Extracts the 3x3 rotation and scaling part of a matrix. More... | |
void | extractExpressionField (Variant &outputRegister, const Variant &inputRegister, PropertyField field) |
Reads a field from an input register and writes it to the output register. More... | |
bool | extractSRT (const Matrix3x3 &matrix, Vector2 &scale, float &rotationInRadians, Vector2 &translation) |
Extracts scale, rotation and translation information from a matrix. More... | |
bool | extractSRT (const Matrix4x4 &matrix, Vector3 &scale, Vector3 &rotationInRadians, Vector3 &translation) |
Extracts from a matrix the scale, rotation, and translation information. More... | |
FocusScope * | findAncestorScopeForNode (const Node &node) |
Returns the ancestor focus scope of the node that you pass as an argument. More... | |
template<typename Predicate > | |
FocusScope * | findAncestorScopeIf (Node &first, Node &last, Predicate predicate) |
Find the first ancestor scope in the [first node, last node) range, for which the predicate returns true. More... | |
template<typename Predicate > | |
FocusScope * | findAncestorScopeIfNot (Node &first, Node &last, Predicate predicate) |
Find the first ancestor scope in the [first node, last node) range, for which the predicate returns false. More... | |
KZ_NO_DISCARD ::EGLConfig | findBestEGLConfig (const EGLDisplay &eglDisplay, const EGLCapabilities &capabilities) noexcept |
Finds the best suitable EGL configuration based on the capabilities. More... | |
Node * | findCommonParent (const Node &nodeA, const Node &nodeB) |
Gets first common parent from nodeA and nodeB, or null if not found. More... | |
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... | |
FocusFence * | findFenceForNode (const Node &node) |
Returns the focus fence of the given node that you pass as an argument. More... | |
optional< GraphicsFormat > | findGraphicsFormatByName (string_view formatName) |
Returns GraphicsFormat given its name as a human readable string. More... | |
template<typename Function > | |
OverlayScope * | findInputPropagationOverlayIf (OverlayScope *overlayScope, Function predicate) |
Finds the overlay focus scope that is the overlayScope, or one of its preceding overlay focus scopes to which Kanzi lets the input propagate, for which the predicate function returns true. More... | |
OverlayScope * | findOverlayScopeForNode (const Node &node) |
Returns the overlay focus scope to which the node that you pass in this function belongs. More... | |
template<typename Type > | |
shared_ptr< Type > | findParent (const Node &node) |
Gets nearest parent of specified type. More... | |
FocusScope * | findScopeForNode (const Node &node) |
Returns the focus scope of the node that you pass as an argument. More... | |
bool | floatIsAlmostEqual (float valueA, float valueB) |
Check if two floats are approximately equal. More... | |
bool | floatIsAlmostEqualAbsolute (float valueA, float valueB, float maxAbsoluteDifference) |
Check if two floats are equal up to a given difference. More... | |
bool | floatIsAlmostEqualUlps (float valueA, float valueB, unsigned int maxUlps) |
Floating point helper methods. More... | |
constexpr bool | floatIsEqual (float valueA, float valueB) |
Check if two floats are equal. More... | |
uint16_t | floatToHalfFloat (float f) |
Converts float to 16 bits representing a half float. More... | |
constexpr unsigned int | floatToUint (float value) |
Casts a float to unsigned int. More... | |
template<typename Function > | |
void | forEachAncestorNodeInScope (const Node &node, const FocusScope *scope, Function function) |
Execute a function for every ancestor node of the node, until and including the focus scope node that is an ancestor of the node. More... | |
template<typename Function > | |
void | forEachAncestorScope (Node &first, Node &last, Function function) |
Execute a function for every focus scope in the [first node, last node) range. More... | |
template<typename Function > | |
void | forEachAncestorScopeOf (Node &node, Function function) |
Executes a function for every ancestor focus scope of the node, until and including the overlay focus scope node that owns the node. More... | |
from_chars_result | from_chars (const char *first, const char *last, int &value, int base=10) |
Converts a character sequence to an integer value. More... | |
Mesh::CreateInfo | generateBox (Vector3 size, unsigned int subdivisions, bool useHalfFloat, bool generateNormals, bool generateTangents, MaterialSharedPtr material, string_view materialURL, GPUResource::MemoryType memoryType) |
Makes mesh create info for a box primitive mesh. More... | |
Mesh::CreateInfo | generateIcosphere (float radius, unsigned int subdivisions, bool useHalfFloat, bool generateNormals, bool generateTangents, MaterialSharedPtr material, string_view materialURL, GPUResource::MemoryType memoryType) |
Makes mesh create info for an icosphere primitive mesh. More... | |
Mesh::CreateInfo | generatePlane (float width, float height, unsigned int subdivisions, bool invertU, bool invertV, bool useHalfFloat, bool generateNormals, bool generateTangents, MaterialSharedPtr material, string_view materialURL, GPUResource::MemoryType memoryType) |
Makes mesh create info for a plane primitive mesh. More... | |
Mesh::CreateInfo | generateQuadsphere (float radius, unsigned int subdivisions, bool useHalfFloat, bool generateNormals, bool generateTangents, MaterialSharedPtr material, string_view materialURL, GPUResource::MemoryType memoryType) |
Makes mesh create info for a quad sphere primitive mesh. More... | |
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 a UV sphere primitive mesh. More... | |
unsigned int | getAttributeDimension (VertexAttribute::Semantic attribute) |
unsigned int | getBitCount (GraphicsDataType dataType) |
Return number of bits per one element of data type. More... | |
unsigned int | getBitCount (GraphicsDataType dataType, unsigned int componentCount) |
Return number of bits per one element of data type. More... | |
unsigned int | getBitsPerBlock (GraphicsFormat format) |
Returns number of bits per block of the specified format. More... | |
constexpr BlendEquation | getBlendEquationAlpha (int blendMode) |
Gets the alpha blend equation. More... | |
constexpr BlendEquation | getBlendEquationColor (int blendMode) |
Gets the color blend equation. More... | |
unsigned int | getByteCount (GraphicsDataType dataType) |
Return number of bytes per one element of data type. More... | |
unsigned int | getByteCount (GraphicsDataType dataType, unsigned int dimension) |
Returns number of bytes for graphics data. More... | |
unsigned int | getBytesPerBlock (GraphicsFormat format) |
Returns number of bytes per block of the specified format. More... | |
unsigned int | getChannelCount (GraphicsFormat format) |
Returns number of unique color channels of the format. More... | |
constexpr float | getCloseToZeroRange () |
Returns the largest value of a floating point number which is considered as "almost zero". More... | |
GraphicsFormat | getCommon (GraphicsFormat format1, GraphicsFormat format2) |
Returns a common superset of two formats, or GraphicsFormatNone if formats cannot be combined. More... | |
int | getCompressedGLFormat (GraphicsFormat format) |
Returns the GL API internal format enumeration of the kanzi::Format. More... | |
unsigned int | getDataSizeBytes (int width, int height, GraphicsFormat format) |
Returns data size in bytes for image with specified dimensions and format. More... | |
GraphicsDataType | getDataType (GraphicsFormat format) |
Returns data type of the format. More... | |
GraphicsFormat | getDefaultGraphicsFormatForColorSpace (SurfaceColorSpace space) |
Gets the default graphics format to represent a given surface color space. More... | |
float | getDeterminant (const Matrix3x3 &matrix) |
Calculates the determinant of the matrix. More... | |
float | getDeterminant (const Matrix4x4 &matrix) |
Calculates the determinant of a matrix. More... | |
float | getDeterminant2x2 (const Matrix3x3 &matrix) |
Calculates the determinant of the 2X2 part of a matrix. More... | |
float | getDeterminant3x3 (const Matrix4x4 &matrix) |
Calculates the determinant of the 3x3 part of a matrix. More... | |
constexpr BlendFactor | getDstAlphaFactor (int blendMode) |
Gets the destination alpha factor. More... | |
constexpr BlendFactor | getDstColorFactor (int blendMode) |
Gets the destination color factor. More... | |
unsigned int | getFaceCount (TextureType type) |
Gets face count for a given texture type. More... | |
GraphicsFormat | getFallback (GraphicsFormat format) |
Returns an alternative format which is potentially more widely supported. More... | |
ShaderProgram::FixedUniformFunction | getFixedUniformFunction (string_view renderValueName, ShaderProgram::UniformTransformation transformation) |
Gets a matching fixed uniform function for a fixed uniform. More... | |
ShaderProgram::FixedUniformFunction | getFixedUniformFunction (string_view renderValueName) |
Gets a matching fixed uniform function for a fixed uniform. More... | |
unsigned int | getGLTextureImageTarget (TextureType type, unsigned int face) |
unsigned int | getGLTextureTarget (TextureType type) |
vector< size_t > | getGraphemeClusters (string_view text) |
Returns the indices of the characters that start new grapheme clusters in the given text. More... | |
size_t | getIndexTypeStride (IndexBufferType type) |
Returns the stride of a given index type. More... | |
optional< TimeInterval > | getIntersection (const TimeInterval &first, const TimeInterval &second) |
Gets intersection of two intervals. More... | |
bool | getInvalidLightValue (Variant &value, AbstractPropertyType propertyType) |
Gets an 'invalid' value for a light that does not exist. More... | |
KANZI_JVM_API JniLibrary * | getJniLibrary () |
Gets a set of function pointers that represent the JNI library. More... | |
ConstByteSpan | getKzbMagic () |
Gets the kzb magic byte sequence. More... | |
Light::Type | getLightTypeForCollectionName (string_view collectionName, AbstractPropertyType propertyType, string_view renderValueName) |
Returns the light type based on the collection name or, if collection name is empty, on the property type. More... | |
string | getNodeListBindingSourcePath (const RenderPass &renderPass) |
Gets the input path for a render pass to use with a node list binding. More... | |
Vector3 | getOrthogonalVector (Vector3 v) |
Finds a vector that is orthogonal to the given vector. More... | |
Quaternion | getQuaternionField (const Variant &variant, PropertyField field) |
Gets a quaternion field from a variant. More... | |
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... | |
RenderPass * | getRoot (RenderPass &renderPass) |
Gets the render pass of the graph render pass belongs to. More... | |
Node * | getRoot (Node &node) |
Gets the root node of the node tree to which the node belongs. More... | |
const Node * | getRoot (const Node &node) |
Gets the root node of the node tree to which the node belongs. More... | |
const byte * | getRuntimeAssetData () |
Gets runtime asset data. More... | |
size_t | getRuntimeAssetDataSize () |
Gets size of runtime asset data. More... | |
Node * | getScopeFocusedNode (Node &node) |
Returns the last-focused node of the scope node. More... | |
constexpr BlendFactor | getSrcAlphaFactor (int blendMode) |
Gets the source alpha factor. More... | |
constexpr BlendFactor | getSrcColorFactor (int blendMode) |
Gets the source color factor. More... | |
GraphicsFormat | getSRGBFormat (GraphicsFormat format) |
Returns an sRGB format that is compatible with the provided format. More... | |
uint32_t | getSupportedKzbFormatVersion () |
Gets the supported kzb format version. More... | |
float | getTrace (const Matrix3x3 &matrix) |
Calculates the trace of a matrix. More... | |
float | getTrace (const Matrix4x4 &matrix) |
Calculates the trace of a matrix. More... | |
unsigned int | getTreeHeight (const Node &node) |
Gets tree height from the object node to the parent. More... | |
const byte * | getUIAssetData () |
Gets UI asset data. More... | |
size_t | getUIAssetDataSize () |
Gets size of UI asset data. More... | |
unsigned int | getUniformElementCount (Material &material, string_view name) |
Get uniform element count from a material. More... | |
template<typename T > | |
Rectangle< T > | getUnion (const Rectangle< T > &rectangle1, const Rectangle< T > &rectangle2) |
Calculates union of the two rectangles. More... | |
GeometrySharedPtr | getUnitQuadGeometry (Domain *domain) |
Gets a shared instance that contains shared unit quad geometry. More... | |
Matrix3x3 | getUnitQuadTargetTransformation (const RectangleFloat &targetRectangle) |
Gets the 3x3 transformation that maps the unit quad geometry to the target rectangle. More... | |
Matrix3x3 | getUnitQuadTargetTransformation (Vector2 offset, Vector2 size) |
Gets the 3x3 transformation that maps the unit quad geometry to the target offset and size. More... | |
size_t | getUtf8Length (string_view text) |
Returns the number of UTF-8 characters in the text. More... | |
size_t | getUtf8NextWordbreakPosition (string_view text, size_t position) |
Gets the position of the next word break following the character position position. More... | |
size_t | getUtf8NextWordbreakPosition (string_view text, size_t position, size_t words) |
Gets the position of the next word break following the character position position after the number of words words. More... | |
size_t | getUtf8PreviousWordbreakPosition (string_view text, size_t position) |
Gets the position of the previous word break that precedes the character position position. More... | |
size_t | getUtf8PreviousWordbreakPosition (string_view text, size_t position, size_t words) |
Gets the position of the next word break following the character position position after the number of words words. More... | |
pair< size_t, size_t > | getUtf8WordBounds (string_view text, size_t position) |
Gets the character positions at the begin and end of the word to which the character at position position belongs. More... | |
size_t | getUtf8WordCount (string_view text) |
Gets the number of words in a UTF-8 text string. More... | |
FixedString | getVerboseDescription (ShaderProgram::CreateInfo::Status status) |
Returns human readable description for ShaderProgram CreateInfo status. More... | |
FixedString | getVerboseDescription (Texture::CreateInfo::Status status) |
Returns human readable description for CreateInfo status. More... | |
template<typename TWrappedType > | |
shared_ptr< TWrappedType > | getWrappedEventSource (EventSourceSharedPtr eventSource) |
Returns the event source wrapper of TWrappedType type from the passed event source. More... | |
float | halfFloatToFloat (uint16_t halfFloatNumber) |
Converts 16 bits representing a half float to a float. More... | |
void | handleDefaultExceptions (JNIEnv *env) |
Handle the top level Java and native exceptions and rethrow via the JNI. More... | |
bool | hasAliasedChannel (GraphicsFormat format) |
Indicates whether given format has an aliased color channel. More... | |
bool | hasAlpha (GraphicsFormat format) |
Indicates whether given format has alpha channel. More... | |
bool | hasColor (GraphicsFormat format) |
Indicates whether given format has one more more color channels. More... | |
bool | hasDepth (GraphicsFormat format) |
Indicates whether given format has depth channel. More... | |
bool | hasSkipSystemInitialization (const SystemProperties &systemProperties) |
Checks whether one of the parameters is "-nosysinit". More... | |
bool | hasStencil (GraphicsFormat format) |
Indicates whether given format has stencil channel. More... | |
bool | hasToken (const SystemProperties &systemProperties, string_view token) |
Checks if system properties contain specified token. More... | |
tuple< float, float, float > | hslTosRGBColor (float h, float s, float l) |
Converts a color from the HSL color space to the sRGB color space. More... | |
Vector4 | hslTosRGBColor (const Vector4 &vec) |
Converts a Vector4 from HSLA color space to RGBA color space. More... | |
Vector3 | hslTosRGBColor (const Vector3 &vec) |
Converts a Vector3 from HSL color space to sRGB color space. More... | |
BitmapImageUniquePtr | imageLoadJPEG (File &file, string_view name="") |
Loads a JPEG image from an input stream. More... | |
BitmapImageUniquePtr | imageLoadJPEG (File &file, const LibJPEGParameters &libjpegParameters, string_view name="") |
Loads a JPEG image from an input stream. More... | |
BitmapImageUniquePtr | imageLoadPNG (File &file, string_view name="") |
Loads a PNG image from an input stream. More... | |
BitmapImageUniquePtr | imageLoadPNG (File &file, const LibPNGParameters &libpngParameters, string_view name="") |
Loads a PNG image from an input stream. More... | |
void | imageSaveJPEG (const BitmapImage &image, File &file, float quality=1.0f) |
Saves an image as a JPEG to an output stream. More... | |
void | imageSavePNG (const BitmapImage &image, File &file) |
Saves an image as a PNG to an output stream. More... | |
void | imageSavePNGPaletted (const BitmapImage &image, File &file) |
Saves an image as a paletted PNG to an output stream. More... | |
template<typename T > | |
Rectangle< T > | intersection (const Rectangle< T > &rectangle1, const Rectangle< T > &rectangle2) |
Calculates intersection of the two rectangles. More... | |
Quaternion | inverse (const Quaternion &q) |
Returns an inverse quaternion for a quaternion. More... | |
optional< Matrix3x3 > | inverse (const Matrix3x3 &matrix) |
Applies an inversion to a matrix. More... | |
optional< Matrix4x4 > | inverse (const Matrix4x4 &matrix) |
Applies an inversion to a matrix. More... | |
optional< Matrix3x3 > | inverseAffine (const Matrix3x3 &matrix) |
Applies an inversion to an affine matrix. More... | |
optional< Matrix4x4 > | inverseAffine (const Matrix4x4 &matrix) |
Applies an inversion to an affine matrix. More... | |
optional< Matrix4x4 > | inverseOrthogonal (const Matrix4x4 &matrix) |
Applies an inversion to an orthogonal affine matrix. More... | |
bool | isAncestorOf (const Node &node, const Node &ancestor) |
Indicates whether one node is the ancestor of another node at any level in the node tree. More... | |
bool | isCloseToZero (float value) |
Checks if floating point value is too close to zero. More... | |
bool | isCompatibleWithUnitQuadGeometry (const QuadDescription &quadDescription, Vector2 tiling) |
Determines whether the given quad description and tiling are compatible with unit quad geometry. More... | |
bool | isCompressed (GraphicsFormat format) |
Indicates whether format is compressed format or not. More... | |
bool | isfinite (Vector2 vec) |
Overloading of std::isfinite for kanzi::Vector2. More... | |
bool | isFixedOperationOpCode (KzuExpressionValidatorOperation opCode) |
Tells if given operation code corresponds with a fixed operation. More... | |
KZ_NO_DISCARD bool | isGLES1FlagSet (int glesFlags) noexcept |
Tests whether OpenGL ES1 is supported. More... | |
KZ_NO_DISCARD bool | isGLES2FlagSet (int glesFlags) noexcept |
Tests whether OpenGL ES2 is supported. More... | |
KZ_NO_DISCARD bool | isGLES3FlagSet (int glesFlags) noexcept |
Tests whether OpenGL ES3 is supported. More... | |
bool | isImplicitMultisampleSupport (Multisample multisampleSupport) |
Tell if multisample support is of implicit type. More... | |
template<class T > | |
bool | isInClosedInterval (T value, T min, T max) |
Check whether value is in [min, max] (an interval inclusive of the limit points). More... | |
bool | isKeyModifier (LogicalKey key) |
Checks whether the key of the event is a modifier key. More... | |
bool | isKzbMagic (ConstByteSpan data) |
Returns whether the beginning of a byte span matches a kzb magic byte sequence. More... | |
bool | isKzbMagic (File &file) |
Returns whether the beginning of a file matches a kzb magic byte sequence. More... | |
bool | isNativeWindowSurfaceConfigSupported (const EGLDisplay &eglDisplay, EGLNativeWindowType eglNativeWindow, const EGLConfig &eglConfig) noexcept |
Tests if a given EGL config is a valid window surface configuration. More... | |
KZ_NO_DISCARD bool | isNoConfig (const EGLConfig &eglConfig) noexcept |
Tests if a given EGL config is no config. More... | |
KZ_NO_DISCARD bool | isNoConfigHandle (const ::EGLConfig eglConfig) noexcept |
Tests if a given EGL config handle is no config. More... | |
KZ_NO_DISCARD bool | isNoContext (const EGLContext &eglContext) noexcept |
Tests if a given EGL context is no context. More... | |
bool | isNodeInFocusableOverlay (const Node &node) |
Returns whether the given node is in one of the overlay scopes that are on top of the foremost modal scope, or in that modal scope itself. More... | |
KZ_NO_DISCARD bool | isNoDisplay (const EGLDisplay &eglDisplay) noexcept |
Tests if a given EGL display is no display. More... | |
KZ_NO_DISCARD bool | isNoDisplayHandle (const ::EGLDisplay eglDisplay) noexcept |
Tests if a given EGL display handle is no display. More... | |
bool | isNoSurface (const EGLWindowSurface &eglSurface) noexcept |
Tests if a given EGL surface is no surface. More... | |
bool | isNoSurfaceHandle (const ::EGLSurface eglSurfaceHandle) noexcept |
Tests if a given EGL surface handle is no surface. More... | |
constexpr bool | isOpaquableBlendMode (int blendMode) |
Indicates whether a blend mode can be rendered as opaque as substitute for clearing. More... | |
bool | isOverlayFocusable (const OverlayScope &overlay) |
Returns whether the given overlay is focusable. More... | |
bool | isOverlayScope (const FocusScope *scope) |
Returns whether the focus scope passed as argument is an overlay focus scope. More... | |
bool | isPacked (GraphicsDataType dataType) |
Indicates whether given data type is packed or not. More... | |
bool | isParentOf (const Node &child, const Node &parent) |
Indicates whether one node is the parent of another node. More... | |
bool | isRTL (string_view text) |
Returns true if the text is right-to-left aligned, otherwise false. More... | |
bool | isScalingOnly (const Matrix3x3 &matrix) |
Determines whether a matrix is scaling-only. More... | |
bool | isTranslationOnly (const Matrix3x3 &matrix) |
Determines whether a matrix is translation-only. More... | |
bool | isTranslationOnly (const Matrix4x4 &matrix) |
Returns whether a matrix is translation-only. More... | |
bool | isValid (GraphicsFormat format) |
Indicates whether format is valid. More... | |
KZ_ENABLE_BITMASK_OPERATORS (QnxChannelIDFlags) | |
KZ_ENABLE_BITMASK_OPERATORS (KeyModifier) | |
KZ_ENABLE_BITMASK_OPERATORS (PointerButton) | |
KZ_ENABLE_BITMASK_OPERATORS (FocusScope::ScopeFlag) | |
kzString | kzErrorCodeToString (kzsError code) |
string | kzFormatVariadicLogMessage (kzString format,...) |
string | kzFormatVariadicLogMessageList (kzString format, va_list arguments) |
KZ_ATTRIBUTE_NO_RETURN void | kzThrowJNIError () |
KZ_ATTRIBUTE_NO_RETURN void | kzThrowLegacyError (kzsError value) |
KZ_ATTRIBUTE_NO_RETURN void | kzThrowLegacyErrorFormat (kzsError value, kzString format,...) |
KZ_ATTRIBUTE_NO_RETURN void | kzThrowLegacyErrorMessage (kzsError value, kzString message) |
KZ_ATTRIBUTE_NO_RETURN void | kzThrowLegacyErrorMessage (kzsError value, const string &message) |
float | linearTosRGB (float cl) |
Conversion from linear to sRGB for default gamma 2.2. More... | |
ColorRGBA | linearTosRGB (const ColorRGBA &cs) |
Converts whole ColorRGBA color from linear to sRGB. More... | |
Vector4 | linearTosRGB (const Vector4 &vec) |
Conversion to whole Vector4 from linear to sRGB. More... | |
Vector3 | linearTosRGB (const Vector3 &vec) |
Converts to whole Vector3 from linear to sRGB. More... | |
void | listAllEGLConfigs (const EGLDisplay &eglDisplay) noexcept |
Prints metadata for all EGL configs supported by an EGL display. More... | |
void | load (ApplicationProperties &applicationProperties, string_view configurationFilePath) |
Loads application properties from configuration INI file. More... | |
void | load (ApplicationProperties &applicationProperties, const SystemProperties &systemProperties) |
Loads application properties from system properties. More... | |
BindingLoadInfo | loadBinding (KzbFile &kzbFile, KzbMemoryParser &parser) |
Loads a binding from a kzb file. More... | |
void | loadBindings (KzbFile &kzbFile, KzbMemoryParser &parser, vector< BindingLoadInfo > &bindings) |
Loads bindings from a kzb file. More... | |
BitmapImageUniquePtr | loadImage (Domain *domain, string_view imageUrl, bool isInCubemap) |
Loads an image from KZB file. More... | |
Mesh::CreateInfo | loadMeshCreateInfo (Domain *domain, KzbFile &kzbFile, ReadOnlyMemoryFile &file, KzbMemoryParser &parser) |
Loads mesh create info from KZB. More... | |
void | loadPrefabAsync (const Node &node, ResourceID prefabResourceId, ResourceManager::AsyncAcquireFinishedCallback callback) |
Acquires prefab and required nested resources recursively. More... | |
void | loadSettings (ApplicationProperties &applicationProperties, const string_view configurationFilePath, const SystemProperties &systemProperties) |
Loads all properties, prioritizing command line parameters over configuration file parameters. More... | |
ShaderProgram::CreateInfo | loadShaderProgramCreateInfo (KzbFile &kzbFile, ReadOnlyMemoryFile &file, KzbMemoryParser &parser, string_view name) |
Loads a shader program create info from a kzb file. More... | |
SplinePtr | loadSplineFromKZB (KzbMemoryParser &parser) |
Load a spline spline from memory parser. More... | |
Texture::CreateInfo | loadTextureCreateInfo (Domain *domain, KzbFile &kzbFile, ReadOnlyMemoryFile &file, KzbMemoryParser &parser) |
Load texture create info from KZB file. 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 JNIError &jniError) |
Used by logging system to convert legacy 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 LegacyError &legacyError) |
Used by logging system to convert legacy exception type objects 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... | |
template<typename T > | |
string | logArgumentToString (const T &value) |
The logging subsystem uses this function to convert a value to string. More... | |
bool | logGraphicsFormats (const SystemProperties &systemProperties) |
Searches system properties for the parameter "--list-formats". More... | |
template<typename TBase , typename T > | |
shared_ptr< T > | make_polymorphic_shared_ptr (T *p) |
bool | makeCurrentEGLContext (const EGLDisplay &eglDisplay, const EGLWindowSurface &eglSurface, const EGLContext &eglContext) noexcept |
Binds a window surface to a context and the current thread. More... | |
bool | makeCurrentEGLContext (const EGLDisplay &eglDisplay, const EGLPBufferSurface &eglSurface, const EGLContext &eglContext) noexcept |
Binds a pbuffer surface to a context and the current thread. More... | |
EventSourceSharedPtr | makeDefaultEventSource (const SystemConfiguration &configuration) |
Creates a platform-specific event source. More... | |
GraphicsOutputSharedPtr | makeDefaultGraphicsOutput (const SystemConfiguration &configuration) |
Creates a platform-specific graphics output. More... | |
EventSourceSharedPtr | makeLegacyEventSource (const EventSourceProperties &properties, GraphicsOutput *graphicsOutput) |
Creates a legacy event source. More... | |
GraphicsOutputSharedPtr | makeLegacyGraphicsOutput (const struct KzsSurfaceProperties *surfaceProperties, const NativeWindowProperties *windowProperties) |
Creates a legacy graphics output. More... | |
KeyMatchResult | matchKeyGesture (const KeyGestureInfo &gesture, const KeyEvent &event) |
Detects key gestures from the event that you pass as an argument. More... | |
KeyMatchResult | matchModifiers (KeyModifier required, const KeyEvent &event) |
Returns whether the modifiers of the key event match the required modifiers. More... | |
Quaternion | matrix4x4ToQuaternion (const Matrix4x4 &matrix) |
Creates a quaternion from Matrix4x4. More... | |
float | matrixMultiplyAffineGetTranslationZ (const kanzi::Matrix4x4 &lhs, const kanzi::Matrix4x4 &rhs) |
Gets translation Z component from product of two matrices, where both are affine transformations. More... | |
Vector2 | matrixMultiplyVectorBy2x2 (const Matrix3x3 &matrix, const Vector2 vector) |
Multiply a 2D vector with the top 2x2 part of a given matrix. More... | |
Vector3 | matrixMultiplyVectorBy3x3 (const Matrix4x4 &matrix, const Vector3 vector) |
Multiplies a 3D vector with the top 3x3 part of a given matrix. More... | |
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) |
Matrix4x4 | multiplyAffine (const Matrix4x4 &left, const Matrix4x4 &right) |
Multiplies two affine matrices and returns the product. More... | |
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... | |
Matrix4x4 | normalizeBase (const Matrix4x4 &matrix) |
Normalizes base vectors of a matrix. More... | |
optional< Matrix3x3 > | normalized (const Matrix3x3 &matrix) |
Normalizes the input matrix. More... | |
template<typename Enum > | |
enable_if< enable_bitmask_operators< Enum >::enable, Enum >::type | operator & (Enum lhs, Enum rhs) |
Bitwise AND operator between two enum class values. More... | |
template<typename Enum > | |
enable_if< enable_bitmask_operators< Enum >::enable, Enum & >::type | operator &= (Enum &lhs, Enum rhs) |
Bitwise AND assignment operator between two enum class values. More... | |
template<typename T > | |
bool | operator!= (const shared_ptr< T > &v, nullptr_t) |
template<typename T > | |
bool | operator!= (nullptr_t, const shared_ptr< T > &v) |
template<typename T > | |
bool | operator!= (const unique_ptr< T > &v, nullptr_t) |
bool | operator!= (const FocusChainIndex &lhs, const FocusChainIndex &rhs) |
Inequality operator overload for focus chain index. More... | |
template<typename T > | |
bool | operator!= (nullptr_t, const unique_ptr< T > &v) |
bool | operator!= (string_view left, FixedString right) |
bool | operator!= (FixedString left, string_view right) |
bool | operator!= (const Quaternion &q1, const Quaternion &q2) |
Inequality comparison operator, compares if two quaternions are exactly not equal. More... | |
bool | operator!= (const KeyEvent &lhs, const KeyEvent &rhs) |
Inequality operator for KeyEvents. More... | |
bool | operator!= (Matrix3x3 left, Matrix3x3 right) |
Inequality operator. More... | |
bool | operator!= (Vector2 v1, Vector2 v2) |
Compares two vectors for inequality. More... | |
bool | operator!= (ColorRGBA v1, ColorRGBA v2) |
Compares two colors for inequality. More... | |
bool | operator!= (Vector4 v1, Vector4 v2) |
Compares two vectors for inequality. More... | |
bool | operator!= (Vector3 v1, Vector3 v2) |
Compares two vectors for inequality. More... | |
Quaternion | operator* (const Quaternion &q1, const Quaternion &q2) |
Multiplies two quaternions. More... | |
Matrix3x3 | operator* (Matrix3x3 m1, Matrix3x3 m2) |
Multiplies two matrices and returns the product. More... | |
Vector2 | operator* (Matrix3x3 m, Vector2 v) |
Multiplies matrix with vector and returns the product. More... | |
Vector3 | operator* (Matrix3x3 m, Vector3 v) |
Multiplies matrix with vector and returns the product. 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... | |
ColorRGBA | operator* (ColorRGBA v, float scalar) |
Multiplies all color elements with a scalar and returns the resulting color. More... | |
Vector4 | operator* (Vector4 v, float scalar) |
Multiplies all vector elements with a scalar and returns the resulting vector. More... | |
ColorRGBA | operator* (float scalar, ColorRGBA v) |
Multiplies all color elements with a scalar and returns the resulting color. More... | |
Vector4 | operator* (float scalar, Vector4 v) |
Multiplies all vector elements with a scalar and returns the resulting vector. 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... | |
Matrix4x4 | operator* (const Matrix4x4 &left, const Matrix4x4 &right) |
Multiplies two matrices and returns the product. More... | |
Vector2 | operator+ (float v1, Vector2 v2) |
Adds a scalar and a vector and returns the sum. More... | |
Vector2 | operator+ (Vector2 v1, float v2) |
Adds a vector and a scalar and returns the sum. More... | |
Vector2 | operator+ (Vector2 v1, Vector2 v2) |
Adds two vectors and returns the sum. More... | |
Vector4 | operator+ (float v1, Vector4 v2) |
Adds a scalar and a vector and returns the sum. More... | |
ColorRGBA | operator+ (float v1, ColorRGBA v2) |
Adds a color and a scalar and returns the sum. More... | |
ColorRGBA | operator+ (ColorRGBA v1, float v2) |
Adds a color and a scalar and returns the sum. More... | |
Vector2 | operator+ (Vector2 v) |
Unary plus, doesn't do anything and returns the resulting vector. More... | |
Vector4 | operator+ (Vector4 v1, float v2) |
Adds a vector and a scalar and returns the sum. More... | |
ColorRGBA | operator+ (ColorRGBA v1, ColorRGBA v2) |
Adds two colors and returns the sum. More... | |
Vector4 | operator+ (Vector4 v1, Vector4 v2) |
Adds two vectors and returns the sum. More... | |
Vector3 | operator+ (float v1, Vector3 v2) |
Adds a scalar and a vector and returns the sum. More... | |
Vector3 | operator+ (Vector3 v1, float v2) |
Adds a vector and a scalar and returns the sum. More... | |
Vector3 | operator+ (Vector3 v1, Vector3 v2) |
Adds two vectors and returns the sum. More... | |
Vector4 | operator+ (Vector4 v) |
Unary plus, doesn't do anything and returns the resulting vector. More... | |
ColorRGBA | operator+ (ColorRGBA v) |
Unary plus, doesn't do anything and returns the resulting color. More... | |
Vector3 | operator+ (Vector3 v) |
Unary plus, doesn't do anything and returns the resulting vector. More... | |
Vector2 | operator- (Vector2 v1, Vector2 v2) |
Subtracts two vectors and returns the difference. More... | |
Vector2 | operator- (Vector2 v) |
Negates all vector elements and returns the resulting vector. More... | |
ColorRGBA | operator- (ColorRGBA v1, ColorRGBA v2) |
Subtracts two colors and returns the difference. More... | |
Vector4 | operator- (Vector4 v1, Vector4 v2) |
Subtracts two vectors and returns the difference. More... | |
Vector3 | operator- (Vector3 v1, Vector3 v2) |
Subtracts two vectors and returns the difference. More... | |
Vector4 | operator- (Vector4 v) |
Negates all vector elements and returns the resulting vector. More... | |
ColorRGBA | operator- (ColorRGBA v) |
Negates all color elements and returns the resulting color. More... | |
Vector3 | operator- (Vector3 v) |
Negates all vector elements 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... | |
ColorRGBA | operator/ (ColorRGBA v, float scalar) |
Divides all color elements with a scalar and returns the resulting color. More... | |
Vector4 | operator/ (Vector4 v, float scalar) |
Divides 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... | |
bool | operator< (const FocusChainIndex &lhs, const FocusChainIndex &rhs) |
Less operator overload for focus chain index. More... | |
bool | operator<= (const FocusChainIndex &lhs, const FocusChainIndex &rhs) |
Less or equal operator overload for focus chain index. More... | |
template<typename T > | |
bool | operator== (const shared_ptr< T > &v, nullptr_t) |
template<typename T > | |
bool | operator== (nullptr_t, const shared_ptr< T > &v) |
template<typename T > | |
bool | operator== (const unique_ptr< T > &v, nullptr_t) |
template<typename T > | |
bool | operator== (nullptr_t, const unique_ptr< T > &v) |
bool | operator== (const FocusChainIndex &lhs, const FocusChainIndex &rhs) |
Equality operator overload for focus chain index. More... | |
bool | operator== (string_view left, FixedString right) |
bool | operator== (FixedString left, string_view right) |
bool | operator== (const Quaternion &q1, const Quaternion &q2) |
Equality comparison operator, compares if two quaternions are exactly equal. More... | |
bool | operator== (const KeyEvent &lhs, const KeyEvent &rhs) |
Equality operator for KeyEvents. More... | |
bool | operator== (Matrix3x3 left, Matrix3x3 right) |
Equality operator. More... | |
bool | operator== (Vector2 v1, Vector2 v2) |
Compares two vectors for equality. More... | |
bool | operator== (Vector4 v1, Vector4 v2) |
Compares two vectors for equality. More... | |
bool | operator== (ColorRGBA v1, ColorRGBA v2) |
Compares two colors for equality. More... | |
bool | operator== (Vector3 v1, Vector3 v2) |
Compares two vectors for equality. More... | |
bool | operator> (const FocusChainIndex &lhs, const FocusChainIndex &rhs) |
Greater operator overload for focus chain index. More... | |
bool | operator>= (const FocusChainIndex &lhs, const FocusChainIndex &rhs) |
Greater or equal operator overload for focus chain index. More... | |
template<typename Enum > | |
enable_if< enable_bitmask_operators< Enum >::enable, Enum >::type | operator^ (Enum lhs, Enum rhs) |
Bitwise XOR operator between two enum class values. More... | |
template<typename Enum > | |
enable_if< enable_bitmask_operators< Enum >::enable, Enum & >::type | operator^= (Enum &lhs, Enum rhs) |
Bitwise XOR assignment operator between two enum class values. More... | |
template<typename Enum > | |
enable_if< enable_bitmask_operators< Enum >::enable, Enum >::type | operator| (Enum lhs, Enum rhs) |
Bitwise OR operator between two enum class values. More... | |
template<typename Enum > | |
enable_if< enable_bitmask_operators< Enum >::enable, Enum & >::type | operator|= (Enum &lhs, Enum rhs) |
Bitwise OR assignment operator between two enum class values. More... | |
template<typename Enum > | |
enable_if< enable_bitmask_operators< Enum >::enable, Enum >::type | operator~ (Enum lhs) |
Bitwise NOT operator over an enum class value. More... | |
Matrix4x4 | orthonormalizeBase (const Matrix4x4 &matrix) |
Orthonormalizes base vectors of the given matrix. More... | |
template<typename T > | |
bool | overlaps (const Rectangle< T > &rectangle1, const Rectangle< T > &rectangle2) |
Checks if the two given rectangles overlap, at least partially. More... | |
template<typename T > | |
void | overrideMetaclass (ObjectFactory &objectFactory) |
template<typename T > | |
T | parseValue (const SystemConfiguration &configuration, const string &key, T defaultValue) |
template<> | |
int | parseValue (const SystemConfiguration &configuration, const string &key, int defaultValue) |
template<> | |
optional< int > | parseValue (const SystemConfiguration &configuration, const string &key, optional< int > defaultValue) |
template<> | |
unsigned int | parseValue (const SystemConfiguration &configuration, const string &key, unsigned int defaultValue) |
template<> | |
string | parseValue (const SystemConfiguration &configuration, const string &key, string defaultValue) |
template<> | |
SurfaceColorSpace | parseValue (const SystemConfiguration &configuration, const string &key, SurfaceColorSpace defaultValue) |
optional< PlanePlaneIntersection > | planeIntersectPlane (const Plane &plane1, const Plane &plane2, float parallelTolerance) |
Checks whether two planes intersect and returns a point and direction vector for the line of intersection. More... | |
optional< PlaneRayIntersection > | planeIntersectRay (const Plane &plane, const Ray &ray, const float parallelTolerance) |
Tests whether a plane intersects with the given ray, and returns the point of intersection and the distance of the intersection from the origin of a plane. More... | |
optional< TouchEvent > | pointerToTouchEvent (const PointerEvent &pointer) |
Converts a pointer event to an equivalent touch event. More... | |
unsigned int | positiveModulo (int dividend, unsigned int divisor) |
Returns the positive modulo(dividend % divisor) for signed numbers in a way that negative numbers are treated as an extension instead of mirroring compared to positive numbers. More... | |
float | positiveModulo (float dividend, float divisor) |
Same as positiveModulo(), but for floating point numbers. More... | |
EventQueue::Container::iterator | prepend (EventQueue &queue, EventQueue::Container::iterator position, UniqueEventPtr &&event) |
Inserts an event into a queue before the given position. More... | |
EventQueue::Container::iterator | prepend (EventQueue &queue, EventQueue::Container::iterator position, EventQueue::Container &container) |
Moves a container content into a queue before the given position. More... | |
EventQueue::Container::iterator | prependAndAdvance (EventQueue &queue, EventQueue::Container::iterator position, UniqueEventPtr &&event) |
Inserts an event content into a queue before the given position. More... | |
EventQueue::Container::iterator | prependAndAdvance (EventQueue &queue, EventQueue::Container::iterator position, EventQueue::Container &container) |
Moves a container content into a queue before the given position. More... | |
template<class T , class D > | |
T | prev (T t, D d) |
template<class T > | |
T | prev (T t) |
void | previewPatch (Domain *domain, unique_ptr< KzbFile > patch) |
PropertyField | propertyFieldFromBinaryTargetAttribute (KzuPropertyBinaryTargetAttribute attribute) |
Converts a property target attribute from binary into a property field. More... | |
float | pseudoCrossProduct (const Vector2 &left, const Vector2 &right) |
Calculates pseudo-cross product of two 2D vectors. More... | |
Quaternion | quaternionSlerp (const Quaternion &q1, const Quaternion &q2, float interpolationTime) |
Applies spherical linear interpolation (slerp) to two quaternions using the shortest path. More... | |
Quaternion | quaternionSlerpLongerPath (const Quaternion &q1, const Quaternion &q2, float interpolationTime) |
Applies spherical linear interpolation (slerp) to two quaternion using the longer path. More... | |
Matrix4x4 | quaternionToMatrix4x4 (const Quaternion &quaternion) |
Converts a quaternion rotation to a 4x4 rotation matrix. More... | |
constexpr float | radiansToDegrees (float angleInRadians) |
Converts radians to degrees. More... | |
RayBoxIntersection | rayIntersectBox (const Ray &ray, const Box &box, const Matrix4x4 &boxOrientation) |
Tests whether a ray intersects with a bounding box and returns the distance. More... | |
RayBoxIntersection | rayIntersectBox (const Ray &ray, const Vector3 minCorner, const Vector3 maxCorner, const Matrix4x4 &boxOrientation) |
Tests whether a ray intersects with a bounding box and returns the distance. More... | |
RayBoxIntersection | rayIntersectBoxBackface (const Ray &ray, const Box &box, const Matrix4x4 &boxOrientation) |
Tests whether a ray intersects with the back faces of a bounding box and returns the distance. More... | |
RayBoxIntersection | rayIntersectBoxBackface (const Ray &ray, const Vector3 minCorner, const Vector3 maxCorner, const Matrix4x4 &boxOrientation) |
Tests whether a ray intersects with the back faces of a bounding box and returns the distance. More... | |
optional< float > | rayIntersectCylinder (const Ray &ray, const float cylinderRadius, const float cylinderHeight, const Vector3 cylinderAxis, const Matrix4x4 &cylinderTransform) |
Tests whether a ray intersects with a cylinder aligned on the given unit-axis (within range [-height/2, height/2]). More... | |
optional< float > | rayIntersectSphere (const Ray &ray, const Vector3 spherePosition, const float sphereRadius) |
Tests whether a ray intersects with a sphere and returns the distance. More... | |
RayPickResult | rayPickHitTest (const Vector2 &limits, Scene *scene, Camera *camera, int x, int y) |
Input hit testing. More... | |
KZ_DEPRECATED RayPickResult | rayPickHitTest (const Vector2 &limits, OverlayScope &scope, Scene *scene, Camera *camera, int x, int y) |
Input hit testing. More... | |
template<class T > | |
T::reverse_iterator | rbegin (T &t) |
string | readAsText (File &file) |
Loads contents of a file into a string. More... | |
vector< string > | readAsTextLines (File &file) |
Loads contents of a file into a vector of strings for each line. More... | |
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... | |
float | readVertexAttributeFloat (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex) |
Reads float attribute of given vertex from mesh. More... | |
Vector2 | readVertexAttributeVector2 (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex) |
Reads Vector2 attribute of given vertex from mesh. More... | |
Vector3 | readVertexAttributeVector3 (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex) |
Reads Vector3 attribute of given vertex from mesh. More... | |
Vector4 | readVertexAttributeVector4 (const Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex) |
Reads Vector4 attribute of given vertex from mesh. More... | |
void | registerDefaultResources (Screen &screen) |
Registers default resources in the resource manager and Screen node's dictionary. More... | |
void | registerDefaultTypes (ObjectFactory &objectFactory) |
Registers default Kanzi object types in object factory. More... | |
template<typename T > | |
void | registerMetaclass (ObjectFactory &objectFactory) |
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 | registerRuntimeAssets (Domain *domain) |
Registers build-in runtime assets in resource manager of domain so they can be acquired at runtime. More... | |
void | registerTimelineLoaders (ObjectLoader &objectLoader) |
Registers loaders for build-in timeline types. More... | |
void | registerUIAssets (Domain *domain) |
Registers build-in UI assets in resource manager of domain so they can be acquired at runtime. More... | |
bool | releaseCurrentEGLContext (const EGLDisplay &eglDisplay) noexcept |
Releases surfaces and context bound to the current thread. More... | |
template<class T > | |
T::reverse_iterator | rend (T &t) |
void | resetStopWatch (StopWatch &stopWatch) |
Resets the stop watch. More... | |
PropertyDataType | resolveDataType (AbstractPropertyType propertyType, PropertyField field) |
Resolve data type for a reading or writing. More... | |
template<typename T > | |
float | retrieveFieldValue (const T &value, PropertyField field) |
Free function for retrieving a value of a field. More... | |
template<> | |
float | retrieveFieldValue< ColorRGBA > (const ColorRGBA &value, PropertyField field) |
Specialization of retrieveFieldValue. More... | |
template<> | |
float | retrieveFieldValue< Matrix3x3 > (const Matrix3x3 &value, PropertyField field) |
Specialization of retrieveFieldValue. More... | |
template<> | |
float | retrieveFieldValue< Matrix4x4 > (const Matrix4x4 &value, PropertyField field) |
Specialization of retrieveFieldValue. More... | |
template<> | |
float | retrieveFieldValue< SRTValue2D > (const SRTValue2D &value, PropertyField field) |
Specialization of retrieveFieldValue. More... | |
template<> | |
float | retrieveFieldValue< SRTValue3D > (const SRTValue3D &value, PropertyField field) |
Specialization of retrieveFieldValue. More... | |
template<> | |
float | retrieveFieldValue< Vector2 > (const Vector2 &value, PropertyField field) |
Specialization of retrieveFieldValue. More... | |
template<> | |
float | retrieveFieldValue< Vector3 > (const Vector3 &value, PropertyField field) |
Specialization of retrieveFieldValue. More... | |
template<> | |
float | retrieveFieldValue< Vector4 > (const Vector4 &value, PropertyField field) |
Specialization of retrieveFieldValue. More... | |
Vector3 | rotateVector (const Quaternion &quaternion, Vector3 vector) |
Applies quaternion rotation to a vector. More... | |
float | roundDown (double num) |
Helper function similar to floor, but takes a double and returns a float. More... | |
template<typename HostType , typename TemplateSharedPtrType > | |
AbstractBindingRuntimeSharedPtr | setBindingToBindingHost (HostType &bindingHost, TemplateSharedPtrType templateRoot, AbstractBindingSharedPtr binding, AbstractPropertyType propertyType, optional< PropertyValuePrecedence > precedence, PropertyField field) |
Helper function to set bindings to binding hosts. More... | |
void | setPlatformMmapMode (MmapMode mode) |
Set mmap() strategy. More... | |
void | setScopeFocusedNode (Node &scope, Node &node) |
Sets the focus node for the given scope node. More... | |
bool | shutdownEGL (EGLDisplay &eglDisplay) noexcept |
Terminates current EGL display connection. More... | |
template<class C > | |
constexpr auto | size (const C &c) -> decltype(c.size()) |
template<class T , size_t N> | |
constexpr size_t | size (const T(&)[N]) noexcept |
vector< string > | splitString (const string &source, const string &delimiter) |
Splits string to tokens. More... | |
vector< string_view > | splitString (string_view source, string_view delimiter) |
Splits string view to tokens. More... | |
tuple< float, float, float > | sRGBToHSLColor (float r, float g, float b) |
Converts a color from the sRGB color space to the HSL color space. More... | |
Vector4 | sRGBToHSLColor (const Vector4 &vec) |
Converts a Vector4 from RGBA color space to HSLA color space. More... | |
Vector3 | sRGBToHSLColor (const Vector3 &vec) |
Converts a Vector3 from sRGB color space to HSL color space. More... | |
float | sRGBToLinear (float cs) |
Conversion from sRGB to linear for default gamma 2.2. More... | |
ColorRGBA | sRGBToLinear (const ColorRGBA &cs) |
Converts to whole ColorRGBA from sRGB to linear. More... | |
Vector4 | sRGBToLinear (const Vector4 &vec) |
Conversion to whole Vector4 from sRGB to linear. More... | |
Vector3 | sRGBToLinear (const Vector3 &vec) |
Converts to whole Vector3 from sRGB to linear. More... | |
constexpr int | step (int edge, int value) |
Calculate step for integers. More... | |
constexpr float | step (float edge, float value) |
Calculate step for floating point values. More... | |
float | strtof (const char *val, char **end_ptr) |
void | swap (Mesh::CreateInfo::Cluster &cluster1, Mesh::CreateInfo::Cluster &cluster2) |
void | swap (Mesh::CreateInfo &createInfo1, Mesh::CreateInfo &createInfo2) |
void | swap (Renderbuffer &buffer1, Renderbuffer &buffer2) |
void | swap (ShaderProgram::CreateInfo &createInfo1, ShaderProgram::CreateInfo &createInfo2) |
void | swap (ShaderProgram &shader1, ShaderProgram &shader2) |
void | swap (Texture &texture1, Texture &texture2) |
void | swap (Texture::CreateInfo &info1, Texture::CreateInfo &info2) |
void | swap (VertexAttribute &attribute1, VertexAttribute &attribute2) |
void | swap (MeshVertexAttribute &attribute1, MeshVertexAttribute &attribute2) |
void | swap (ShaderVertexAttribute &attribute1, ShaderVertexAttribute &attribute2) |
constexpr TextureSwizzleMask | SwizzleMaskLuminanceToRGBA (TextureSwizzleMask::ColorComponent::Alpha) |
Mask all of the color channels with alpha. More... | |
constexpr TextureSwizzleMask | SwizzleMaskRGBToLuminanceAlpha (TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Alpha) |
Mask all of the color channels with red. More... | |
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) |
string | to_string (FixedString fixedString) |
string | to_string (const ResourceID &id) |
Converts a ResourceID to a string. More... | |
string | to_string (RenderPass::AttachmentState attachmentState) |
Returns a string representation of an attachment state. More... | |
FixedString | toFixedString (Sampler::Filter filter) |
FixedString | toFixedString (Sampler::MipmapMode mipmapMode) |
FixedString | toFixedString (GraphicsDataType dataType) |
Returns human readable string for GraphicsDataType. More... | |
FixedString | toFixedString (GraphicsFormat format) |
Returns human readable string for GraphicsFormat. More... | |
FixedString | toFixedString (VertexAttribute::Semantic semantic) |
Returns human readable string for semantic. More... | |
optional< ShaderProgram::FixedUniform > | toFixedUniform (string_view uniformName) |
Gets FixedUniform from given string. More... | |
unsigned char | toLower (unsigned char ch) |
Wrapper for tolower() that returns unsigned char. More... | |
optional< VertexAttribute::Semantic > | toVertexAttributeSemantic (unsigned int kzbVertexAttributeSemantic) |
Converts KZB vertex attribute semantic to runtime VertexAttribute::Semantic. More... | |
string_view | trim (string_view input) |
boost::trim() implementation for string_view. More... | |
string_view | truncateToUtf8Length (string_view text, size_t length) |
void | tryCollectResourceUrlsFromPrefabTemplateUrl (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, like collectResourceUrlsFromPrefabTemplateUrl, but does not throw an exception if the prefab template is not found. More... | |
void | tryCollectResourceUrlsFromPrefabTemplateUrl (ResourceManager *resourceManager, string_view prefabTemplateUrl, ResourceManager::UrlContainer &urls) |
Collects URLs from all resource properties that are used by the nodes in a prefab template, like collectResourceUrlsFromPrefabTemplateUrl, but does not throw an exception if the prefab template is not found. More... | |
template<typename T , typename A > | |
void | unordered_erase (vector< T, A > &c, typename vector< T, A >::iterator it) |
Erases an entry from a vector without preserving the order of other entries. More... | |
void | unregisterRenderEntry (DrawObjectsRenderPass &drawPass, Node3D &node) |
Remove references of node render entries from a draw objects render pass. More... | |
FocusChainNode | unwrapFocusChainNode (FocusScope::FocusChain::FocusedTuple wrapped) |
Unwraps the focus chain node representation of the focused node of a focus scope from a wrapped node. More... | |
ObjectSourceRuntimeSharedPtr | updateObjectSourceRuntime (ObjectSourceRuntimeSharedPtr runtime, NodeListSharedPtr nodeList, ObjectSourceSharedPtr filter) |
Updates an existing filter runtime or returns a new one. 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... | |
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) |
updateRenderValueOverride() specialization. More... | |
template<> | |
void | updateRenderValueOverride (Renderer &renderer, const GlRenderValue< int > &value) |
updateRenderValueOverride() specialization. More... | |
template<> | |
void | updateRenderValueOverride (Renderer &renderer, const GlRenderValue< float > &value) |
updateRenderValueOverride() specialization. More... | |
template<> | |
void | updateRenderValueOverride (Renderer &renderer, const GlRenderValue< ColorRGBA > &value) |
updateRenderValueOverride() specialization. More... | |
template<> | |
void | updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector2 > &value) |
updateRenderValueOverride() specialization. More... | |
template<> | |
void | updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector3 > &value) |
updateRenderValueOverride() specialization. More... | |
template<> | |
void | updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector4 > &value) |
updateRenderValueOverride() specialization. More... | |
template<> | |
void | updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Matrix3x3 > &value) |
updateRenderValueOverride() specialization. More... | |
template<> | |
void | updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Matrix4x4 > &value) |
updateRenderValueOverride() specialization. More... | |
void | updateVertexAttributeOffsetsAndVertexSize (Mesh::CreateInfo &createInfo) |
Sets offsets for vertex attributes in mesh create info. More... | |
void | updateVertexAttributeStrides (Mesh::CreateInfo &createInfo) |
Calculates vertex format size and updates stride to all vertex attributes in mesh create info. More... | |
unsigned int | uround (float value) |
Round float to unsigned integer. More... | |
template<typename T > | |
Variant | variantCast (const Variant &value) |
Casts variant to another data type. More... | |
Variant | variantCast (const Variant &value, PropertyDataType targetDataType) |
Casts variant to another data type. More... | |
template<> | |
Variant | variantCast< AbstractRangeSharedPtr > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< bool > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< ColorRGBA > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< float > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< int > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< Matrix3x3 > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< Matrix4x4 > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< ResourceSharedPtr > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< SRTValue2D > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< SRTValue3D > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< string > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< Vector2 > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< Vector3 > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< Vector4 > (const Variant &value) |
Specialization of typed variantCast. More... | |
template<> | |
Variant | variantCast< void * > (const Variant &value) |
Specialization of typed variantCast. More... | |
bool | variantSetToDataObject (const Variant &value, DataObject &dataObject) |
Sets variant value to a data object. More... | |
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... | |
void | writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, float v) |
Writes one float attribute value to vertex data. More... | |
void | writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, Vector2 v) |
Writes one Vector2 attribute value to vertex data. More... | |
void | writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, Vector3 v) |
Writes one Vector3 attribute value to vertex data. More... | |
void | writeVertexAttribute (Mesh::CreateInfo &createInfo, size_t vertexIndex, size_t attributeIndex, Vector4 v) |
Writes one Vector3 attribute value to vertex data. More... | |
void | swap (Mesh::Skeleton &skeleton1, Mesh::Skeleton &skeleton2) |
/} More... | |
void | swap (Mesh::Cluster &cluster1, Mesh::Cluster &cluster2) |
void | swap (Mesh &mesh1, Mesh &mesh2) |
Easing functions that require external dependencies for calculation.
Easing functions that do not require external dependencies for calculation.
You can find the easing functions that do not require external dependencies for calculation in easing_curve_shared.hpp.
You can use these functions by including this header, without having to include the rest of the Kanzi Engine or third-party libraries. More easing functions are available in easing_curve.hpp.
typedef unsigned char kanzi::byte |
typedef std::thread::native_handle_type kanzi::ThreadNativeHandleType |
typedef boost::mt19937 kanzi::default_random_engine |
using kanzi::conditional_t = typedef typename boost::conditional<B, T, F>::type |
typedef boost::blank kanzi::monostate |
typedef unique_ptr< ReadOnlyMemoryFile > kanzi::ReadOnlyMemoryFilePtr |
ReadOnlyMemoryFile unique pointer type.
typedef unique_ptr<WriteOnlyDiskFile> kanzi::WriteOnlyDiskFileUniquePtr |
typedef unique_ptr<AbstractLogger> kanzi::AbstractLoggerUniquePtr |
Typedef of the kanzi::AbstractLogger unique pointer.
typedef unique_ptr<CurveReparametrization> kanzi::CurveReparametrizationPtr |
CurveReparametrization unique pointer type.
typedef Rectangle<float> kanzi::RectangleFloat |
Float type rectangle.
typedef Rectangle<int> kanzi::RectangleInteger |
Integer type rectangle.
typedef unique_ptr<Spline> kanzi::SplinePtr |
Spline unique pointer type.
typedef shared_ptr<MetaObject> kanzi::MetaObjectSharedPtr |
MetaObject shared pointer type.
using kanzi::ConstCharArrayUniquePtr = typedef unique_ptr<const char[]> |
Alias for a unique_ptr to array of const char.
typedef string kanzi::Win32String |
typedef string_view kanzi::Win32StringView |
typedef unique_ptr<ReadOnlyDiskFile> kanzi::ReadOnlyDiskFileUniquePtr |
typedef shared_ptr<AbstractProfiler> kanzi::AbstractProfilerSharedPtr |
The shared pointer to the abstract profiler source.
AbstractProfilerRegistry declaration.
typedef shared_ptr<IntervalProfiler> kanzi::IntervalProfilerSharedPtr |
The shared pointer to the interval profiler.
The interval profiler registry type.
using kanzi::NamedIntervalProfilerSharedPtr = typedef shared_ptr<NamedIntervalProfiler> |
The shared pointer to the interval profiler.
using kanzi::NamedIntervalProfilerRegistry = typedef ProfilerRegistry<NamedIntervalProfiler> |
The interval profiler registry type.
typedef unique_ptr<StartupProfilerRegistry> kanzi::StartupProfilerRegistryUniquePtr |
The startup profiler registry unique ptr type.
typedef shared_ptr<AbstractPropertyNotificationHandler> kanzi::AbstractPropertyNotificationHandlerSharedPtr |
Abstract property notification handler shared pointer.
typedef shared_ptr< PropertyObject > kanzi::PropertyObjectSharedPtr |
PropertyObject shared pointer type.
typedef shared_ptr< AbstractRange > kanzi::AbstractRangeSharedPtr |
Abstract range shared pointer type.
using kanzi::AbstractRangeWeakPtr = typedef weak_ptr<AbstractRange> |
Abstract range weak pointer type.
using kanzi::AbstractRangeLocationPtr = typedef unique_ptr<AbstractRangeLocation> |
AbstractRangeLocation unique pointer type.
using kanzi::AbstractIndexedRangeSharedPtr = typedef shared_ptr<AbstractIndexedRange> |
AbstractIndexedRange shared pointer type.
typedef shared_ptr< Resource > kanzi::ResourceSharedPtr |
typedef weak_ptr< PropertyObject > kanzi::PropertyObjectWeakPtr |
PropertyObject weak pointer type.
using kanzi::IndexedViewRangeSharedPtr = typedef shared_ptr<IndexedViewRange> |
using kanzi::ViewRangeSharedPtr = typedef shared_ptr<ViewRange> |
using kanzi::TimePoint = typedef Clock::time_point |
using kanzi::ConstByteSpan = typedef span<const byte> |
ConstByteSpan refers to constant contiguous sequence of bytes.
using kanzi::ByteSpan = typedef span<byte> |
ByteSpan refers to contiguous sequence of bytes.
typedef shared_ptr< Action > kanzi::ActionSharedPtr |
using kanzi::ActionWeakPtr = typedef weak_ptr<Action> |
using kanzi::ActionContainer = typedef vector<ActionSharedPtr> |
using kanzi::ActionConstIterator = typedef ActionContainer::const_iterator |
using kanzi::ActionBaseSharedPtr = typedef shared_ptr<ActionBase> |
using kanzi::ActionBaseWeakPtr = typedef weak_ptr<ActionBase> |
typedef shared_ptr< AbstractBindingRuntime > kanzi::AbstractBindingRuntimeSharedPtr |
AbstractBindingRuntime shared pointer type.
typedef shared_ptr< ApplyAction > kanzi::ApplyActionSharedPtr |
typedef shared_ptr< AbstractAnimation > kanzi::AbstractAnimationSharedPtr |
typedef shared_ptr<AnimationResource> kanzi::AnimationResourceSharedPtr |
typedef FromToAnimation<bool, LinearEasingFunction> kanzi::BoolLinearFromToAnimation |
typedef shared_ptr<BoolLinearFromToAnimation> kanzi::BoolLinearFromToAnimationSharedPtr |
typedef FromToAnimation<float, LinearEasingFunction> kanzi::FloatLinearFromToAnimation |
typedef shared_ptr<FloatLinearFromToAnimation> kanzi::FloatLinearFromToAnimationSharedPtr |
typedef shared_ptr<ColorRGBALinearFromToAnimation> kanzi::ColorRGBALinearFromToAnimationSharedPtr |
typedef FromToAnimation<float, function<float(float)> > kanzi::FloatCustomFromToAnimation |
typedef shared_ptr<FloatCustomFromToAnimation> kanzi::FloatCustomFromToAnimationSharedPtr |
typedef KeyframeAnimation<bool> kanzi::BoolKeyframeAnimation |
typedef shared_ptr<BoolKeyframeAnimation> kanzi::BoolKeyframeAnimationSharedPtr |
typedef KeyframeAnimation<int> kanzi::IntKeyframeAnimation |
typedef shared_ptr<IntKeyframeAnimation> kanzi::IntKeyframeAnimationSharedPtr |
typedef KeyframeAnimation<float> kanzi::FloatKeyframeAnimation |
typedef shared_ptr<FloatKeyframeAnimation> kanzi::FloatKeyframeAnimationSharedPtr |
typedef shared_ptr<Vector2KeyframeAnimation> kanzi::Vector2KeyframeAnimationSharedPtr |
typedef shared_ptr<Vector3KeyframeAnimation> kanzi::Vector3KeyframeAnimationSharedPtr |
typedef shared_ptr<Vector4KeyframeAnimation> kanzi::Vector4KeyframeAnimationSharedPtr |
typedef shared_ptr<ColorRGBAKeyframeAnimation> kanzi::ColorRGBAKeyframeAnimationSharedPtr |
typedef KeyframeAnimation<string> kanzi::StringKeyframeAnimation |
typedef shared_ptr<StringKeyframeAnimation> kanzi::StringKeyframeAnimationSharedPtr |
typedef shared_ptr<ResourceIDKeyframeAnimation> kanzi::ResourceIDKeyframeAnimationSharedPtr |
typedef shared_ptr< MorphWeightTimeline > kanzi::MorphWeightTimelineSharedPtr |
typedef shared_ptr<MorphWeightTimelinePlayback> kanzi::MorphWeightTimelinePlaybackSharedPtr |
typedef shared_ptr< ParallelTimeline > kanzi::ParallelTimelineSharedPtr |
typedef shared_ptr<ParallelTimelinePlayback> kanzi::ParallelTimelinePlaybackSharedPtr |
typedef shared_ptr< PreviewTimeline > kanzi::PreviewTimelineSharedPtr |
typedef shared_ptr< PreviewTimelinePlayback > kanzi::PreviewTimelinePlaybackSharedPtr |
typedef shared_ptr< PropertyAnimationTimeline > kanzi::PropertyAnimationTimelineSharedPtr |
typedef shared_ptr<PropertyAnimationTimelinePlayback> kanzi::PropertyAnimationTimelinePlaybackSharedPtr |
typedef shared_ptr< PropertyFieldAnimationTimeline > kanzi::PropertyFieldAnimationTimelineSharedPtr |
typedef shared_ptr<PropertyFieldAnimationTimelinePlayback> kanzi::PropertyFieldAnimationTimelinePlaybackSharedPtr |
typedef shared_ptr< Timeline > kanzi::TimelineSharedPtr |
typedef shared_ptr< TimelinePlayback > kanzi::TimelinePlaybackSharedPtr |
typedef shared_ptr< TimelineClock > kanzi::TimelineClockSharedPtr |
typedef shared_ptr<TimelineResource> kanzi::TimelineResourceSharedPtr |
using kanzi::BoolAnimation = typedef ValueAnimation<bool> |
using kanzi::BoolAnimationSharedPtr = typedef shared_ptr<BoolAnimation> |
using kanzi::IntAnimation = typedef ValueAnimation<int> |
using kanzi::IntAnimationSharedPtr = typedef shared_ptr<IntAnimation> |
using kanzi::FloatAnimation = typedef ValueAnimation<float> |
using kanzi::FloatAnimationSharedPtr = typedef shared_ptr<FloatAnimation> |
using kanzi::ColorRGBAAnimation = typedef ValueAnimation<ColorRGBA> |
using kanzi::ColorRGBAAnimationSharedPtr = typedef shared_ptr<ColorRGBAAnimation> |
using kanzi::Vector2Animation = typedef ValueAnimation<Vector2> |
using kanzi::Vector2AnimationSharedPtr = typedef shared_ptr<Vector2Animation> |
using kanzi::Vector3Animation = typedef ValueAnimation<Vector3> |
using kanzi::Vector3AnimationSharedPtr = typedef shared_ptr<Vector3Animation> |
using kanzi::Vector4Animation = typedef ValueAnimation<Vector4> |
using kanzi::Vector4AnimationSharedPtr = typedef shared_ptr<Vector4Animation> |
using kanzi::StringAnimation = typedef ValueAnimation<string> |
using kanzi::StringAnimationSharedPtr = typedef shared_ptr<StringAnimation> |
using kanzi::ResourceIDAnimation = typedef ValueAnimation<ResourceID> |
using kanzi::ResourceIDAnimationSharedPtr = typedef shared_ptr<ResourceIDAnimation> |
using kanzi::SRTValue2DAnimation = typedef ValueAnimation<SRTValue2D> |
using kanzi::SRTValue2DAnimationSharedPtr = typedef shared_ptr<SRTValue2DAnimation> |
using kanzi::SRTValue3DAnimation = typedef ValueAnimation<SRTValue3D> |
using kanzi::SRTValue3DAnimationSharedPtr = typedef shared_ptr<SRTValue3DAnimation> |
typedef shared_ptr< Framebuffer > kanzi::FramebufferSharedPtr |
Framebuffer shared pointer type.
typedef shared_ptr< MaterialBrush > kanzi::MaterialBrushSharedPtr |
Shared pointer definition.
typedef shared_ptr< Screen > kanzi::ScreenSharedPtr |
Screen shared pointer.
typedef shared_ptr< Geometry > kanzi::GeometrySharedPtr |
Geometry shared pointer type.
using kanzi::SystemConfiguration = typedef unordered_map<string, string> |
typedef vector<string_view> kanzi::SystemProperties |
Read-only values from the system.
typedef shared_ptr< AbstractBinding > kanzi::AbstractBindingSharedPtr |
Abstract binding shared pointer type.
using kanzi::BindingHostConceptSharedPtr = typedef shared_ptr<BindingHostConcept> |
using kanzi::BindingHostConceptWeakPtr = typedef weak_ptr<BindingHostConcept> |
typedef weak_ptr< AbstractBindingRuntime > kanzi::AbstractBindingRuntimeWeakPtr |
AbstractBindingRuntime weak pointer type.
typedef shared_ptr<AbstractExpressionValueSource> kanzi::AbstractExpressionValueSourceSharedPtr |
Abstract expression value source shared pointer type.
typedef unique_ptr<AbstractExpressionValueSourceRuntime> kanzi::AbstractExpressionValueSourceRuntimePtr |
Abstract expression value source unique pointer type.
using kanzi::AnimationBindingProcessorSharedPtr = typedef shared_ptr<AnimationBindingProcessor> |
Animation binding processor shared pointer type.
using kanzi::AnimationBindingProcessorRuntimePtr = typedef unique_ptr<AnimationBindingProcessorRuntime> |
AnimationBindingProcessorRuntime unique pointer type.
typedef shared_ptr< Binding > kanzi::BindingSharedPtr |
Binding shared pointer type.
typedef shared_ptr<BindingBase> kanzi::BindingBaseSharedPtr |
typedef shared_ptr< Node > kanzi::NodeSharedPtr |
typedef shared_ptr< RenderPass > kanzi::RenderPassSharedPtr |
RenderPass shared pointer type.
typedef shared_ptr< BindingProcessor > kanzi::BindingProcessorSharedPtr |
BindingProcessor shared pointer type.
typedef shared_ptr< Object > kanzi::ObjectSharedPtr |
Object shared pointer type.
using kanzi::BindingLookupContextPtr = typedef unique_ptr<BindingLookupContext> |
BindingLookupContext unique pointer type.
using kanzi::BindingProcessorRuntimePtr = typedef unique_ptr<BindingProcessorRuntime> |
BindingProcessorRuntime unique pointer type.
typedef shared_ptr<BindingRuntime> kanzi::BindingRuntimeSharedPtr |
BindingRuntime shared pointer type.
typedef unique_ptr<BindingSource> kanzi::BindingSourcePtr |
Binding source unique pointer type.
using kanzi::BindingSourceRuntimePtr = typedef unique_ptr<BindingSourceRuntime> |
Binding source runtime pointer type.
using kanzi::BindingTargetRuntimePtr = typedef unique_ptr<BindingTargetRuntime> |
Binding target runtime unique pointer type.
using kanzi::CallbackBindingProcessorSharedPtr = typedef shared_ptr<CallbackBindingProcessor> |
CallbackBindingProcessor shared pointer type.
using kanzi::CallbackProcessorRuntimePtr = typedef unique_ptr<CallbackProcessorRuntime> |
CallbackProcessorRuntime unique pointer type.
typedef weak_ptr< Node > kanzi::NodeWeakPtr |
Alias for weak pointer of Node.
typedef shared_ptr<DataSourceExpressionValueSource> kanzi::DataSourceExpressionValueSourceSharedPtr |
DataSourceExpressionValueSource shared pointer type.
typedef shared_ptr< ExpressionBinding > kanzi::ExpressionBindingSharedPtr |
ExpressionBinding shared pointer type.
typedef shared_ptr<ExpressionBindingProcessor> kanzi::ExpressionBindingProcessorSharedPtr |
Expression binding processor shared pointer type.
typedef shared_ptr<ExpressionBindingRuntime> kanzi::ExpressionBindingRuntimeSharedPtr |
ExpressionBindingRuntime shared pointer type.
using kanzi::InstructionBindingProcessorRuntimePtr = typedef unique_ptr<InstructionBindingProcessorRuntime> |
using kanzi::IteratorRangeSharedPtr = typedef shared_ptr<IteratorRange> |
Iterator iterator shared pointer type.
using kanzi::IteratorRangeWeakPtr = typedef weak_ptr<IteratorRange> |
Iterator iterator weak pointer type.
using kanzi::ImmutableIteratorRangeSharedPtr = typedef shared_ptr<ImmutableIteratorRange> |
Shared pointer type for ImmutableIteratorRange.
typedef shared_ptr< ManualBinding > kanzi::ManualBindingSharedPtr |
Manual binding shared pointer type.
typedef shared_ptr< ManualBindingRuntime > kanzi::ManualBindingRuntimeSharedPtr |
ManualBindingRuntime shared pointer type.
Manual binding runtime shared pointer type.
typedef shared_ptr<ObjectPropertyExpressionValueSource> kanzi::ObjectPropertyExpressionValueSourceSharedPtr |
ObjectPropertyExpressionValueSource shared pointer type.
using kanzi::PropertyAccessRangeSharedPtr = typedef shared_ptr<PropertyAccessRange> |
Property access range shared pointer type.
using kanzi::IndexedPropertyAccessRangeSharedPtr = typedef shared_ptr<IndexedPropertyAccessRange> |
Indexed property access range shared pointer type.
using kanzi::RangeAccumulateBindingProcessorSharedPtr = typedef shared_ptr<RangeAccumulateBindingProcessor> |
Iterator begin binding processor shared pointer type.
using kanzi::RangeAccumulateBindingProcessorRuntimePtr = typedef unique_ptr<RangeAccumulateBindingProcessorRuntime> |
RangeAccumulateBindingProcessorRuntime unique pointer type.
using kanzi::RangeBindingProcessorSharedPtr = typedef shared_ptr<RangeBindingProcessor> |
RangeBindingProcessor shared pointer type.
using kanzi::RangeBindingProcessorRuntimePtr = typedef unique_ptr<RangeBindingProcessorRuntime> |
RangeBindingProcessorRuntime unique pointer type.
typedef shared_ptr< Material > kanzi::MaterialSharedPtr |
Material shared pointer type.
using kanzi::RenderPropertyExpressionValueSourceSharedPtr = typedef shared_ptr<RenderPropertyExpressionValueSource> |
ObjectPropertyExpressionValueSource shared pointer type.
using kanzi::ResourceBindingProcessorSharedPtr = typedef shared_ptr<ResourceBindingProcessor> |
Resource binding processor shared pointer type.
using kanzi::ResourceBindingProcessorRuntimePtr = typedef unique_ptr<ResourceBindingProcessorRuntime> |
ResourceBindingProcessorRuntime unique pointer type.
using kanzi::ImmutableSplitStringRangeSharedPtr = typedef shared_ptr<ImmutableSplitStringRange> |
Immutable split string range shared pointer type.
using kanzi::SplitStringRangeSharedPtr = typedef shared_ptr<SplitStringRange> |
Split string range shared pointer type.
typedef shared_ptr< ToSourceBinding > kanzi::ToSourceBindingSharedPtr |
ToSourceBinding shared pointer type.
typedef shared_ptr<ToSourceBindingRuntime> kanzi::ToSourceBindingRuntimeSharedPtr |
ToSourceBindingRuntime shared pointer type.
typedef shared_ptr< TwoWayBinding > kanzi::TwoWayBindingSharedPtr |
TwoWayBinding shared pointer type.
typedef shared_ptr<TwoWayBindingRuntime> kanzi::TwoWayBindingRuntimeSharedPtr |
TwoWayBindingRuntime shared pointer type.
using kanzi::ValueRangeSharedPtr = typedef shared_ptr<ValueRange> |
Value iterator shared pointer type.
using kanzi::ValueRangeWeakPtr = typedef weak_ptr<ValueRange> |
Value iterator weak pointer type.
using kanzi::VariableBindingHostSharedPtr = typedef shared_ptr<VariableBindingHost> |
Shared pointer type for variable binding host.
using kanzi::VariableExpressionValueSourceSharedPtr = typedef shared_ptr<VariableExpressionValueSource> |
ObjectPropertyExpressionValueSource shared pointer type.
typedef shared_ptr<BitmapImage> kanzi::BitmapImageSharedPtr |
Image shared pointer type.
typedef unique_ptr<BitmapImage> kanzi::BitmapImageUniquePtr |
Image unique pointer type.
typedef vector<BitmapImageUniquePtr> kanzi::BitmapImageVector |
Image shared pointer vector type.
typedef shared_ptr< Condition > kanzi::ConditionSharedPtr |
using kanzi::ConditionContainer = typedef vector<ConditionSharedPtr> |
using kanzi::ConditionConstIterator = typedef ConditionContainer::const_iterator |
typedef shared_ptr<ExpressionCondition> kanzi::ExpressionConditionSharedPtr |
typedef shared_ptr<BinaryResource> kanzi::BinaryResourceSharedPtr |
typedef shared_ptr<TextResource> kanzi::TextResourceSharedPtr |
Text resource shared pointer.
typedef shared_ptr< DataObject > kanzi::DataObjectSharedPtr |
DataObject shared pointer type.
typedef shared_ptr<DataContext> kanzi::DataContextSharedPtr |
using kanzi::DataObjectBoolSharedPtr = typedef shared_ptr<DataObjectBool> |
using kanzi::DataObjectIntSharedPtr = typedef shared_ptr<DataObjectInt> |
using kanzi::DataObjectRealSharedPtr = typedef shared_ptr<DataObjectReal> |
using kanzi::DataObjectStringSharedPtr = typedef shared_ptr<DataObjectString> |
using kanzi::DataObjectWeakPtr = typedef weak_ptr<DataObject> |
DataObject weak pointer type.
typedef shared_ptr<DataObjectEnumBase> kanzi::DataObjectEnumBaseSharedPtr |
typedef shared_ptr<DataObjectList> kanzi::DataObjectListSharedPtr |
typedef shared_ptr<DataSource> kanzi::DataSourceSharedPtr |
typedef weak_ptr<DataSource> kanzi::DataSourceWeakPtr |
using kanzi::ModuleSharedPtr = typedef shared_ptr<Module> |
typedef shared_ptr<PatchingNotificationHandler> kanzi::PatchingNotificationHandlerSharedPtr |
Shared pointer to PatchingNotificationHandler.
using kanzi::BlurEffect2DSharedPtr = typedef shared_ptr<BlurEffect2D> |
Blur effect shared pointer type.
typedef shared_ptr< NodeEffect2D > kanzi::NodeEffect2DSharedPtr |
typedef TypedValueRange< float > kanzi::TypedFloatValueRange |
typedef shared_ptr< TypedFloatValueRange > kanzi::TypedFloatValueRangeSharedPtr |
using kanzi::BlurEffectRenderer2DUniquePtr = typedef unique_ptr<BlurEffectRenderer2D> |
Blur effect renderer unique pointer type.
using kanzi::MaskEffect2DSharedPtr = typedef shared_ptr<MaskEffect2D> |
Mask effect shared pointer type.
using kanzi::MaskEffectRenderer2DUniquePtr = typedef unique_ptr<MaskEffectRenderer2D> |
Mask effect renderer unique pointer type.
using kanzi::OutlineEffect2DSharedPtr = typedef shared_ptr<OutlineEffect2D> |
OutlineEffect2D shared pointer type.
using kanzi::OutlineEffectRenderer2DUniquePtr = typedef unique_ptr<OutlineEffectRenderer2D> |
OutlineEffectRenderer2D unique pointer type.
using kanzi::ShadowEffect2DSharedPtr = typedef shared_ptr<ShadowEffect2D> |
Shadow effect shared pointer type.
using kanzi::ShadowEffectRenderer2DUniquePtr = typedef unique_ptr<ShadowEffectRenderer2D> |
Shadow effect renderer unique pointer type.
typedef shared_ptr< Texture > kanzi::TextureSharedPtr |
Texture shared pointer type.
typedef unique_ptr< FontLoader > kanzi::FontLoaderPtr |
typedef unique_ptr< TextShaper > kanzi::TextShaperPtr |
typedef shared_ptr< FontFamily > kanzi::FontFamilySharedPtr |
typedef shared_ptr< FontFile > kanzi::FontFileSharedPtr |
using kanzi::BitmapFontLoaderPtr = typedef unique_ptr<BitmapFontLoader> |
using kanzi::FontEnginePluginSharedPtr = typedef shared_ptr<FontEnginePlugin> |
using kanzi::GlyphCacheManagerPtr = typedef unique_ptr<GlyphCacheManager> |
using kanzi::FontRuntimeSharedPtr = typedef shared_ptr<FontRuntime> |
typedef shared_ptr< GlyphCache > kanzi::GlyphCacheSharedPtr |
Glyph cache shared pointer type.
using kanzi::GlyphCacheUniquePtr = typedef unique_ptr<GlyphCache> |
Glyph cache unique pointer type.
typedef tuple< unsigned int, FontHintingPreference > kanzi::GlyphKey |
Key type of a glyph cache map.
GlyphKey type is a combination of the glyph index of the glyph inside the font and the hinting preference of that font.
using kanzi::GraphicsOutputSharedPtr = typedef shared_ptr<GraphicsOutput> |
GraphicsOutput shared pointer type.
using kanzi::WindowedGraphicsOutputSharedPtr = typedef shared_ptr<WindowedGraphicsOutput> |
WindowedGraphicsOutput shared pointer type.
typedef shared_ptr< Brush > kanzi::BrushSharedPtr |
Brush shared pointer.
typedef unique_ptr< BrushRenderer > kanzi::BrushRendererPtr |
Brush renderer unique pointer.
typedef shared_ptr<ColorBrush> kanzi::ColorBrushSharedPtr |
typedef shared_ptr<CompositionBrush> kanzi::CompositionBrushSharedPtr |
Shared pointer type.
typedef shared_ptr< Renderbuffer > kanzi::RenderbufferSharedPtr |
Renderbuffer shared pointer type.
typedef unique_ptr<CompositionStack> kanzi::CompositionStackPtr |
Composition stack shared pointer.
typedef shared_ptr<ContentBrush> kanzi::ContentBrushSharedPtr |
Shared pointer type.
typedef Texture* kanzi::NativeFramebufferHandle |
typedef void* kanzi::NativeTextureHandle |
typedef shared_ptr<NullBrush> kanzi::NullBrushSharedPtr |
typedef shared_ptr<Surface> kanzi::SurfaceSharedPtr |
Surface shared pointer type.
typedef shared_ptr<TextureBrush> kanzi::TextureBrushSharedPtr |
Shared pointer definition.
typedef Rectangle<int> kanzi::ViewportRectangle |
Viewport rectangle definition.
typedef shared_ptr<BlitRenderPass> kanzi::BlitRenderPassSharedPtr |
BlitRenderPass shared pointer type.
typedef shared_ptr<ClearRenderPass> kanzi::ClearRenderPassSharedPtr |
ClearRenderPass shared pointer type.
using kanzi::CombinerObjectSourceSharedPtr = typedef shared_ptr<CombinerObjectSource> |
Combiner object source shared pointer type.
using kanzi::CombinerObjectSourceRuntimeSharedPtr = typedef shared_ptr<CombinerObjectSourceRuntime> |
Combiner object source runtime shared pointer type.
typedef shared_ptr<CompositionTargetRenderPass> kanzi::CompositionTargetRenderPassSharedPtr |
CompositionTargetRenderPass shared pointer type.
typedef shared_ptr<ContainsPropertyFilter> kanzi::ContainsPropertyFilterSharedPtr |
Contains Property Filter shared pointer type.
using kanzi::ContainsPropertyFilterRuntimeSharedPtr = typedef shared_ptr<ContainsPropertyFilterRuntime> |
Contains property node filter runtime shared pointer type.
using kanzi::CubeMapRenderPassSharedPtr = typedef shared_ptr<CubeMapRenderPass> |
CubeMapRenderPass shared pointer type.
typedef shared_ptr< Node3D > kanzi::Node3DSharedPtr |
Node3D shared pointer type.
typedef weak_ptr< Node3D > kanzi::Node3DWeakPtr |
Node3D weak pointer type.
using kanzi::DistanceFilterSharedPtr = typedef shared_ptr<DistanceFilter> |
Distance filter shared pointer type.
using kanzi::DistanceFilterRuntimeSharedPtr = typedef shared_ptr<DistanceFilterRuntime> |
Frustum cull filter runtime shared pointer type.
typedef shared_ptr< FrustumCullFilterRuntime > kanzi::FrustumCullFilterRuntimeSharedPtr |
Frustum cull filter runtime shared pointer type.
typedef shared_ptr< NodeList > kanzi::NodeListSharedPtr |
NodeList shared pointer type.
typedef shared_ptr< ObjectSourceRuntime > kanzi::ObjectSourceRuntimeSharedPtr |
Shared pointer type for object source runtime.
typedef shared_ptr< DrawObjectsRenderPass > kanzi::DrawObjectsRenderPassSharedPtr |
DrawObjectsRenderPass shared pointer type.
typedef shared_ptr<DrawObjectsWithMaterialRenderPass> kanzi::DrawObjectsWithMaterialRenderPassSharedPtr |
DrawObjectsWithMaterialRenderPass shared pointer type.
using kanzi::FrustumCullFilterSharedPtr = typedef shared_ptr<FrustumCullFilter> |
Frustum cull filter shared pointer type.
typedef shared_ptr< Camera > kanzi::CameraSharedPtr |
CameraNode shared pointer.
typedef weak_ptr< Camera > kanzi::CameraWeakPtr |
CameraNode weak pointer.
using kanzi::GatherLightsRenderPassSharedPtr = typedef shared_ptr<GatherLightsRenderPass> |
GatherLightsRenderPass shared pointer type.
using kanzi::GatherNearestLightsRenderPassSharedPtr = typedef shared_ptr<GatherNearestLightsRenderPass> |
GatherLightsRenderPass shared pointer type.
typedef vector<MeshVertexAttribute> kanzi::MeshAttributeCollection |
typedef MeshAttributeCollection::iterator kanzi::MeshAttributeCollectionIterator |
typedef MeshAttributeCollection::const_iterator kanzi::MeshAttributeCollectionConstIterator |
typedef vector<ShaderVertexAttribute> kanzi::ShaderAttributeCollection |
typedef ShaderAttributeCollection::iterator kanzi::ShaderAttributeCollectionIterator |
typedef ShaderAttributeCollection::const_iterator kanzi::ShaderAttributeCollectionConstIterator |
typedef shared_ptr<LegacyRenderPass> kanzi::LegacyRenderPassSharedPtr |
LegacyRenderpass shared pointer type.
typedef shared_ptr< ShaderProgram > kanzi::ShaderProgramSharedPtr |
Shader program shared pointer type.
using kanzi::MaterialWeakPtr = typedef weak_ptr<Material> |
Material shared pointer type.
typedef shared_ptr<MaterialSetupRenderPass> kanzi::MaterialSetupRenderPassSharedPtr |
MaterialSetupRenderPass shared pointer type.
typedef shared_ptr< Mesh > kanzi::MeshSharedPtr |
typedef shared_ptr<Morph const> kanzi::MorphSharedConstPtr |
typedef shared_ptr< Morph > kanzi::MorphSharedPtr |
typedef weak_ptr< ShaderProgram > kanzi::ShaderProgramWeakPtr |
Shader program weak pointer type.
typedef shared_ptr<MorphRuntime> kanzi::MorphRuntimeSharedPtr |
Morph runtime shared pointer type.
typedef weak_ptr< NodeList > kanzi::NodeListWeakPtr |
NodeList weak pointer type.
typedef shared_ptr< ObjectSource > kanzi::ObjectSourceSharedPtr |
Object source shared pointer type.
typedef shared_ptr< NodeListRenderPass > kanzi::NodeListRenderPassSharedPtr |
NodeListRenderPass shared pointer type.
typedef weak_ptr< ObjectSource > kanzi::ObjectSourceWeakPtr |
Object source weak pointer type.
using kanzi::ObjectTypeFilterSharedPtr = typedef shared_ptr<ObjectTypeFilter> |
Object Type Filter shared pointer type.
using kanzi::ObjectTypeFilterRuntimeSharedPtr = typedef shared_ptr<ObjectTypeFilterRuntime> |
Object type filter runtime shared pointer type.
typedef shared_ptr<PipelineStateRenderPass> kanzi::PipelineStateRenderPassSharedPtr |
PipelineStateRenderPass shared pointer type.
using kanzi::PropertyIsEqualFilterSharedPtr = typedef shared_ptr<PropertyIsEqualFilter> |
Property Is Equal Filter shared pointer type.
using kanzi::PropertyIsEqualFilterRuntimeSharedPtr = typedef shared_ptr<PropertyIsEqualFilterRuntime> |
Contains property node filter runtime shared pointer type.
using kanzi::RenderEntry3DPtr = typedef unique_ptr<RenderEntry3D> |
Render state association unique pointer type.
typedef weak_ptr< DrawObjectsRenderPass > kanzi::DrawObjectsRenderPassWeakPtr |
typedef shared_ptr< RenderPass const > kanzi::RenderPassConstSharedPtr |
RenderPass const shared pointer type.
typedef weak_ptr< RenderPass > kanzi::RenderPassWeakPtr |
RenderPass weak pointer type.
typedef shared_ptr< RenderPassPrefab > kanzi::RenderPassPrefabSharedPtr |
Render pass template shared pointer type.
typedef shared_ptr<RenderPassView> kanzi::RenderPassViewSharedPtr |
RenderPassView shared pointer type.
using kanzi::SortByShaderObjectSourceSharedPtr = typedef shared_ptr<SortByShaderObjectSource> |
Sort object source shared pointer type.
using kanzi::SortByShaderObjectSourceRuntimeSharedPtr = typedef shared_ptr<SortByShaderObjectSourceRuntime> |
Frustum cull filter runtime shared pointer type.
using kanzi::SortByZObjectSourceSharedPtr = typedef shared_ptr<SortByZObjectSource> |
Sort object source shared pointer type.
using kanzi::SortByZObjectSourceRuntimeSharedPtr = typedef shared_ptr<SortByZObjectSourceRuntime> |
Frustum cull filter runtime shared pointer type.
using kanzi::SortObjectSourceSharedPtr = typedef shared_ptr<SortObjectSource> |
Sort object source shared pointer type.
using kanzi::TagFilterSharedPtr = typedef shared_ptr<TagFilter> |
Tag Filter shared pointer type.
using kanzi::TagFilterRuntimeSharedPtr = typedef shared_ptr<TagFilterRuntime> |
Tag filter runtime shared pointer type.
typedef shared_ptr< ClickManipulator > kanzi::ClickManipulatorSharedPtr |
using kanzi::DragAndDropManipulatorSharedPtr = typedef shared_ptr<DragAndDropManipulator> |
using kanzi::EventSourceSharedPtr = typedef shared_ptr<EventSource> |
EventSource shared pointer type.
using kanzi::FocusScopePtr = typedef unique_ptr<FocusScope> |
using kanzi::FocusNavigationManipulatorSharedPtr = typedef shared_ptr<FocusNavigationManipulator> |
using kanzi::InputManipulatorSharedPtr = typedef shared_ptr<InputManipulator> |
using kanzi::InputManipulatorWeakPtr = typedef weak_ptr<InputManipulator> |
typedef struct TouchPoint kanzi::KzuInputTouchPoint |
typedef shared_ptr<KeyManipulator> kanzi::KeyManipulatorSharedPtr |
using kanzi::LongPressManipulatorSharedPtr = typedef shared_ptr<LongPressManipulator> |
using kanzi::MultiClickManipulatorSharedPtr = typedef shared_ptr<MultiClickManipulator> |
using kanzi::NavigationManipulatorSharedPtr = typedef shared_ptr<NavigationManipulator> |
using kanzi::PanManipulatorSharedPtr = typedef shared_ptr<PanManipulator> |
using kanzi::PinchManipulatorSharedPtr = typedef shared_ptr<PinchManipulator> |
typedef tuple<NodeSharedPtr, Ray, float> kanzi::RayPickResult |
RayPick hit test result tuple.
Contains these values:
using kanzi::TextInputManipulatorSharedPtr = typedef shared_ptr<TextInputManipulator> |
typedef shared_ptr< InputMethod > kanzi::InputMethodSharedPtr |
using kanzi::InputMethodBackendSharedPtr = typedef shared_ptr<InputMethodBackend> |
using kanzi::InputMethodWeakPtr = typedef weak_ptr<InputMethod> |
typedef unordered_set<string> kanzi::UrlContainer |
using kanzi::MainLoopTaskToken = typedef weak_ptr<void> |
Type alias for an opaque handle to a MainLoopScheduler task.
using kanzi::MainLoopTimerToken = typedef MainLoopTaskToken |
Type alias for an opaque handle to a MainLoopScheduler timer.
typedef shared_ptr< MainLoopProfiler > kanzi::MainLoopProfilerSharedPtr |
Alias for shared pointer to Main Loop Profiler.
typedef shared_ptr< MainLoopProfilingScopeData > kanzi::MainLoopProfilingScopeToken |
Alias for token used to identify a main loop profiling scope.
typedef shared_ptr<EmptyNode2D> kanzi::EmptyNode2DSharedPtr |
typedef shared_ptr<EmptyNode3D> kanzi::EmptyNode3DSharedPtr |
typedef shared_ptr<Image2D> kanzi::Image2DSharedPtr |
Image2D shared pointer type.
using kanzi::Instantiator3DSharedPtr = typedef shared_ptr<Instantiator3D> |
Instantiator3DNode shared pointer.
using kanzi::LightSharedPtr = typedef shared_ptr<Light> |
Light shared pointer type.
using kanzi::LightWeakPtr = typedef weak_ptr<Light> |
Light weak pointer type.
typedef shared_ptr<LevelOfDetail3D> kanzi::LevelOfDetail3DSharedPtr |
LevelOfDetail3D shared pointer type.
typedef shared_ptr<Model3D> kanzi::Model3DSharedPtr |
Model3D shared pointer type.
typedef shared_ptr<InputManipulator> kanzi::InputManipulatorBaseSharedPtr |
typedef shared_ptr< NodeComponent > kanzi::NodeComponentSharedPtr |
typedef shared_ptr< ResourceDictionary > kanzi::ResourceDictionarySharedPtr |
Resource dictionary shared pointer.
typedef shared_ptr< Node const > kanzi::NodeConstSharedPtr |
Alias for shared pointer of const 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 const > kanzi::Node3DConstSharedPtr |
Node3D const shared pointer type.
typedef unique_ptr< NodeEffectRenderer2D > kanzi::NodeEffectRenderer2DUniquePtr |
Node effect unique pointer type.
using kanzi::NodeCompositor2DPtr = typedef unique_ptr<NodeCompositor2D> |
NodeCompositor2D unique pointer type.
using kanzi::NodeVisual2DPtr = typedef unique_ptr<NodeVisual2D> |
NodeVisual2D unique pointer type.
typedef shared_ptr<Portal> kanzi::PortalSharedPtr |
typedef shared_ptr<ProgressiveRenderingViewport2D> kanzi::ProgressiveRenderingViewport2DSharedPtr |
typedef shared_ptr< Scene > kanzi::SceneSharedPtr |
Scene shared pointer.
typedef shared_ptr<Viewport2D> kanzi::Viewport2DSharedPtr |
Viewport2D shared pointer type.
typedef shared_ptr<Viewport3D> kanzi::Viewport3DSharedPtr |
typedef shared_ptr<NodeComponent const> kanzi::NodeComponentConstSharedPtr |
typedef shared_ptr< Style > kanzi::StyleSharedPtr |
Style shared pointer type.
typedef shared_ptr<AppliedStyleEntry> kanzi::AppliedStyleEntrySharedPtr |
AppliedStyleEntry shared pointer type.
using kanzi::ScriptingContextSharedPtr = typedef shared_ptr<void> |
Alias for an opaque handle to the scripting context of an object.
using kanzi::GLGraphicsOutputSharedPtr = typedef shared_ptr<GLGraphicsOutput> |
GLGraphicsOutput shared pointer type.
using kanzi::TextureWeakPtr = typedef weak_ptr<Texture> |
using kanzi::GPUBufferUniquePtr = typedef unique_ptr<GPUBuffer> |
using kanzi::GLSwizzleMask = typedef array<int, 4> |
typedef shared_ptr<const Mesh> kanzi::MeshConstSharedPtr |
typedef unordered_map<ShaderProgram*, vector<int> > kanzi::ShaderProgramToAttributeMapSet |
typedef unique_ptr<RenderStatePropertyNotificationHandler> kanzi::RenderStatePropertyNotificationHandlerPtr |
Render state property container shared pointer.
using kanzi::RendererSharedPtr = typedef shared_ptr<Renderer> |
typedef map<string, int> kanzi::AttributeNameToIndex |
typedef AttributeNameToIndex::iterator kanzi::AttributeNameToIndexIterator |
typedef AttributeNameToIndex::const_iterator kanzi::AttributeNameToIndexConstIterator |
typedef shared_ptr<BufferObjectStream> kanzi::BufferObjectStreamSharedPtr |
using kanzi::LegacyGraphicsOutputSharedPtr = typedef shared_ptr<LegacyGraphicsOutput> |
LegacyGraphicsOutput shared pointer type.
typedef unique_ptr<InputEvent> kanzi::UniqueEventPtr |
using kanzi::WindowsImeSharedPtr = typedef shared_ptr<WindowsIme> |
typedef int kanzi::NativeEventHandle |
typedef weak_ptr<Resource> kanzi::ResourceWeakPtr |
typedef shared_ptr<ResourceDictionarySelector> kanzi::ResourceDictionarySelectorSharedPtr |
Resource dictionary selector shared pointer.
typedef shared_ptr<KzbFile> kanzi::KzbFileSharedPtr |
typedef shared_ptr<ResourceManager> kanzi::ResourceManagerSharedPtr |
Resource manager shared pointer type.
typedef unique_ptr<ResourceProfiler> kanzi::ResourceProfilerUniquePtr |
The resource profiler unique ptr type.
typedef shared_ptr<ResourceProfilingContext> kanzi::ResourceProfilingContextSharedPtr |
typedef unique_ptr<ResourceProfilingContextFactory> kanzi::ResourceProfilingContextFactoryUniquePtr |
The resource profiling context factory unique pointer type.
typedef shared_ptr<ResourceProfilingDataSample> kanzi::ResourceProfilingDataSampleSharedPtr |
Profiled resource shared pointer type.
typedef shared_ptr<ResourceProfilingLoadTask> kanzi::ProfiledLoadTaskSharedPtr |
Profiled load task shared pointer type.
typedef shared_ptr<Trajectory> kanzi::TrajectorySharedPtr |
Trajectory shared pointer type.
typedef shared_ptr<StateManager> kanzi::StateManagerSharedPtr |
typedef weak_ptr<StateManager> kanzi::StateManagerWeakPtr |
typedef shared_ptr< NodeComponentTemplate > kanzi::NodeComponentTemplateSharedPtr |
using kanzi::DataTriggerTemplateSharedPtr = typedef shared_ptr<DataTriggerTemplate> |
using kanzi::DataTriggerTemplateConstSharedPtr = typedef shared_ptr<DataTriggerTemplate const> |
typedef shared_ptr<NodeComponentTemplate const> kanzi::NodeComponentTemplateConstSharedPtr |
using kanzi::NodeEffect2DConstSharedPtr = typedef shared_ptr<NodeEffect2D const> |
using kanzi::NodeEffectPrefab2DSharedPtr = typedef shared_ptr<NodeEffectPrefab2D> |
Node effect prefab shared pointer type.
typedef shared_ptr<NodeEffectTemplate2D> kanzi::NodeEffectTemplate2DSharedPtr |
NodeEffectTemplate2D shared pointer type.
typedef shared_ptr< PrefabTemplate > kanzi::PrefabTemplateSharedPtr |
typedef shared_ptr<PrefabTemplateNode> kanzi::PrefabTemplateNodeSharedPtr |
typedef weak_ptr<PrefabTemplateNode> kanzi::PrefabTemplateNodeWeakPtr |
typedef shared_ptr<RenderPassTemplate> kanzi::RenderPassTemplateSharedPtr |
RenderPassTemplate shared pointer type.
typedef shared_ptr<TriggerTemplate> kanzi::TriggerTemplateSharedPtr |
typedef shared_ptr<TriggerTemplate const> kanzi::TriggerTemplateConstSharedPtr |
typedef unique_ptr<TextFormat> kanzi::TextFormatPtr |
Text format unique pointer.
using kanzi::TextManagerUniquePtr = typedef unique_ptr<TextManager> |
using kanzi::TextManagerShareedPtr = typedef shared_ptr<TextManager> |
using kanzi::DataTriggerComponentSharedPtr = typedef shared_ptr<DataTriggerComponent> |
typedef shared_ptr<Trigger> kanzi::TriggerSharedPtr |
using kanzi::JNI_CreateJavaVMPtr = typedef jint (*)(JavaVM** pvm, void** penv, void* args) |
using kanzi::JNI_GetCreatedJavaVMsPtr = typedef jint (*)(JavaVM**, jsize, jsize*) |
typedef shared_ptr< TsThaiDict > kanzi::ItypeThaiDictionarySharedPtr |
using kanzi::ApplyActivationActionSharedPtr = typedef shared_ptr<ApplyActivationAction> |
typedef shared_ptr< ActivityElement > kanzi::ActivityElementSharedPtr |
using kanzi::ApplyPropertyActionSharedPtr = typedef shared_ptr<ApplyPropertyAction> |
typedef shared_ptr<DispatchMessageAction> kanzi::DispatchMessageActionSharedPtr |
typedef shared_ptr<ForwardingAction> kanzi::ForwardingActionSharedPtr |
using kanzi::ForwardingApplyActionSharedPtr = typedef shared_ptr<ForwardingApplyAction> |
typedef shared_ptr<MoveFocusAction> kanzi::MoveFocusActionSharedPtr |
typedef shared_ptr<SetPropertyAction> kanzi::SetPropertyActionSharedPtr |
typedef shared_ptr<TrySetFocusAction> kanzi::TrySetFocusActionSharedPtr |
typedef shared_ptr<WriteLogAction> kanzi::WriteLogActionSharedPtr |
typedef shared_ptr<Activity2D> kanzi::Activity2DSharedPtr |
Activity2D shared pointer.
typedef shared_ptr<Activity3D> kanzi::Activity3DSharedPtr |
Activity3D shared pointer.
using kanzi::Button2DSharedPtr = typedef shared_ptr<Button2D> |
using kanzi::Button3DSharedPtr = typedef shared_ptr<Button3D> |
using kanzi::ActivityBrowserControllerSharedPtr = typedef shared_ptr<ActivityBrowserController> |
ActivityBrowserController shared pointer.
using kanzi::ActivityCodeBehindSharedPtr = typedef shared_ptr<ActivityCodeBehind> |
ActivityCodeBehind shared pointer.
using kanzi::NodeWeakPtrContainer = typedef vector<NodeWeakPtr> |
using kanzi::BindingTokenUniquePtr = typedef unique_ptr<BindingToken> |
using kanzi::BindingTokenSharedPtr = typedef shared_ptr<BindingToken> |
using kanzi::BindingTokenWeakPtr = typedef weak_ptr<BindingToken> |
using kanzi::CodeBehindSharedPtr = typedef shared_ptr<CodeBehind> |
CodeBehind shared pointer.
typedef shared_ptr<CodeBehindRegisterGuard> kanzi::CodeBehindRegisterGuardSharedPtr |
CodeBehindRegisterGuard shared pointer.
typedef shared_ptr<DataSourceListItemGenerator2D> kanzi::DataSourceListItemGenerator2DSharedPtr |
typedef shared_ptr<DataSourceListItemGenerator3D> kanzi::DataSourceListItemGenerator3DSharedPtr |
typedef function<void()> kanzi::PropertyChangedFunction |
typedef shared_ptr<ListBoxItemGenerator2D> kanzi::ListBoxItemGenerator2DSharedPtr |
typedef shared_ptr<ListBoxItemGenerator3D> kanzi::ListBoxItemGenerator3DSharedPtr |
using kanzi::ContentLayout2DSharedPtr = typedef shared_ptr<ContentLayout2D> |
using kanzi::ContentLayout3DSharedPtr = typedef shared_ptr<ContentLayout3D> |
typedef shared_ptr<DataDrivenExclusiveActivityHost2D> kanzi::DataDrivenExclusiveActivityHost2DSharedPtr |
DataDrivenExclusiveActivityHost2D shared pointer.
typedef shared_ptr<DataDrivenExclusiveActivityHost3D> kanzi::DataDrivenExclusiveActivityHost3DSharedPtr |
DataDrivenExclusiveActivityHost3D shared pointer.
typedef shared_ptr<DockLayout2D> kanzi::DockLayout2DSharedPtr |
typedef shared_ptr<DockLayout3D> kanzi::DockLayout3DSharedPtr |
DockLayout shared pointer.
typedef shared_ptr<ExclusiveActivityHost2D> kanzi::ExclusiveActivityHost2DSharedPtr |
ExclusiveActivityHost2D shared pointer.
typedef shared_ptr<ExclusiveActivityHost3D> kanzi::ExclusiveActivityHost3DSharedPtr |
ExclusiveActivityHost3D shared pointer.
typedef shared_ptr<FlowLayout2D> kanzi::FlowLayout2DSharedPtr |
typedef shared_ptr<FlowLayout3D> kanzi::FlowLayout3DSharedPtr |
FlowLayout shared pointer.
typedef shared_ptr<GridLayout2D> kanzi::GridLayout2DSharedPtr |
GridLayout2D shared pointer.
typedef shared_ptr<GridLayout3D> kanzi::GridLayout3DSharedPtr |
GridLayout3D shared pointer.
typedef shared_ptr<GridListBox2D> kanzi::GridListBox2DSharedPtr |
typedef shared_ptr<GridListBox3D> kanzi::GridListBox3DSharedPtr |
typedef shared_ptr<ListBoxItemContainer3D> kanzi::ListBoxItemContainer3DSharedPtr |
typedef shared_ptr<ListBoxItemContainer2D> kanzi::ListBoxItemContainer2DSharedPtr |
typedef shared_ptr<NinePatchImage2D> kanzi::NinePatchImage2DSharedPtr |
typedef shared_ptr<Page> kanzi::PageSharedPtr |
typedef weak_ptr<Page> kanzi::PageWeakPtr |
typedef shared_ptr<PageHost> kanzi::PageHostSharedPtr |
typedef shared_ptr<PageTransitionCollection> kanzi::PageTransitionCollectionSharedPtr |
typedef shared_ptr<ParallelActivityHost2D> kanzi::ParallelActivityHost2DSharedPtr |
ParallelActivityHost2D shared pointer.
typedef shared_ptr<ParallelActivityHost3D> kanzi::ParallelActivityHost3DSharedPtr |
ParallelActivityHost3D shared pointer.
typedef shared_ptr<PrefabView2D> kanzi::PrefabView2DSharedPtr |
Prefab view 2D shared pointer.
typedef shared_ptr<PrefabView3D> kanzi::PrefabView3DSharedPtr |
Prefab view 3D shared pointer.
typedef shared_ptr<ScrollView2D> kanzi::ScrollView2DSharedPtr |
typedef shared_ptr<ScrollView3D> kanzi::ScrollView3DSharedPtr |
typedef shared_ptr<Slider2D> kanzi::Slider2DSharedPtr |
Trajectory Slider shared pointer.
typedef SliderTrajectoryPresenter<TrajectoryLayout2D, Slider2D, Trajectory2DInputHandler<TrajectoryLayout2D, Slider2D> > kanzi::Slider2DPresenterType |
typedef Slider2DConceptImpl<RangeConceptImpl<Node2D, Slider2D>, Slider2DPresenterType, Slider2D> kanzi::Slider2DConceptImplType |
typedef shared_ptr<Slider3D> kanzi::Slider3DSharedPtr |
Trajectory Slider shared pointer.
typedef SliderTrajectoryPresenter<TrajectoryLayout3D, Slider3D, Trajectory3DInputHandler<TrajectoryLayout3D, Slider3D> > kanzi::Slider3DPresenterType |
typedef Slider3DConceptImpl<RangeConceptImpl<Node3D, Slider3D>, Slider3DPresenterType, Slider3D> kanzi::Slider3DConceptImplType |
typedef shared_ptr<StackLayout2D> kanzi::StackLayout2DSharedPtr |
Stack layout shared pointer.
typedef shared_ptr<StackLayout3D> kanzi::StackLayout3DSharedPtr |
StackLayout shared pointer.
typedef shared_ptr<TextBlock2D> kanzi::TextBlock2DSharedPtr |
TextLayer shared pointer.
typedef shared_ptr<TextBlock3D> kanzi::TextBlock3DSharedPtr |
TextBlock shared pointer.
using kanzi::TextBox2DSharedPtr = typedef shared_ptr<TextBox2D> |
typedef shared_ptr<TextBox3D> kanzi::TextBox3DSharedPtr |
using kanzi::ToggleButton2DSharedPtr = typedef shared_ptr<ToggleButton2D> |
using kanzi::ToggleButton3DSharedPtr = typedef shared_ptr<ToggleButton3D> |
using kanzi::ToggleButtonGroup2DSharedPtr = typedef shared_ptr<ToggleButtonGroup2D> |
ToggleButtonGroup2D shared pointer.
using kanzi::ToggleButtonGroup3DSharedPtr = typedef shared_ptr<ToggleButtonGroup3D> |
ToggleButtonGroup3D shared pointer.
typedef shared_ptr<TrajectoryLayout2D> kanzi::TrajectoryLayout2DSharedPtr |
TrajectoryLayout shared pointer.
typedef shared_ptr<TrajectoryLayout3D> kanzi::TrajectoryLayout3DSharedPtr |
TrajectoryLayout shared pointer.
typedef shared_ptr<TrajectoryListBox3D> kanzi::TrajectoryListBox3DSharedPtr |
typedef shared_ptr<AnimationPlayer> kanzi::AnimationPlayerSharedPtr |
typedef shared_ptr<FloatValueAccumulator> kanzi::FloatValueAccumulatorSharedPtr |
typedef shared_ptr<IntValueAccumulator> kanzi::IntValueAccumulatorSharedPtr |
typedef shared_ptr<PropertyDrivenAnimationPlayer> kanzi::PropertyDrivenAnimationPlayerSharedPtr |
typedef shared_ptr< PropertyTargetInterpolationTimeline > kanzi::PropertyTargetInterpolationTimelineSharedPtr |
typedef shared_ptr<PropertyFieldTargetInterpolationTimelinePlayback> kanzi::PropertyFieldTargetInterpolationTimelinePlaybackSharedPtr |
using kanzi::PropertyTargetEasingInterpolatorSharedPtr = typedef shared_ptr<PropertyTargetEasingInterpolator> |
typedef shared_ptr< PropertyTargetEasingTimeline > kanzi::PropertyTargetEasingTimelineSharedPtr |
using kanzi::PropertyTargetEasingTimelinePlaybackSharedPtr = typedef shared_ptr<PropertyTargetEasingTimelinePlayback> |
typedef shared_ptr<PropertyTargetInterpolationTimelinePlayback> kanzi::PropertyTargetInterpolationTimelinePlaybackSharedPtr |
typedef shared_ptr<PropertyTargetInterpolator> kanzi::PropertyTargetInterpolatorSharedPtr |
using kanzi::ClickManipulatorComponentSharedPtr = typedef shared_ptr<ClickManipulatorComponent> |
using kanzi::KeyManipulatorComponentSharedPtr = typedef shared_ptr<KeyManipulatorComponent> |
using kanzi::LongPressManipulatorComponentSharedPtr = typedef shared_ptr<LongPressManipulatorComponent> |
using kanzi::MultiClickManipulatorComponentSharedPtr = typedef shared_ptr<MultiClickManipulatorComponent> |
using kanzi::NavigationManipulatorComponentSharedPtr = typedef shared_ptr<NavigationManipulatorComponent> |
using kanzi::PanManipulatorComponentSharedPtr = typedef shared_ptr<PanManipulatorComponent> |
using kanzi::DataTriggerSharedPtr = typedef shared_ptr<DataTrigger> |
typedef shared_ptr<MessageTrigger> kanzi::MessageTriggerSharedPtr |
typedef shared_ptr<OnAttachedTrigger> kanzi::OnAttachedTriggerSharedPtr |
typedef shared_ptr<OnPropertyChangedTrigger> kanzi::OnPropertyChangedTriggerSharedPtr |
typedef shared_ptr<TimerTrigger> kanzi::TimerTriggerSharedPtr |
|
strong |
enum kanzi::LogLevel |
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. |
|
strong |
Message routing modes.
Enumerator | |
---|---|
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). |
MessageRoutingTunnelingBubbling | Identifies both, the tunneling and the bubbling phase. |
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. |
PropertyDataTypeRange | Range data. |
enum kanzi::PropertyField |
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. |
Playback type of the timeline.
enum kanzi::ImageFlipAxis |
|
strong |
|
strong |
Font weight options.
|
strong |
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.
|
strong |
Color Spaces for a surface.
|
strong |
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.
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.
GraphicsFormat specifies format of graphics data used for example in textures and vertex attributes.
enum kanzi::BlendFactor : int8_t |
Blend mode representation.
Allows all possible combinations for a blend mode to be constructed, but also has stock values for most common blend modes. Full blend mode consists of 4 components:
The factors only have 15 different values, which means they require 8 bits each. Equations have only 6 values. This means the complete blend mode setting can be packed into a 32-bit integer. Blend factor.
enum kanzi::BlendEquation : int8_t |
Blend equation.
enum kanzi::BlendComponentBitShift : int8_t |
Blend component bit shifts.
Kanzi uses blend component bit shifts internally.
enum kanzi::BlendSrcColorFactor : int32_t |
Blend factor for source color.
enum kanzi::BlendSrcAlphaFactor : int32_t |
Blend factor for source alpha.
enum kanzi::BlendDstColorFactor : int32_t |
Blend factor for destination color.
enum kanzi::BlendDstAlphaFactor : int32_t |
Blend factor for destination alpha.
enum kanzi::BlendColorEquation : int32_t |
Blend equation for color.
enum kanzi::BlendAlphaEquation : int32_t |
Blend equation for alpha.
Clear target options for renderer.
Renderer stencil modes.
Renderer stencil operations.
List of color write modes.
Enumeration for index buffer primitive type.
enum kanzi::ShaderType |
How GraphicsFormat is used.
Enumerator | |
---|---|
FramebufferAttachmentPointColor0 | Color buffer 0 framebuffer attachment point (OpenGL ES 2 compatible) |
FramebufferAttachmentPointColor1 | Color buffer 1 framebuffer attachment point (Requires OpenGL ES 3) |
FramebufferAttachmentPointColor2 | Color buffer 2 framebuffer attachment point (Requires OpenGL ES 3) |
FramebufferAttachmentPointColor3 | Color buffer 3 framebuffer attachment point (Requires OpenGL ES 3) |
FramebufferAttachmentPointDepthStencil | Depth and stencil framebuffer attachment point. |
FramebufferAttachmentPointCount | Number of attachment points in Framebuffer. |
Framebuffer target selects draw or read framebuffer, or both.
Enumerator | |
---|---|
FramebufferTargetReadAndDraw | Both read and draw framebuffers. |
FramebufferTargetRead | Read framebuffe. |
FramebufferTargetDraw | Draw framebuffer. |
enum kanzi::Multisample |
Multisample support code path in Renderer.
enum kanzi::ProgramBinary |
Program binary support code path in Renderer.
Half float texture support code path in Renderer.
Half float vertex attribute code path in Renderer.
enum kanzi::FloatTexture |
Float texture support code path in Renderer.
enum kanzi::TexStorage |
enum kanzi::DrawBuffers |
Draw multiple buffers support code path in Renderer.
Framebuffer invalidation support code path in Renderer.
Enumerator | |
---|---|
InvalidateFramebufferNone | No support for framebuffer invalidation. |
InvalidateFramebufferARB | Framebuffer invalidation supported using desktop OpenGL. |
InvalidateFramebufferES3 | Framebuffer invalidation supported using OpenGL ES 3. |
InvalidateFramebufferES2Ext | Framebuffer invalidation supported using OpenGL ES 2 multivendor extension. |
enum kanzi::RendererState |
Renderer state enumerations.
Enumerator | |
---|---|
RendererStateDepthTest | Renderer state for depth testing. |
RendererStateCullFace | Renderer state for cull face. |
RendererStateBlend | Renderer state for blending. |
RendererStateDepthWrite | Renderer state for depth write. |
RendererStateStencilTest | Renderer state for stencil test. |
RendererStateStencilWrite | Renderer state for stencil write. |
RendererStateMultisample | Renderer state for multi-sampling. |
RendererStateScissorTest | Renderer state for scissor test. |
RendererStateCoverageWrite | Renderer state for coverage write. |
RendererStateCount | Maximum count of renderer states. |
enum kanzi::FixedMatrix |
List of active matrices renderer keeps track of.
Enumerator | |
---|---|
FixedMatrixProjection | Projection matrix. |
FixedMatrixCamera | Camera matrix. |
FixedMatrixWorld | Current world matrix. |
FixedMatrixCameraWorld | Current camera * world matrix. |
FixedMatrixProjectionCameraWorld | Current projection * camera * world matrix. |
FixedMatrixCount | Maximum amount of matrices. |
List of optionally supported renderer features.
enum kanzi::TextureType |
Texture type.
Specifies the available sphere tessellation types.
RenderTarget mode for Texture.
Rendering to a Texture may require extra resources (such as framebuffer when using OpenGL or OpenGL ES). RenderTargetMode specifies who manages these resources.
Enumerator | |
---|---|
RenderTargetModeNone | When texture has rendertarget mode RenderTargetModeNone, that texture cannot be rendered to. You must not set such texture as render target for 2D nodes. You should not set such texture as render target for renderpasses. |
RenderTargetModeInternal | RenderTargetModeInternal allows texture to be rendered to without externally managed resources. You can set such texture as render target for 2D nodes. You should not set such texture as render target for renderpasses.
|
RenderTargetModeExternal | RenderTargetModeExternal allows texture to be rendered to with externally managed resources. You can set texture as render target for renderpasses. You must not set texture as render target for 2D nodes. When you create texture with renderTargetMode set to RenderTargetModeExternal, an external entity such as renderpass is responsible for creating necessary resources that are required to perform rendering to the texture. |
Enumeration for viewport coordinate unit type (exact pixel coordinates / percentages from window)
|
strong |
Specifies focus scope types.
Enumerator | |
---|---|
NoScope | Removes previously set focus scope data from a Node or focus scope info. Kanzi uses this value internally. |
Group | Focus group groups focusable nodes. You can move the focus to a focus group and out of the focus group. |
Fence | Focus fence keeps the focus navigation inside the scope and does not allow the focus navigation to enter or leave that scope. |
Modal | Modal overlay blocks the key and touch input that originates from outside its boundaries and keeps the focus navigation within the overlay boundaries, just like a focus fence. Every Kanzi application has at least one modal overlay: the Screen node. When input occurs outside the boundaries of a modal focus scope, Kanzi dispatches the FocusManager::InputOutsideOverlayMessage to the focus scope node. |
AutoClosingModal | Auto-closing modal overlay is similar to modal overlay, except that when the overlay is an Activity in a Parallel Activity Host, the Parallel Activity Host deactivates that Activity when input originates from outside the boundaries of that Activity. When input occurs outside the boundaries of an auto-closing modal focus scope, Kanzi dispatches the FocusManager::InputOutsideOverlayMessage to the focus scope node, and suppresses that input. A Parallel Activity Host automatically handles the InputOutsideOverlayMessage message sent by an Activity which is an auto-closing modal overlay. |
Popup | Sets a node to be a popup overlay focus scope.
|
Modeless | Modeless overlay propagates the key and touch input that originates from outside its boundaries, but keeps the focus navigation within the focus scope boundaries, just like a modal overlay. When input occurs outside the boundaries of a modeless focus scope, Kanzi dispatches the FocusManager::InputOutsideOverlayMessage to the focus scope node. |
AutoClosingModeless | Auto-closing modeless overlay is similar to modeless overlay, except that when the overlay is an Activity in a Parallel Activity Host, the Parallel Activity Host deactivates that Activity when input originates from outside the boundaries of that Activity. When input occurs outside the boundaries of an auto-closing modeless focus scope, Kanzi dispatches the FocusManager::InputOutsideOverlayMessage to the focus scope node. A Parallel Activity Host automatically handles the InputOutsideOverlayMessage message sent by an Activity which is an auto-closing modeless overlay. |
|
strong |
Specifies the focus states of a node.
|
strong |
Specifies the reason the node is focused.
Enumerator | |
---|---|
Force | The focus is forced on the node. |
FocusChainNavigation | The focus moves as the result of focus chain navigation. |
Hidden | The focus moves because the Node::VisibleProperty of the node that has the focus is set to false. Kanzi uses this value only in post-focus messages. |
Other | The focus moves by means other than FocusReason::Force, FocusReason::FocusChainNavigation or FocusReason::Hidden.
|
|
strong |
Specifies the directions of focus move.
Enumerator | |
---|---|
Previous | Moves the focus to the previous focusable node. |
Next | Moves the focus to the next focusable node. |
|
strong |
Fallback behavior to follow if node fails to gain focus.
|
strong |
Focus behavior on node press.
|
strong |
|
strong |
Key matching result values.
|
strong |
Specifies the navigation directions supported by the manipulator.
|
strong |
Key navigation directions.
|
strong |
|
strong |
Specifies the available input method actions.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Key modifier flags. You can set more than one modifier at a time for a KeyEvent.
Enumerator | |
---|---|
Undefined | No key modifier is set, or the modifier is undefined. |
CapsLock | Specifies the Caps lock key modifier. |
LeftShift | Specifies the left Shift key modifier. |
RightShift | Specifies the right Shift key modifier. |
LeftControl | Specifies the left Control key modifier. |
RightControl | Specifies the right Control key modifier. |
LeftAlt | Specifies the left Alt key modifier. |
RightAlt | Specifies the right Alt key modifier. |
LeftSuper | Specifies the left Super key modifier.
|
RightSuper | Specifies the right Super key modifier.
|
Shift | Specifies the Shift modifier, used when the operating system does not separate the left and right Shift modifiers. |
Control | Specifies the Control modifier, used when the operating system does not separate the left and right Control modifiers. |
Alt | Specifies the Alt modifier, used when the operating system does not separate the left and right Alt modifiers. |
Super | Specifies the Super modifier, used when the operating system does not separate the left and right Super modifiers.
|
|
strong |
Platform independent key enumeration.
Enumerator | |
---|---|
Unknown | Unknown keys are used for unmapped keys. |
Number0 | Identifies the 0 key. |
Number1 | Identifies the 1 key. |
Number2 | Identifies the 2 key. |
Number3 | Identifies the 3 key. |
Number4 | Identifies the 4 key. |
Number5 | Identifies the 5 key. |
Number6 | Identifies the 6 key. |
Number7 | Identifies the 7 key. |
Number8 | Identifies the 8 key. |
Number9 | Identifies the 9 key. |
Comma | Identifies the comma key. |
Period | Identifies the period key. |
Semicolon | Identifies the semicolon key. |
Pipe | Identifies the pipe key. |
Quote | Identifies the quote key. |
DecimalSeparator | Allows for the key mapping of a locale specific decimal separator. |
ThousandsSeparator | Allows for the key mapping of a locale specific thousands separator. |
A | Identifies the A key. |
B | Identifies the B key. |
C | Identifies the C key. |
D | Identifies the D key. |
E | Identifies the E key. |
F | Identifies the F key. |
G | Identifies the G key. |
H | Identifies the H key. |
I | Identifies the I key. |
J | Identifies the J key. |
K | Identifies the K key. |
L | Identifies the L key. |
M | Identifies the M key. |
N | Identifies the N key. |
O | Identifies the O key. |
P | Identifies the P key. |
Q | Identifies the Q key. |
R | Identifies the R key. |
S | Identifies the S key. |
T | Identifies the T key. |
U | Identifies the U key. |
V | Identifies the V key. |
W | Identifies the W key. |
X | Identifies the X key. |
Y | Identifies the Y key. |
Z | Identifies the Z key. |
Space | Identifies the white-space key. |
Backspace | Identifies the backspace key. |
Enter | Identifies the Enter key. |
Tab | Identifies the Tab key. |
BackTab | Identifies the Back Tab key. |
Escape | Identifies the Escape key. |
CapsLock | Identifies the CapsLock key. |
NumLock | Identifies the NumLock key. |
PrintScreen | Identifies the PrintScreen key. |
ScrollLock | Identifies the ScrollLock key. |
Break | Identifies the Break key. |
Insert | Identifies the Insert key. |
Delete | Identifies the Delete key. |
Home | Identifies the Home key. |
End | Identifies the End key. |
PageUp | Identifies the PageUp key. |
PageDown | Identifies the PageDown key. |
Plus | Identifies the plus key. |
Minus | Identifies the minus key. |
Multiply | Identifies the asterisk key. |
Divide | Identifies the slash key. |
ArrowUp | Identifies the arrow up key. |
ArrowDown | Identifies the arrow down key. |
ArrowLeft | Identifies the arrow left key. |
ArrowRight | Identifies the arrow right key. |
Numpad0 | Identifies the 0 key from the numeric keypad. |
Numpad1 | Identifies the 1 key from the numeric keypad. |
Numpad2 | Identifies the 2 key from the numeric keypad. |
Numpad3 | Identifies the 3 key from the numeric keypad. |
Numpad4 | Identifies the 4 key from the numeric keypad. |
Numpad5 | Identifies the 5 key from the numeric keypad. |
Numpad6 | Identifies the 6 key from the numeric keypad. |
Numpad7 | Identifies the 7 key from the numeric keypad. |
Numpad8 | Identifies the 8 key from the numeric keypad. |
Numpad9 | Identifies the 9 key from the numeric keypad. |
NumpadDivide | Identifies the slash key from the numeric keypad. |
NumpadMultiply | Identifies the asterisk key from the numeric keypad. |
NumpadPlus | Identifies the plus key from the numeric keypad. |
NumpadMinus | Identifies the minus key from the numeric keypad. |
NumpadComma | Identifies the comma key from the numeric keypad. |
NumpadEnter | Identifies the Enter key from the numeric keypad. |
F1 | Identifies the F1 function key. |
F2 | Identifies the F2 function key. |
F3 | Identifies the F3 function key. |
F4 | Identifies the F4 function key. |
F5 | Identifies the F5 function key. |
F6 | Identifies the F6 function key. |
F7 | Identifies the F7 function key. |
F8 | Identifies the F8 function key. |
F9 | Identifies the F9 function key. |
F10 | Identifies the F10 function key. |
F11 | Identifies the F11 function key. |
F12 | Identifies the F12 function key. |
VolumeUp | Identifies the volume up key. |
VolumeDown | Identifies the volume down key. |
Softkey1 | Identifies the first softkey button, typically present on a phone layout. |
Softkey2 | Identifies the second softkey button, typically present on a phone layout. |
Softkey3 | Identifies the third softkey button, typically present on a phone layout. |
Softkey4 | Identifies the fourth softkey button, typically present on a phone layout. |
Shift | Identifies the Shift modifier key. |
Control | Identifies the Control modifier key. |
Alt | Identifies the Alt modifier key. |
Super | Identifies the Super key. You can map Windows key on Windows OS, or Command key on Mac OS to it. |
Menu | Identifies the menu key on keyboards where the key is available. The key is also known as "hamburger button" on Android key layouts. |
LeftAlt | Identifies the left Alt modifier key. |
LeftControl | Identifies the left Control modifier key. |
LeftShift | Identifies the left Shift modifier key. |
LeftSuper | Identifies the left Super key. |
RightAlt | Identifies the right Alt modifier key. |
RightControl | Identifies the right Control modifier key. |
RightShift | Identifies the right Shift modifier key. |
RightSuper | Identifies the right Super key. |
ButtonA | Identifies the A button on game controllers. |
ButtonB | Identifies the B button on game controllers. |
ButtonC | Identifies the C button on game controllers. |
ButtonX | Identifies the X button on game controllers. |
ButtonY | Identifies the Y button on game controllers. |
ButtonZ | Identifies the Z button on game controllers. |
ButtonL1 | Identifies the L1 button on game controllers. |
ButtonL2 | Identifies the L2 button on game controllers. |
ButtonR1 | Identifies the R1 button on game controllers. |
ButtonR2 | Identifies the R2 button on game controllers. |
ButtonSelect | Identifies the select button on game controllers. |
ButtonStart | Identifies the start button on game controllers. |
ButtonThumbL | Identifies the ThumbL button on game controllers. |
ButtonThumbR | Identifies the ThumbR button on game controllers. |
ButtonMode | Identifies the mode button on game controllers. |
Max | Specifies the number of logical key values. When extended, the enum value must be kept as last element of the enumeration. |
|
strong |
|
strong |
|
strong |
Enumeration for the different states of a pointing device.
|
strong |
|
strong |
|
strong |
|
strong |
Echo modes that specify how to format the display text in a TextEditBuffer.
Enumerator | |
---|---|
Normal | The characters are visible. |
NoEcho | The characters are not visible. |
Password | Kanzi masks each character with the character set using TextEditBuffer::setPasswordMaskingCharacter(). |
KZ_NO_DISCARD int kanzi::applyPlatformMmapMode | ( | int | flags | ) |
Apply chosen platform mmapMode strategy to mmap() flags.
Currently only QNX modified flags, but this function is provided to all systems that use mmap() for cohesion.
flags | Flags to apply platform mmapMode to. |
void kanzi::setPlatformMmapMode | ( | MmapMode | mode | ) |
Set mmap() strategy.
mode | mmap() strategy to use. |
bool kanzi::contains | ( | const array< T, Size > & | c, |
const U & | value | ||
) |
|
inline |
T kanzi::prev | ( | T | t, |
D | d | ||
) |
T kanzi::prev | ( | T | t | ) |
T::iterator kanzi::begin | ( | T & | t | ) |
T::iterator kanzi::end | ( | T & | t | ) |
T::reverse_iterator kanzi::rbegin | ( | T & | t | ) |
T::reverse_iterator kanzi::rend | ( | T & | t | ) |
T::const_iterator kanzi::cbegin | ( | T const & | t | ) |
const T* kanzi::cbegin | ( | const T(&) | array[N] | ) |
T::const_iterator kanzi::cend | ( | T const & | t | ) |
const T* kanzi::cend | ( | const T(&) | array[N] | ) |
T::const_reverse_iterator kanzi::crbegin | ( | T const & | t | ) |
T::const_reverse_iterator kanzi::crend | ( | T const & | t | ) |
constexpr auto kanzi::size | ( | const C & | c | ) | -> decltype(c.size()) |
|
noexcept |
|
inline |
Helper function similar to floor, but takes a double and returns a float.
num | Number to round. |
|
inline |
Round float to unsigned integer.
value | Input value to round. |
bool kanzi::operator== | ( | const shared_ptr< T > & | v, |
nullptr_t | |||
) |
bool kanzi::operator== | ( | nullptr_t | , |
const shared_ptr< T > & | v | ||
) |
bool kanzi::operator!= | ( | const shared_ptr< T > & | v, |
nullptr_t | |||
) |
bool kanzi::operator!= | ( | nullptr_t | , |
const shared_ptr< T > & | v | ||
) |
bool kanzi::operator== | ( | const unique_ptr< T > & | v, |
nullptr_t | |||
) |
bool kanzi::operator== | ( | nullptr_t | , |
const unique_ptr< T > & | v | ||
) |
bool kanzi::operator!= | ( | const unique_ptr< T > & | v, |
nullptr_t | |||
) |
bool kanzi::operator!= | ( | nullptr_t | , |
const unique_ptr< T > & | v | ||
) |
shared_ptr<T> kanzi::make_polymorphic_shared_ptr | ( | T * | p | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void kanzi::erase_if | ( | unordered_map< K, T, H, P, A > & | c, |
Predicate | pred | ||
) |
void kanzi::erase | ( | vector< T, A > & | c, |
const U & | value | ||
) |
void kanzi::erase_if | ( | vector< T, A > & | c, |
const U & | predicate | ||
) |
void kanzi::unordered_erase | ( | vector< T, A > & | c, |
typename vector< T, A >::iterator | it | ||
) |
Erases an entry from a vector without preserving the order of other entries.
More efficient than regular erase.
bool kanzi::contains | ( | const vector< T, A > & | c, |
const U & | value | ||
) |
|
inline |
Used by logging system to convert legacy exception type objects to string.
See template logArgumentToString().
KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowJNIError | ( | ) |
|
inline |
Used by logging system to convert legacy exception type objects to string.
See template logArgumentToString().
KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowLegacyError | ( | kzsError | value | ) |
KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowLegacyErrorMessage | ( | kzsError | value, |
kzString | message | ||
) |
KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowLegacyErrorMessage | ( | kzsError | value, |
const string & | message | ||
) |
KZ_ATTRIBUTE_NO_RETURN void kanzi::kzThrowLegacyErrorFormat | ( | kzsError | value, |
kzString | format, | ||
... | |||
) |
string kanzi::kzFormatVariadicLogMessage | ( | kzString | format, |
... | |||
) |
string kanzi::kzFormatVariadicLogMessageList | ( | kzString | format, |
va_list | arguments | ||
) |
string kanzi::readAsText | ( | File & | file | ) |
Loads contents of a file into a string.
file | The file to load. Upon successful return the file offset is set to the end of the file. |
vector<string> kanzi::readAsTextLines | ( | File & | file | ) |
Loads contents of a file into a vector of strings for each line.
file | The file to load. Upon successful return the file offset is set to the end of the file. |
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.
value | The value to be converted to string. |
value
. Calculates component-wise absolute value for all elements and returns the resulting color.
v | Color input. |
Calculates component-wise ceil value for all elements and returns the resulting color.
v | Color input. |
Calculates component-wise floor value for all elements and returns the resulting color.
v | Color input. |
Calculates component-wise rounded value for all elements and returns the resulting color.
v | Color input. |
Calculates component-wise square root all elements and returns the resulting color.
v | Color input. |
Calculates component-wise maximum for all color elements and returns the resulting color.
v1 | The first color. |
v2 | The second color. |
Calculates component-wise minimum for all color elements and returns the resulting color.
v1 | The first color. |
v2 | The second color. |
Multiplies component-wise all color elements and returns the resulting color.
v1 | The first color. |
v2 | The second color. |
Divides component-wise all color elements and returns the resulting color.
v1 | The first color. |
v2 | The second color. |
Calculates component-wise the remainder for all color elements and returns the resulting color.
v1 | The first color. |
v2 | The second color. |
Adds a value to all color elements and returns the resulting color.
v | Color. |
scalar | Value |
Subtracts a value from all color elements and returns the resulting color.
v | Color. |
scalar | Value |
Adds a color and a scalar and returns the sum.
v1 | Left hand side scalar. |
v2 | Right hand side color. |
Adds a color and a scalar and returns the sum.
v1 | Left hand side color. |
v2 | Right hand side scalar. |
Adds two colors and returns the sum.
v1 | Left hand side color. |
v2 | Right hand side color. |
Subtracts two colors and returns the difference.
v1 | Left hand side color. |
v2 | Right hand side color. |
Multiplies all color elements with a scalar and returns the resulting color.
v | A color. |
scalar | A scalar. |
Multiplies all color elements with a scalar and returns the resulting color.
scalar | A scalar. |
v | A color. |
Divides all color elements with a scalar and returns the resulting color.
v | A color. |
scalar | A scalar. |
Negates all color elements and returns the resulting color.
v | A color. |
Unary plus, doesn't do anything and returns the resulting color.
v | A color. |
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.
v1 | Left hand side color. |
v2 | Right hand side color. |
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.
v1 | Left hand side color. |
v2 | Right hand side color. |
Calculates the dot product of two colors.
v1 | The first color. |
v2 | The second color. |
Converts to whole ColorRGBA from sRGB to linear.
cs | Color in sRGB format. |
Converts whole ColorRGBA color from linear to sRGB.
cs | Color in linear format. |
uint16_t kanzi::floatToHalfFloat | ( | float | f | ) |
Converts float to 16 bits representing a half float.
float kanzi::halfFloatToFloat | ( | uint16_t | halfFloatNumber | ) |
Converts 16 bits representing a half float to a float.
|
inline |
Clamps all vector fields between the given minimum and the maximum values.
value | The value vector to clamp. |
minvalue | The vector with lower bounds. |
maxvalue | The vector with upper bounds. The upper bounds must be at least the lower bounds. |
constexpr float kanzi::getCloseToZeroRange | ( | ) |
Returns the largest value of a floating point number which is considered as "almost zero".
|
inline |
Checks if floating point value is too close to zero.
|
inline |
Check whether value is in [min, max] (an interval inclusive of the limit points).
|
inline |
Returns the positive modulo(dividend % divisor) for signed numbers in a way that negative numbers are treated as an extension instead of mirroring compared to positive numbers.
For example, positiveModulo(-16, 5) = 4. Results are undefined if divisor is not greater than zero, hence the assert.
|
inline |
Same as positiveModulo(), but for floating point numbers.
Results are undefined if divisor is not greater than zero, hence the assert.
constexpr float kanzi::degreesToRadians | ( | float | angleInDegrees | ) |
Converts degrees to radians.
constexpr float kanzi::radiansToDegrees | ( | float | angleInRadians | ) |
Converts radians to degrees.
|
inline |
Floating point helper methods.
Check if two IEEE 754 binary32 floats are equal up to a given number of ulps.
|
inline |
Check if two floats are equal up to a given difference.
constexpr bool kanzi::floatIsEqual | ( | float | valueA, |
float | valueB | ||
) |
Check if two floats are equal.
The idea behind this method is to make float comparison notable, as comparing floats for equality is unsafe and prone to bugs.
|
inline |
Check if two floats are approximately equal.
constexpr unsigned int kanzi::floatToUint | ( | float | value | ) |
Casts a float to unsigned int.
Directly casting a negative float to an unsigned int leads to an undefined behavior. Casting the floating point number to a signed integer number first and then to an unsigned integer number. For details refer to: https://stackoverflow.com/questions/50134795/cast-float-to-unsigned-int-in-c-with-gcc.
constexpr int kanzi::step | ( | int | edge, |
int | value | ||
) |
Calculate step for integers.
edge | Edge value. |
value | Value. |
constexpr float kanzi::step | ( | float | edge, |
float | value | ||
) |
Calculate step for floating point values.
edge | Edge value. |
value | Value. |
float kanzi::sRGBToLinear | ( | float | cs | ) |
Conversion from sRGB to linear for default gamma 2.2.
cs | Input color value in sRGB. |
float kanzi::linearTosRGB | ( | float | cl | ) |
Conversion from linear to sRGB for default gamma 2.2.
cl | Input color value in linear. |
tuple<float, float, float> kanzi::sRGBToHSLColor | ( | float | r, |
float | g, | ||
float | b | ||
) |
Converts a color from the sRGB color space to the HSL color space.
Assumes that the values of the red, green, and blue color channels are contained in the set [0, 1].
r | Red. |
g | Green. |
b | Blue. |
tuple<float, float, float> kanzi::hslTosRGBColor | ( | float | h, |
float | s, | ||
float | l | ||
) |
Converts a color from the HSL color space to the sRGB color space.
Assumes that the values of hue, saturation, and lightness are contained in the set [0, 1].
h | Hue. |
s | Saturation. |
l | Lightness. |
Multiplies two matrices and returns the product.
m1 | Left-hand side matrix. |
m2 | Right-hand side matrix. |
Multiplies matrix with vector and returns the product.
m | Left-hand side matrix. |
v | Right-hand side vector. |
Multiplies matrix with vector and returns the product.
m | Left-hand side matrix. |
v | Right-hand side vector. |
Equality operator.
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.
left | Left hand side matrix. |
right | Right hand side matrix. |
Inequality operator.
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.
left | Left hand side matrix. |
right | Right hand side matrix. |
Applies an inversion to a matrix.
matrix | Input matrix. |
Applies an inversion to an affine matrix.
matrix | Input matrix. |
bool kanzi::isTranslationOnly | ( | const Matrix3x3 & | matrix | ) |
Determines whether a matrix is translation-only.
matrix | Input matrix. |
bool kanzi::isScalingOnly | ( | const Matrix3x3 & | matrix | ) |
Determines whether a matrix is scaling-only.
Note: This function allows translation.
matrix | Input matrix. |
bool kanzi::extractSRT | ( | const Matrix3x3 & | matrix, |
Vector2 & | scale, | ||
float & | rotationInRadians, | ||
Vector2 & | translation | ||
) |
Extracts scale, rotation and translation information from a matrix.
matrix | Input matrix. |
scale | Scale vector. |
rotationInRadians | Rotation angle, in radians. |
translation | Translation vector. |
Normalizes the input matrix.
The matrix must be an affine transformation.
Multiply a 2D vector with the top 2x2 part of a given matrix.
matrix | The matrix that you want to multiply with a 2D vector. |
vector | The 2D vector that you want to multiply with a matrix. |
float kanzi::getDeterminant | ( | const Matrix3x3 & | matrix | ) |
Calculates the determinant of the matrix.
float kanzi::getDeterminant2x2 | ( | const Matrix3x3 & | matrix | ) |
Calculates the determinant of the 2X2 part of a matrix.
float kanzi::getTrace | ( | const Matrix3x3 & | matrix | ) |
Calculates the trace of a matrix.
Multiplies two matrices and returns the product.
left | Left-hand side matrix. |
right | Right-hand side matrix. |
Multiplies two affine matrices and returns the product.
left | Left hand side matrix. |
right | Right hand side matrix. |
Orthonormalizes base vectors of the given matrix.
The result is in out_matrix. The orthonormalization is done using the Gram-Schmidt process. Z axis is kept still, then Y is handled, then X. You can use this function to prevent value drift.
matrix | Input matrix. |
Multiplies a 3D vector with the top 3x3 part of a given matrix.
matrix | The matrix that you want to multiply with a 3D vector. |
vector | The 3D vector that you want to multiply with a matrix. |
Applies an inversion to a matrix.
matrix | Input matrix. |
Applies an inversion to an affine matrix.
matrix | Input matrix. |
Applies an inversion to an orthogonal affine matrix.
matrix | Input matrix. |
bool kanzi::isTranslationOnly | ( | const Matrix4x4 & | matrix | ) |
Returns whether a matrix is translation-only.
matrix | Input matrix. |
bool kanzi::extractSRT | ( | const Matrix4x4 & | matrix, |
Vector3 & | scale, | ||
Vector3 & | rotationInRadians, | ||
Vector3 & | translation | ||
) |
Extracts from a matrix the scale, rotation, and translation information.
matrix | Input matrix. |
scale | Scale vector. |
rotationInRadians | Rotation vector, rotation angle in radians. |
translation | Translation vector. |
Extracts the 3x3 rotation and scaling part of a matrix.
Normalizes base vectors of a matrix.
The matrix must be an affine transformation.
float kanzi::getDeterminant | ( | const Matrix4x4 & | matrix | ) |
Calculates the determinant of a matrix.
matrix | The matrix for which you want to return the determinant. |
float kanzi::getDeterminant3x3 | ( | const Matrix4x4 & | matrix | ) |
Calculates the determinant of the 3x3 part of a matrix.
matrix | The matrix for which you want to return the determinant. |
float kanzi::getTrace | ( | const Matrix4x4 & | matrix | ) |
Calculates the trace of a matrix.
Matrix4x4 kanzi::createRelativeOrthogonalProjection | ( | float | near, |
float | far, | ||
Matrix4x4::FieldOfViewType | fovType, | ||
float | orthoSize, | ||
float | aspectRatio | ||
) |
Creates an orthogonal projection matrix for a symmetrical viewing volume.
near | Camera near value. |
far | Camera far value. |
fovType | Tells whether the orthoSize parameter is the width or height of the viewing box. |
orthoSize | Specifies the size of the viewing box (either width of height). |
aspectRatio | Specifies the aspect ratio of the viewing box. |
Calculates a homogeneous camera view position that you can use to calculate the view direction in a shader.
For orthogonal projections the w-component of the viewpoint is 0 to indicate that the viewpoint is at infinity.
projectionCameraMatrix | The matrix to use for calculating the viewpoint. |
Box kanzi::calculateWorldSpaceAABB | ( | const OrientedBoundingBox & | orientedBoundingBox | ) |
Gets a minimum size world space axis-aligned bounding box that encloses this transformed box.
orientedBoundingBox | The transformed box. |
optional<PlaneRayIntersection> kanzi::planeIntersectRay | ( | const Plane & | plane, |
const Ray & | ray, | ||
const float | parallelTolerance | ||
) |
Tests whether a plane intersects with the given ray, and returns the point of intersection and the distance of the intersection from the origin of a plane.
The method checks the parallelness between a plane and a ray using a tolerance value. If the tolerance test does not pass, the output values are filled with NaNs and the method returns false.
plane | The plane that you want to check for intersection. |
ray | The ray that you want to check for intersection. |
parallelTolerance | The tolerance value to check the parallelness. |
optional<PlanePlaneIntersection> kanzi::planeIntersectPlane | ( | const Plane & | plane1, |
const Plane & | plane2, | ||
float | parallelTolerance | ||
) |
Checks whether two planes intersect and returns a point and direction vector for the line of intersection.
The planes do not have to be normalized. The method uses a tolerance value to check whether the planes are parallel. If the tolerance test does not pass, the method returns nullopt.
plane1 | The first plane to use for the intersection calculation. |
plane2 | The second plane to use for the intersection calculation. |
parallelTolerance | The tolerance value for checking the parallelism. |
|
inline |
Multiplies quaternion components component-wise and returns the resulting quaternion.
q1 | The first quaternion. |
q2 | The second quaternion. |
|
inline |
Calculates the dot product of two quaternions.
q1 | The first quaternion. |
q2 | The second quaternion. |
|
inline |
Equality comparison operator, compares if two quaternions are exactly equal.
Use this to compare if two quaternions are exactly the same, not good for rotation equality comparisons, as does not take floating point rounding errors into account.
q1 | First quaternion. |
q2 | Second quaternion. |
|
inline |
Inequality comparison operator, compares if two quaternions are exactly not equal.
Use this to compare if two quaternions are not exactly the same. Not good for rotation equality comparisons, as does not take floating point rounding errors into account.
q1 | First quaternion. |
q2 | Second quaternion. |
|
inline |
Returns an inverse quaternion for a quaternion.
q | Quaternion to invert. |
Quaternion kanzi::operator* | ( | const Quaternion & | q1, |
const Quaternion & | q2 | ||
) |
Multiplies two quaternions.
You can combine a quaternion rotations by multiplying them: rotating a vector v by quaternion q1 * q2 is the same as rotating the vector first by q2 and then by q1.
q1 | First quaternion. |
q2 | Second quaternion. |
Vector3 kanzi::rotateVector | ( | const Quaternion & | quaternion, |
Vector3 | vector | ||
) |
Applies quaternion rotation to a vector.
Calculates q * v * q.conjugated(), for a quaternion q and a vector v.
quaternion | Quaternion rotation. |
vector | Vector that you want to rotate. |
Matrix4x4 kanzi::quaternionToMatrix4x4 | ( | const Quaternion & | quaternion | ) |
Converts a quaternion rotation to a 4x4 rotation matrix.
quaternion | Quaternion rotation. |
Quaternion kanzi::matrix4x4ToQuaternion | ( | const Matrix4x4 & | matrix | ) |
Creates a quaternion from Matrix4x4.
Extracts and calculates the quaternion components from passed in Matrix4x4. Use this when you already have the rotation stored in a 4x4 matrix and want to extract the rotation angles to a quaternion.
matrix | Matrix4x4 from which to extract and calculate the quaternion components. |
Vector3 kanzi::calculateEulerAngles | ( | const Quaternion & | quaternion | ) |
Calculates Euler angles from a quaternion.
Kanzi Engine represents Euler angles as Tait-Bryan angles where the rotations are applied in the order x, y, and z.
Quaternion kanzi::quaternionSlerp | ( | const Quaternion & | q1, |
const Quaternion & | q2, | ||
float | interpolationTime | ||
) |
Applies spherical linear interpolation (slerp) to two quaternions using the shortest path.
Use this to evaluate interpolation between two rotations at given interpolation time. Takes the shortest path of interpolation between two degrees, which amounts to maximum of 180 degrees of rotation in any direction.
q1 | First quaternion. |
q2 | Second quaternion. |
interpolationTime | Interpolation parameter in range [0 .. 1]. |
Quaternion kanzi::quaternionSlerpLongerPath | ( | const Quaternion & | q1, |
const Quaternion & | q2, | ||
float | interpolationTime | ||
) |
Applies spherical linear interpolation (slerp) to two quaternion using the longer path.
Use this to evaluate interpolation between two rotations at given interpolation time. Takes the longer path to the result. Interpolates the whole angle difference between the two quaternion rotations. For example, from 0 to 270 rotates the whole 270 degrees.
q1 | First quaternion. |
q2 | Second quaternion. |
interpolationTime | Interpolation parameter in range [0 .. 1]. |
RayBoxIntersection kanzi::rayIntersectBox | ( | const Ray & | ray, |
const Box & | box, | ||
const Matrix4x4 & | boxOrientation | ||
) |
Tests whether a ray intersects with a bounding box and returns the distance.
ray | The ray that you want to trace. |
box | The bounding box on which the method traces the ray. |
boxOrientation | The orientation of the bounding box. |
RayBoxIntersection kanzi::rayIntersectBox | ( | const Ray & | ray, |
const Vector3 | minCorner, | ||
const Vector3 | maxCorner, | ||
const Matrix4x4 & | boxOrientation | ||
) |
Tests whether a ray intersects with a bounding box and returns the distance.
ray | The ray that you want to trace. |
minCorner | The minimum corner of a minimum bounding box. |
maxCorner | The maximum corner of a minimum bounding box. |
boxOrientation | The orientation of the bounding box. |
RayBoxIntersection kanzi::rayIntersectBoxBackface | ( | const Ray & | ray, |
const Box & | box, | ||
const Matrix4x4 & | boxOrientation | ||
) |
Tests whether a ray intersects with the back faces of a bounding box and returns the distance.
ray | The ray that you want to trace. |
box | The bounding box on which the method traces the ray. |
boxOrientation | The orientation of the bounding box. |
RayBoxIntersection kanzi::rayIntersectBoxBackface | ( | const Ray & | ray, |
const Vector3 | minCorner, | ||
const Vector3 | maxCorner, | ||
const Matrix4x4 & | boxOrientation | ||
) |
Tests whether a ray intersects with the back faces of a bounding box and returns the distance.
ray | The ray that you want to trace. |
minCorner | The minimum corner of a minimum bounding box. |
maxCorner | The maximum corner of a minimum bounding box. |
boxOrientation | Bounding Box's orientation. |
optional<float> kanzi::rayIntersectSphere | ( | const Ray & | ray, |
const Vector3 | spherePosition, | ||
const float | sphereRadius | ||
) |
Tests whether a ray intersects with a sphere and returns the distance.
ray | The ray that you want to trace. |
spherePosition | The position of the sphere. |
sphereRadius | The radius of the sphere. |
optional<float> kanzi::rayIntersectCylinder | ( | const Ray & | ray, |
const float | cylinderRadius, | ||
const float | cylinderHeight, | ||
const Vector3 | cylinderAxis, | ||
const Matrix4x4 & | cylinderTransform | ||
) |
Tests whether a ray intersects with a cylinder aligned on the given unit-axis (within range [-height/2, height/2]).
The method first transforms the cylinder with the given transformation matrix.
ray | The ray that you want to trace. |
cylinderRadius | The radius of the cylinder. |
cylinderHeight | The height of the cylinder. |
cylinderAxis | The axis of the cylinder. |
cylinderTransform | The transformation matrix of the cylinder. |
Rectangle<T> kanzi::intersection | ( | const Rectangle< T > & | rectangle1, |
const Rectangle< T > & | rectangle2 | ||
) |
Calculates intersection of the two rectangles.
rectangle1 | First rectangle. |
rectangle2 | Second rectangle. |
Rectangle<T> kanzi::getUnion | ( | const Rectangle< T > & | rectangle1, |
const Rectangle< T > & | rectangle2 | ||
) |
Calculates union of the two rectangles.
rectangle1 | First rectangle. |
rectangle2 | Second rectangle. |
bool kanzi::overlaps | ( | const Rectangle< T > & | rectangle1, |
const Rectangle< T > & | rectangle2 | ||
) |
Checks if the two given rectangles overlap, at least partially.
rectangle1 | First rectangle. |
rectangle2 | Second rectangle. |
Calculates component-wise absolute value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise ceil value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise floor value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise rounded value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise square root all elements and returns resulting vector.
v | Vector input. |
Calculates the component-wise maximum for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Calculates the component-wise minimum for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Multiplies all vector elements component-wise and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Divides all vector elements component-wise and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Calculates component-wise the remainder for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Adds a value to all elements of a vector and returns the result.
v | A vector. |
scalar | A scalar. |
Subtracts a value from all elements of a vector and returns the result.
v | A vector. |
scalar | A scalar. |
Returns whether each component of the first vector is less than the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is less than or equal to the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is greater than the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is greater than or equal to the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Adds a scalar and a vector and returns the sum.
v1 | Left hand side scalar. |
v2 | Right hand side vector. |
Adds a vector and a scalar and returns the sum.
v1 | Left hand side vector. |
v2 | Right hand side scalar. |
Adds two vectors and returns the sum.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Subtracts two vectors and returns the difference.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Multiplies all vector elements with a scalar and returns the resulting vector.
v | A vector. |
scalar | A scalar. |
Multiplies all vector elements with a scalar and returns the resulting vector.
scalar | A scalar. |
v | A vector. |
Divides all vector elements with a scalar and returns the resulting vector.
v | A vector. |
scalar | A scalar. |
Negates all vector elements and returns the resulting vector.
v | A vector. |
Unary plus, doesn't do anything and returns the resulting vector.
v | A vector. |
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.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
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.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Calculates the dot product of two vectors.
v1 | The first vector. |
v2 | The second vector. |
Calculates pseudo-cross product of two 2D vectors.
U x V = Uy * Vx - Ux * Vy.
left | The first vector. |
right | The second vector. |
|
inline |
Overloading of std::isfinite for kanzi::Vector2.
vec | Vector2 value. |
Calculates component-wise absolute value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise ceil value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise floor value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise rounded value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise square root all elements and returns resulting vector.
v | Vector input. |
Calculates the component-wise maximum for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Calculates the component-wise minimum for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Multiplies component-wise all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Divides component-wise all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Calculates component-wise the remainder for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Adds a value to all elements of a vector and returns the result.
v | A vector. |
scalar | A scalar. |
Subtracts a value from all elements of a vector and returns the result.
v | A vector. |
scalar | A scalar. |
Returns whether each component of the first vector is less than the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is less than or equal to the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is greater than the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is greater than or equal to the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Adds a scalar and a vector and returns the sum.
v1 | Left hand side scalar. |
v2 | Right hand side vector. |
Adds a vector and a scalar and returns the sum.
v1 | Left hand side vector. |
v2 | Right hand side scalar. |
Adds two vectors and returns the sum.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Subtracts two vectors and returns the difference.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Multiplies all vector elements with a scalar and returns the resulting vector.
v | A vector. |
scalar | A scalar. |
Multiplies all vector elements with a scalar and returns the resulting vector.
scalar | A scalar. |
v | A vector. |
Divides all vector elements with a scalar and returns the resulting vector.
v | A vector. |
scalar | A scalar. |
Negates all vector elements and returns the resulting vector.
v | A vector. |
Unary plus, doesn't do anything and returns the resulting vector.
v | A vector. |
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.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
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.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Calculates the dot product of two vectors.
v1 | The first vector. |
v2 | The second vector. |
Calculates the cross product of two vectors.
v1 | The first vector. |
v2 | The second vector. |
Finds a vector that is orthogonal to the given vector.
v | Source vector. Length must be 1. |
Converts a Vector3 from HSL color space to sRGB color space.
Since the conversion does not take the alpha channel into account, it is possible to interpret the returned Vector3 as the red, green, and blue components.
vec | Vector3 that represents a color in the HSL color space. |
Converts a Vector3 from sRGB color space to HSL color space.
Since the conversion does not take the alpha channel into account, it is possible to interpret the returned Vector3 as the hue, saturation, and lightness components.
vec | Vector3 that represents a color in the sRGB color space. |
Calculates component-wise absolute value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise ceil value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise floor value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise rounded value for all elements and returns resulting vector.
v | Vector input. |
Calculates component-wise square root all elements and returns resulting vector.
v | Vector input. |
Calculates the component-wise maximum for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Calculates the component-wise minimum for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Multiplies component-wise all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Divides component-wise all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Calculates component-wise the remainder for all vector elements and returns the resulting vector.
v1 | The first vector. |
v2 | The second vector. |
Adds a value to all elements of a vector and returns the result.
v | A vector. |
scalar | A scalar. |
Subtracts a value from all elements of a vector and returns the result.
v | A vector. |
scalar | A scalar. |
Returns whether each component of the first vector is less than the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is less than or equal to the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is greater than the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Returns whether each component of the first vector is greater than or equal to the corresponding component of the second vector.
a | First vector. |
b | Second vector. |
Adds a scalar and a vector and returns the sum.
v1 | Left hand side scalar. |
v2 | Right hand side vector. |
Adds a vector and a scalar and returns the sum.
v1 | Left hand side vector. |
v2 | Right hand side scalar. |
Adds two vectors and returns the sum.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Subtracts two vectors and returns the difference.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Multiplies all vector elements with a scalar and returns the resulting vector.
v | A vector. |
scalar | A scalar. |
Multiplies all vector elements with a scalar and returns the resulting vector.
scalar | A scalar. |
v | A vector. |
Divides all vector elements with a scalar and returns the resulting vector.
v | A vector. |
scalar | A scalar. |
Negates all vector elements and returns the resulting vector.
v | A vector. |
Unary plus, doesn't do anything and returns the resulting vector.
v | A vector. |
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.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
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.
v1 | Left hand side vector. |
v2 | Right hand side vector. |
Calculates the dot product of two vectors.
v1 | The first vector. |
v2 | The second vector. |
Calculates the cross product of two vectors.
v1 | The first vector. |
v2 | The second vector. |
Converts a Vector4 from RGBA color space to HSLA color space.
The function passes the value of the alpha channel as is.
vec | Vector4 that represents the red, green, blue, and alpha values of the color. |
Converts a Vector4 from HSLA color space to RGBA color space.
The function passes the value of the alpha channel as is.
vec | Vector4 that represents the hue, saturation, lightness, and alpha values of the color. |
void kanzi::registerMetaclass | ( | ObjectFactory & | objectFactory | ) |
void kanzi::overrideMetaclass | ( | ObjectFactory & | objectFactory | ) |
wstring kanzi::convertUTF8ToWideChar | ( | string_view | utf8 | ) |
Converts a given UTF-8 string view into a Win32-compatible wide character string.
utf8 | String to convert. Must be UTF-8. |
string kanzi::convertWideCharToUTF8 | ( | wstring_view | wchar | ) |
Converts a given Win32-compatible wide character string view into a UTF-8 string.
wchar | Wide character string to convert. |
|
inline |
|
inline |
|
inline |
|
inline |
timespec kanzi::durationToTimespec | ( | chrono::nanoseconds | duration | ) |
Converts C++ nanoseconds to POSIX native nanosecond format.
timeval kanzi::durationToTimeval | ( | chrono::microseconds | duration | ) |
Converts C++ microsecond to POSIX native microsecond format.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
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.
splitString(string("123;456;"), ";") returns vector of strings: { "123", "456", "" }
source | The string that will be split. |
delimiter | The delimiter that is used for splitting. |
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.
splitString(string_view("123;456;"), ";") returns vector of string views: { "123", "456", "" }
source | The string view that will be split. |
delimiter | The delimiter that is used for splitting. |
unsigned char kanzi::toLower | ( | unsigned char | ch | ) |
Wrapper for tolower() that returns unsigned char.
string_view kanzi::trim | ( | string_view | input | ) |
boost::trim() implementation for string_view.
Use this function to remove all leading and trailing spaces from an input string. Kanzi modifies the input sequence in-place.
input | The string to trim. |
|
inline |
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.
first | First interval. |
second | Second interval. |
T kanzi::animationInterpolate | ( | const T & | from, |
const T & | to, | ||
float | phase | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
T kanzi::animationConcatenate | ( | const T & | lhs, |
const T & | rhs | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
void kanzi::registerTimelineLoaders | ( | ObjectLoader & | objectLoader | ) |
Registers loaders for build-in timeline types.
Timeline::DirectionBehavior kanzi::convert | ( | KzuTimeLineEntryPlaybackMode | mode | ) |
KzuTimeLineEntryPlaybackMode kanzi::convert | ( | Timeline::DirectionBehavior | behavior | ) |
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.
applicationProperties | Application properties where loaded property values are written. |
configurationFilePath | Path to configuration file. |
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.
applicationProperties | Application properties where loaded property values are written. |
systemProperties | System properties where to read property values from. |
void kanzi::loadSettings | ( | ApplicationProperties & | applicationProperties, |
const string_view | configurationFilePath, | ||
const SystemProperties & | systemProperties | ||
) |
Loads all properties, prioritizing command line parameters over configuration file parameters.
applicationProperties | Application properties where loaded property values are written. |
configurationFilePath | Path to configuration file. |
systemProperties | System properties where to read property values from. |
T kanzi::parseValue | ( | const SystemConfiguration & | configuration, |
const string & | key, | ||
T | defaultValue | ||
) |
int kanzi::parseValue | ( | const SystemConfiguration & | configuration, |
const string & | key, | ||
int | defaultValue | ||
) |
optional<int> kanzi::parseValue | ( | const SystemConfiguration & | configuration, |
const string & | key, | ||
optional< int > | defaultValue | ||
) |
unsigned int kanzi::parseValue | ( | const SystemConfiguration & | configuration, |
const string & | key, | ||
unsigned int | defaultValue | ||
) |
string kanzi::parseValue | ( | const SystemConfiguration & | configuration, |
const string & | key, | ||
string | defaultValue | ||
) |
SurfaceColorSpace kanzi::parseValue | ( | const SystemConfiguration & | configuration, |
const string & | key, | ||
SurfaceColorSpace | defaultValue | ||
) |
void kanzi::appendSkipSystemInitialization | ( | SystemProperties & | systemProperties | ) |
Adds "-nosysinit" to the end of the system properties.
systemProperties | System properties where skip system initialization property is added. |
bool kanzi::hasSkipSystemInitialization | ( | const SystemProperties & | systemProperties | ) |
Checks whether one of the parameters is "-nosysinit".
systemProperties | System properties where to look for the property. |
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.
systemProperties | System properties where to look for the argument. |
defaultConfigurationName | Default configuration name which is returned if config argument is not found. |
bool kanzi::hasToken | ( | const SystemProperties & | systemProperties, |
string_view | token | ||
) |
Checks if system properties contain specified token.
systemProperties | System properties where to look for the token. |
token | Token name. |
size_t kanzi::getRuntimeAssetDataSize | ( | ) |
Gets size of runtime asset data.
const byte* kanzi::getRuntimeAssetData | ( | ) |
Gets runtime asset data.
void kanzi::registerRuntimeAssets | ( | Domain * | domain | ) |
Registers build-in runtime assets in resource manager of domain so they can be acquired at runtime.
domain | The domain where to register runtime assets. |
AbstractBindingRuntimeSharedPtr kanzi::setBindingToBindingHost | ( | HostType & | bindingHost, |
TemplateSharedPtrType | templateRoot, | ||
AbstractBindingSharedPtr | binding, | ||
AbstractPropertyType | propertyType, | ||
optional< PropertyValuePrecedence > | precedence, | ||
PropertyField | field | ||
) |
Helper function to set bindings to binding hosts.
bindingHost | Binding host to set the binding to. |
templateRoot | Template root for setting the binding. |
binding | The binding to set. |
propertyType | Target property type. |
precedence | Optional precedence value. |
field | Target property field. |
|
inline |
Resolve data type for a reading or writing.
propertyType | Target property type. |
field | Target property field. |
bool kanzi::bindingWriteObjectProperty | ( | PropertyObjectSharedPtr | object, |
const Variant & | value, | ||
AbstractPropertyType | propertyType, | ||
PropertyField | field | ||
) |
Writes an object property.
object | Object to write to. |
value | Value to write. |
propertyType | Target property type. |
field | Target property field. |
Variant kanzi::createDataObjectVariant | ( | const T & | value | ) |
|
inline |
createDataObjectVariant() overload.
bool kanzi::isValid | ( | GraphicsFormat | format | ) |
Indicates whether format is valid.
format | graphics format to query. |
unsigned int kanzi::getBitsPerBlock | ( | GraphicsFormat | format | ) |
Returns number of bits per block of the specified format.
format | Graphics format to query. |
unsigned int kanzi::getBytesPerBlock | ( | GraphicsFormat | format | ) |
Returns number of bytes per block of the specified format.
format | Graphics format to query. |
bool kanzi::isCompressed | ( | GraphicsFormat | format | ) |
Indicates whether format is compressed format or not.
format | graphics format to query. |
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.
format | Format for which fallback format is queried. |
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 |
format2 | Second format |
GraphicsFormat kanzi::getSRGBFormat | ( | GraphicsFormat | format | ) |
Returns an sRGB format that is compatible with the provided format.
format | Format for which sRGB format is queried. |
GraphicsDataType kanzi::getDataType | ( | GraphicsFormat | format | ) |
Returns data type of the format.
format | Format to query. |
unsigned int kanzi::getChannelCount | ( | GraphicsFormat | format | ) |
Returns number of unique color channels of the format.
format | Format to query. |
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.
width | Width of image. |
height | Height of image. |
format | Format of image. |
bool kanzi::hasColor | ( | GraphicsFormat | format | ) |
Indicates whether given format has one more more color channels.
Red, green, blue, and luminance are considered color channels.
format | Format to query. |
bool kanzi::hasAlpha | ( | GraphicsFormat | format | ) |
Indicates whether given format has alpha channel.
format | Format to query. |
bool kanzi::hasDepth | ( | GraphicsFormat | format | ) |
Indicates whether given format has depth channel.
format | Format to query. |
bool kanzi::hasStencil | ( | GraphicsFormat | format | ) |
Indicates whether given format has stencil channel.
format | Format to query. |
bool kanzi::hasAliasedChannel | ( | GraphicsFormat | format | ) |
Indicates whether given format has an aliased color channel.
format | Format to query. |
unsigned int kanzi::getBitCount | ( | GraphicsDataType | dataType | ) |
Return number of bits per one element of data type.
For GraphicsDataTypeNone, 0 is returned.
dataType | Data type to query. |
unsigned int kanzi::getBitCount | ( | GraphicsDataType | dataType, |
unsigned int | componentCount | ||
) |
Return number of bits per one element of data type.
For GraphicsDataTypeNone, 0 is returned.
dataType | Data type to query. |
componentCount | Number 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. |
unsigned int kanzi::getByteCount | ( | GraphicsDataType | dataType | ) |
Return number of bytes per one element of data type.
dataType | Data type to query. |
bool kanzi::isPacked | ( | GraphicsDataType | dataType | ) |
Indicates whether given data type is packed or not.
dataType | Data type to query. |
unsigned int kanzi::getByteCount | ( | GraphicsDataType | dataType, |
unsigned int | dimension | ||
) |
Returns number of bytes for graphics data.
dataType | Data type for elements. |
dimension | Number of components in one element. Ignored if dataType is packed. |
FixedString kanzi::toFixedString | ( | GraphicsDataType | dataType | ) |
Returns human readable string for GraphicsDataType.
dataType | Data type to query. |
FixedString kanzi::toFixedString | ( | GraphicsFormat | format | ) |
Returns human readable string for GraphicsFormat.
format | Format to query. |
optional<GraphicsFormat> kanzi::findGraphicsFormatByName | ( | string_view | formatName | ) |
Returns GraphicsFormat given its name as a human readable string.
formatName | Name of the format. |
GraphicsFormat kanzi::getDefaultGraphicsFormatForColorSpace | ( | SurfaceColorSpace | space | ) |
Gets the default graphics format to represent a given surface color space.
space | A Surface color space |
GraphicsOutputSharedPtr kanzi::makeLegacyGraphicsOutput | ( | const struct KzsSurfaceProperties * | surfaceProperties, |
const NativeWindowProperties * | windowProperties | ||
) |
Creates a legacy graphics output.
surfaceProperties | Properties for the rendering surface. |
windowProperties | Properties for the window. |
GraphicsOutputSharedPtr kanzi::makeDefaultGraphicsOutput | ( | const SystemConfiguration & | configuration | ) |
Creates a platform-specific graphics output.
configuration | Platform-specific configuration parameters. See your platform documentation for details. |
bool kanzi::logGraphicsFormats | ( | const SystemProperties & | systemProperties | ) |
Searches system properties for the parameter "--list-formats".
If found, lists all possible graphics formats by ID into the log in CSV format.
systemProperties | System properties to search. |
|
inline |
Merge two composition requirements together.
In the combined requirement, all bits that are set in either one are set.
lhs | Left-hand-side requirements. |
rhs | Right-hand-side requirements. |
GeometrySharedPtr kanzi::getUnitQuadGeometry | ( | Domain * | domain | ) |
Gets a shared instance that contains shared unit quad geometry.
Vertices and texture coordinates of the unit quad geometry span from 0,0 to 1,1.
Do not modify the geometry instance, since the instance is shared globally within the same domain.
domain | Domain to use. |
bool kanzi::isCompatibleWithUnitQuadGeometry | ( | const QuadDescription & | quadDescription, |
Vector2 | tiling | ||
) |
Determines whether the given quad description and tiling are compatible with unit quad geometry.
quadDescription | Quad description to check. |
tiling | Tiling multipliers. |
Matrix3x3 kanzi::getUnitQuadTargetTransformation | ( | const RectangleFloat & | targetRectangle | ) |
Gets the 3x3 transformation that maps the unit quad geometry to the target rectangle.
targetRectangle | Target rectangle for the quad geometry. |
Gets the 3x3 transformation that maps the unit quad geometry to the target offset and size.
offset | Target rectangle offset. |
size | Target rectangle size. |
Matrix3x3 kanzi::applyGeometryTargetRectangle | ( | const Matrix3x3 & | transformation, |
const RectangleFloat & | targetRectangle | ||
) |
Applies offset and size of the target rectangle to 3x3 transformation.
Kanzi applies the offset and size of the target rectangle such that it is possible to use a unit quad in place of a custom quad, if otherwise compatible. See kanzi::isCompatibleWithUnitQuadGeometry.
transformation | Transformation to which to apply the offset and size. |
targetRectangle | Target rectangle for the quad geometry. |
Matrix4x4 kanzi::applyGeometryTargetRectangle | ( | const Matrix4x4 & | transformation, |
const RectangleFloat & | targetRectangle | ||
) |
Applies offset and size of the target rectangle to 4x4 transformation.
Kanzi applies the offset and size of the target rectangle such that it is possible to use a unit quad in place of a custom quad, if otherwise compatible. See kanzi::isCompatibleWithUnitQuadGeometry.
transformation | Transformation to which to apply the offset and size. |
targetRectangle | Target rectangle for the quad geometry. |
|
inline |
Applies offset and size to 3x3 transformation.
Kanzi applies the offset and size such that it is possible to use a unit quad in place of a custom quad, if otherwise compatible. See kanzi::isCompatibleWithUnitQuadGeometry.
transformation | Transformation to which to apply the offset and size. |
offset | Target rectangle offset. |
size | Target rectangle size. |
|
inline |
Applies offset and size of the target rectangle to 4x4 transformation.
Kanzi applies the offset and size such that it is possible to use a unit quad in place of a custom quad, if otherwise compatible. See kanzi::isCompatibleWithUnitQuadGeometry.
transformation | Transformation to which to apply the offset and size. |
offset | Target rectangle offset. |
size | Target rectangle size. |
FixedString kanzi::toFixedString | ( | Sampler::Filter | filter | ) |
FixedString kanzi::toFixedString | ( | Sampler::MipmapMode | mipmapMode | ) |
|
inline |
Texture::CreateInfo kanzi::loadTextureCreateInfo | ( | Domain * | domain, |
KzbFile & | kzbFile, | ||
ReadOnlyMemoryFile & | file, | ||
KzbMemoryParser & | parser | ||
) |
FixedString kanzi::getVerboseDescription | ( | Texture::CreateInfo::Status | status | ) |
Returns human readable description for CreateInfo status.
status | Status |
BitmapImageUniquePtr kanzi::loadImage | ( | Domain * | domain, |
string_view | imageUrl, | ||
bool | isInCubemap | ||
) |
Loads an image from KZB file.
domain | Domain. |
imageUrl | URL of the image. |
isInCubemap | Whether the loaded image will be used as a cubemap face. |
Light::Type kanzi::getLightTypeForCollectionName | ( | string_view | collectionName, |
AbstractPropertyType | propertyType, | ||
string_view | renderValueName | ||
) |
Returns the light type based on the collection name or, if collection name is empty, on the property type.
collectionName | Name of the light type. |
propertyType | Property type for which to get the light type. |
renderValueName | Name of the render value. |
bool kanzi::getInvalidLightValue | ( | Variant & | value, |
AbstractPropertyType | propertyType | ||
) |
Gets an 'invalid' value for a light that does not exist.
This value does not affect rendering.
value | Target variant to store the invalid value to. |
propertyType | Property type to get the value for. |
constexpr BlendFactor kanzi::getSrcColorFactor | ( | int | blendMode | ) |
Gets the source color factor.
constexpr BlendFactor kanzi::getSrcAlphaFactor | ( | int | blendMode | ) |
Gets the source alpha factor.
constexpr BlendFactor kanzi::getDstColorFactor | ( | int | blendMode | ) |
Gets the destination color factor.
constexpr BlendFactor kanzi::getDstAlphaFactor | ( | int | blendMode | ) |
Gets the destination alpha factor.
constexpr BlendEquation kanzi::getBlendEquationColor | ( | int | blendMode | ) |
Gets the color blend equation.
constexpr BlendEquation kanzi::getBlendEquationAlpha | ( | int | blendMode | ) |
Gets the alpha blend equation.
constexpr bool kanzi::isOpaquableBlendMode | ( | int | blendMode | ) |
Indicates whether a blend mode can be rendered as opaque as substitute for clearing.
|
inline |
Returns the stride of a given index type.
|
inline |
Tell if multisample support is of implicit type.
Implicit multisample does not require a separate resolve and does not have explicitly accessible samples.
multisampleSupport | Multisample support. |
unsigned int kanzi::getFaceCount | ( | TextureType | type | ) |
|
inline |
|
inline |
|
inline |
optional<VertexAttribute::Semantic> kanzi::toVertexAttributeSemantic | ( | unsigned int | kzbVertexAttributeSemantic | ) |
Converts KZB vertex attribute semantic to runtime VertexAttribute::Semantic.
kzbVertexAttributeSemantic | KZB vertex attribute semantic value. |
FixedString kanzi::toFixedString | ( | VertexAttribute::Semantic | semantic | ) |
Returns human readable string for semantic.
semantic | Vertex attribute semantic. |
|
inline |
|
inline |
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.
createInfo | Mesh create info to edit. |
vertexIndex | Vertex to modify. |
attributeIndex | Vertex attribute to modify. |
component | Index of attribute component to modify. |
v | Value for vertex attribute component. |
void kanzi::writeVertexAttribute | ( | Mesh::CreateInfo & | createInfo, |
size_t | vertexIndex, | ||
size_t | attributeIndex, | ||
float | v | ||
) |
Writes one float attribute value to vertex data.
createInfo | Mesh create info to edit. |
vertexIndex | Vertex to modify. |
attributeIndex | Vertex attribute to modify. |
v | Value for vertex attribute. |
void kanzi::writeVertexAttribute | ( | Mesh::CreateInfo & | createInfo, |
size_t | vertexIndex, | ||
size_t | attributeIndex, | ||
Vector2 | v | ||
) |
void kanzi::writeVertexAttribute | ( | Mesh::CreateInfo & | createInfo, |
size_t | vertexIndex, | ||
size_t | attributeIndex, | ||
Vector3 | v | ||
) |
void kanzi::writeVertexAttribute | ( | Mesh::CreateInfo & | createInfo, |
size_t | vertexIndex, | ||
size_t | attributeIndex, | ||
Vector4 | v | ||
) |
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.
createInfo | Mesh create info to read. |
vertexIndex | Vertex to read. |
attributeIndex | Vertex attribute to read. |
component | Index of attribute component to read. |
float kanzi::readVertexAttributeFloat | ( | const Mesh::CreateInfo & | createInfo, |
size_t | vertexIndex, | ||
size_t | attributeIndex | ||
) |
Reads float attribute of given vertex from mesh.
createInfo | Mesh create info to read. |
vertexIndex | Vertex to read. |
attributeIndex | Vertex attribute to read. |
Vector2 kanzi::readVertexAttributeVector2 | ( | const Mesh::CreateInfo & | createInfo, |
size_t | vertexIndex, | ||
size_t | attributeIndex | ||
) |
Reads Vector2 attribute of given vertex from mesh.
createInfo | Mesh create info to read. |
vertexIndex | Vertex to read. |
attributeIndex | Vertex attribute to read. |
Vector3 kanzi::readVertexAttributeVector3 | ( | const Mesh::CreateInfo & | createInfo, |
size_t | vertexIndex, | ||
size_t | attributeIndex | ||
) |
Vector4 kanzi::readVertexAttributeVector4 | ( | const Mesh::CreateInfo & | createInfo, |
size_t | vertexIndex, | ||
size_t | attributeIndex | ||
) |
Mesh::CreateInfo kanzi::loadMeshCreateInfo | ( | Domain * | domain, |
KzbFile & | kzbFile, | ||
ReadOnlyMemoryFile & | file, | ||
KzbMemoryParser & | parser | ||
) |
Box kanzi::calculateBoundingVolume | ( | const Mesh::CreateInfo & | createInfo | ) |
Calculates bounding box from mesh vertex data.
createInfo | Mesh create info. |
void kanzi::updateVertexAttributeOffsetsAndVertexSize | ( | Mesh::CreateInfo & | createInfo | ) |
Sets offsets for vertex attributes in mesh create info.
createInfo | Mesh create info. |
void kanzi::updateVertexAttributeStrides | ( | Mesh::CreateInfo & | createInfo | ) |
Calculates vertex format size and updates stride to all vertex attributes in mesh create info.
createInfo | Mesh create info. |
ResourceManager::UrlContainer kanzi::collectResourceUrls | ( | const Mesh::CreateInfo & | createInfo | ) |
For each cluster in mesh create info, get material URL, if set.
createInfo | Mesh create info. |
void kanzi::acquireResources | ( | Domain * | domain, |
Mesh::CreateInfo & | createInfo | ||
) |
For each cluster in mesh create info, load material from materialURL, if set.
domain | The domain to which the mesh belongs. |
createInfo | Mesh create info. |
Mesh::CreateInfo kanzi::generateBox | ( | Vector3 | size, |
unsigned int | subdivisions, | ||
bool | useHalfFloat, | ||
bool | generateNormals, | ||
bool | generateTangents, | ||
MaterialSharedPtr | material, | ||
string_view | materialURL, | ||
GPUResource::MemoryType | memoryType | ||
) |
Makes mesh create info for a box primitive mesh.
The box has position, normal, and texture coordinate attributes in one cluster and it uses a specified material.
size | The size of the box. |
subdivisions | The number of subdivisions to apply to the box. The number of tiles in each face of the box is (subdivisions+1)^2. |
useHalfFloat | Whether to use half-float data type for the vertex attributes. To use float data type, pass false. |
generateNormals | Whether to generate normals data for the mesh. |
generateTangents | Whether to generate tangents data for the mesh. |
material | Pointer to the Material that the mesh uses. |
materialURL | The kzb URL of the material that the mesh uses. |
memoryType | Memory upload and RAM preservation strategy for the GPU resources of the mesh. |
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 a UV sphere primitive mesh.
The sphere has position, normal, and texture coordinate attributes in one cluster and it uses a specified material.
radius | The radius of the sphere. |
segmentCount | The number of segments in the UV sphere. |
rowCount | The number of rows in the UV sphere. |
useHalfFloat | Whether to use half-float data type for the vertex attributes. To use float data type, pass false. |
generateNormals | Whether to generate normals data for the mesh. |
generateTangents | Whether to generate tangents data for the mesh. |
material | Pointer to the Material that the mesh uses. |
materialURL | The kzb URL of the material that the mesh uses. |
memoryType | Memory upload and RAM preservation strategy for the GPU resources of the mesh. |
Mesh::CreateInfo kanzi::generateIcosphere | ( | float | radius, |
unsigned int | subdivisions, | ||
bool | useHalfFloat, | ||
bool | generateNormals, | ||
bool | generateTangents, | ||
MaterialSharedPtr | material, | ||
string_view | materialURL, | ||
GPUResource::MemoryType | memoryType | ||
) |
Makes mesh create info for an icosphere primitive mesh.
The sphere has position, normal, and texture coordinate attributes in one cluster and it uses a specified material.
radius | The radius of the sphere. |
subdivisions | The number of subdivisions to apply on top of the most basic icosphere, an icosahedron. The number of triangles in the sphere is 4 * (2 * subdivisions + 2) * (2 * subdivisions + 4). |
useHalfFloat | Whether to use half-float data type for the vertex attributes. To use float data type, pass false. |
generateNormals | Whether to generate normals data for the mesh. |
generateTangents | Whether to generate tangents data for the mesh. |
material | Pointer to the Material that the mesh uses. |
materialURL | The kzb URL of the material that the mesh uses. |
memoryType | Memory upload and RAM preservation strategy for the GPU resources of the mesh. |
Mesh::CreateInfo kanzi::generateQuadsphere | ( | float | radius, |
unsigned int | subdivisions, | ||
bool | useHalfFloat, | ||
bool | generateNormals, | ||
bool | generateTangents, | ||
MaterialSharedPtr | material, | ||
string_view | materialURL, | ||
GPUResource::MemoryType | memoryType | ||
) |
Makes mesh create info for a quad sphere primitive mesh.
The sphere has position, normal, and texture coordinate attributes in one cluster and it uses a specified material.
radius | The radius of the sphere. |
subdivisions | The number of subdivisions to apply on top of the most basic quad sphere. The number of triangles in the sphere is 12 * (subdivisions + 1)^2. |
useHalfFloat | Whether to use half-float data type for the vertex attributes. To use float data type, pass false. |
generateNormals | Whether to generate normals data for the mesh. |
generateTangents | Whether to generate tangents data for the mesh. |
material | Pointer to the Material that the mesh uses. |
materialURL | The kzb URL of the material that the mesh uses. |
memoryType | Memory upload and RAM preservation strategy for the GPU resources of the mesh. |
Mesh::CreateInfo kanzi::generatePlane | ( | float | width, |
float | height, | ||
unsigned int | subdivisions, | ||
bool | invertU, | ||
bool | invertV, | ||
bool | useHalfFloat, | ||
bool | generateNormals, | ||
bool | generateTangents, | ||
MaterialSharedPtr | material, | ||
string_view | materialURL, | ||
GPUResource::MemoryType | memoryType | ||
) |
Makes mesh create info for a plane primitive mesh.
The plane has position, normal, and texture coordinate attributes in one cluster and it uses a specified material.
width | The width of the plane. |
height | The height of the plane. |
subdivisions | The number of subdivisions to apply to the plane. The number of tiles in the plane is (subdivisions+1)^2. |
invertU | Whether to invert the U texture coordinate. |
invertV | Whether to invert the V texture coordinate. |
useHalfFloat | Whether to use half-float data type for the vertex attributes. To use float data type, pass false. |
generateNormals | Whether to generate normals data for the mesh. |
generateTangents | Whether to generate tangents data for the mesh. |
material | Pointer to the Material that the mesh uses. |
materialURL | The kzb URL of the material that the mesh uses. |
memoryType | Memory upload and RAM preservation strategy for the GPU resources of the mesh. |
string kanzi::getNodeListBindingSourcePath | ( | const RenderPass & | renderPass | ) |
Gets the input path for a render pass to use with a node list binding.
If the NodeListRenderPass::InputNodeListProperty is set for the render pass, its value provides the input path. If the NodeListRenderPass::InputNodeListProperty is not set, the input path is either the nearest Node List Render Pass in the binding tree, or the Viewport 2D node that uses the render passes that the node list binding targets.
renderPass | The render pass in which to look. |
ObjectSourceRuntimeSharedPtr kanzi::updateObjectSourceRuntime | ( | ObjectSourceRuntimeSharedPtr | runtime, |
NodeListSharedPtr | nodeList, | ||
ObjectSourceSharedPtr | filter | ||
) |
Updates an existing filter runtime or returns a new one.
If the existing filter does not match the node list or filter, a new filter runtime is created.
runtime | Filter runtime to update. |
nodeList | Node list to filter. |
filter | Filter that should have created the runtime. |
void kanzi::unregisterRenderEntry | ( | DrawObjectsRenderPass & | drawPass, |
Node3D & | node | ||
) |
Remove references of node render entries from a draw objects render pass.
drawPass | Draw pass to remove from. |
node | Node to clear. |
RenderPass* kanzi::getRoot | ( | RenderPass & | renderPass | ) |
Gets the render pass of the graph render pass belongs to.
renderPass | Render pass within the graph the root of which should be found. |
string kanzi::to_string | ( | RenderPass::AttachmentState | attachmentState | ) |
Returns a string representation of an attachment state.
attachmentState | RenderPass attachment state. |
float kanzi::matrixMultiplyAffineGetTranslationZ | ( | const kanzi::Matrix4x4 & | lhs, |
const kanzi::Matrix4x4 & | rhs | ||
) |
Gets translation Z component from product of two matrices, where both are affine transformations.
lhs | Left-side multiplication component. |
rhs | Right-side multiplication component. |
kanzi::KZ_ENABLE_BITMASK_OPERATORS | ( | FocusScope::ScopeFlag | ) |
KeyMatchResult kanzi::matchModifiers | ( | KeyModifier | required, |
const KeyEvent & | event | ||
) |
Returns whether the modifiers of the key event match the required modifiers.
For example, if the required modifiers have KeyModifier::Shift set, the KeyModifier::LeftShift and KeyModifier::RightShift flags are matched as well.
required | The required modifiers to check. |
event | The key input event to check against the required modifiers. |
KeyMatchResult kanzi::matchKeyGesture | ( | const KeyGestureInfo & | gesture, |
const KeyEvent & | event | ||
) |
Detects key gestures from the event that you pass as an argument.
Call this function to detect a key gesture from a key event.
gesture | The gesture to detect from the event. |
event | The event to detect the key gesture. |
EventSourceSharedPtr kanzi::makeLegacyEventSource | ( | const EventSourceProperties & | properties, |
GraphicsOutput * | graphicsOutput | ||
) |
Creates a legacy event source.
properties | Properties for the event source. |
graphicsOutput | Pointer to the associated legacy graphics output. |
EventSourceSharedPtr kanzi::makeDefaultEventSource | ( | const SystemConfiguration & | configuration | ) |
Creates a platform-specific event source.
configuration | Platform-specific configuration parameters. See your platform documentation for details. |
RayPickResult kanzi::rayPickHitTest | ( | const Vector2 & | limits, |
Scene * | scene, | ||
Camera * | camera, | ||
int | x, | ||
int | y | ||
) |
Input hit testing.
Finds the closest visible node that was pointed.
limits | The size vector of a node. |
scene | The Scene node to render. |
camera | Active hit test camera. |
x | X axis coordinate of a hit test point. |
y | Y axis coordinate of a hit test point. |
KZ_DEPRECATED RayPickResult kanzi::rayPickHitTest | ( | const Vector2 & | limits, |
OverlayScope & | scope, | ||
Scene * | scene, | ||
Camera * | camera, | ||
int | x, | ||
int | y | ||
) |
Input hit testing.
Finds the closest visible node that was pointed in the focus scope passed as argument.
limits | The size vector of a node. |
scope | The focus scope that limits the hit test node lookup. |
scene | The Scene node to render. |
camera | Active hit test camera. |
x | X axis coordinate of a hit test point. |
y | Y axis coordinate of a hit test point. |
uint32_t kanzi::getSupportedKzbFormatVersion | ( | ) |
Gets the supported kzb format version.
ConstByteSpan kanzi::getKzbMagic | ( | ) |
Gets the kzb magic byte sequence.
bool kanzi::isKzbMagic | ( | ConstByteSpan | data | ) |
Returns whether the beginning of a byte span matches a kzb magic byte sequence.
data | Data to test. |
bool kanzi::isKzbMagic | ( | File & | file | ) |
Returns whether the beginning of a file matches a kzb magic byte sequence.
file | File to test. |
UrlContainer kanzi::collectResourceUrls | ( | const KzbMemoryParser::PropertyContainer & | properties | ) |
Collects URLs of all property values of Resource type.
properties | Reference to a PropertyContainer. |
void kanzi::applyProperties | ( | Object & | object, |
const KzbMemoryParser::PropertyContainer & | properties | ||
) |
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.
node | Node the tree height of which to get. |
Gets the root node of the node tree to which the node belongs.
If the node does not belong to any node tree, returns null.
node | Node the root node of which to find. |
Gets the root node of the node tree to which the node belongs.
If the node does not belong to any node tree, returns null.
node | Node the root node of which to find. |
Indicates whether one node is the ancestor of another node at any level in the node tree.
node | Node to indicate whether it is the descendant of the ancestor node. |
ancestor | Node to indicate whether it is the ancestor of the descendant node. |
shared_ptr<Type> kanzi::findParent | ( | const Node & | node | ) |
Gets nearest parent of specified type.
node | Node whose parent to get. |
bool kanzi::canNodeGetFocus | ( | const Node & | node | ) |
Returns whether a node can get keyboard focus.
A node can get keyboard focus if it
node | The node for which to check whether it can get keyboard focus. |
Sets node transformation so that the node is in a given position looking at the given point.
node | The node to which to apply the transformation. |
position | The new translation of the node. |
lookAtPoint | A point where the node is looking at. |
upVector | The new up vector of the node. |
void kanzi::registerDefaultTypes | ( | ObjectFactory & | objectFactory | ) |
Registers default Kanzi object types in object factory.
|
noexcept |
Tests if a given EGL config handle is no config.
eglConfig | EGL config handle to test. |
|
noexcept |
Tests if a given EGL config is no config.
eglConfig | EGL config to test. |
|
noexcept |
Prints metadata for all EGL configs supported by an EGL display.
Metadata for each config will be printed to stdout on a separate line. The config can be identified using the "Graphics format ID" parameter, which is unique for each config.
eglDisplay | EGL display to use. |
|
noexcept |
Finds the best suitable EGL configuration based on the capabilities.
eglDisplay | The EGL display connection to find configurations from. |
capabilities | The capabilities that the configuration must be able to support. |
|
noexcept |
Tests whether OpenGL ES1 is supported.
glesFlags | The flags to test. Must be an attribute value of EGL_CONFORMANT or EGL_RENDERABLE_TYPE. |
|
noexcept |
Tests whether OpenGL ES2 is supported.
glesFlags | The flags to test. Must be an attribute value of EGL_CONFORMANT or EGL_RENDERABLE_TYPE. |
|
noexcept |
Tests whether OpenGL ES3 is supported.
glesFlags | The flags to test. Must be an attribute value of EGL_CONFORMANT or EGL_RENDERABLE_TYPE. |
|
noexcept |
Tests if a given EGL context is no context.
eglContext | EGL context to test. |
|
noexcept |
Tests if a given EGL display handle is no display.
eglDisplay | EGL display handle to test. |
|
noexcept |
Tests if a given EGL display is no display.
eglDisplay | EGL display to test. |
|
noexcept |
Binds a window surface to a context and the current thread.
eglDisplay | EGL display connection of the EGL context. |
eglSurface | Window surface to bind. |
eglContext | EGL context to bind to. |
|
noexcept |
Binds a pbuffer surface to a context and the current thread.
eglDisplay | EGL display connection of the EGL context. |
eglSurface | Pbuffer surface to bind. |
eglContext | EGL context to bind to. |
|
noexcept |
Releases surfaces and context bound to the current thread.
eglDisplay | EGL display connection. |
|
noexcept |
Terminates current EGL display connection.
If surfaces or a context is currently bound to the current thread they are released first.
eglDisplay | EGL display connection to close. |
|
noexcept |
Tests if a given EGL surface handle is no surface.
eglSurfaceHandle | EGL surface handle to test. |
|
noexcept |
Tests if a given EGL surface is no surface.
eglSurface | EGL surface to test. |
|
noexcept |
Tests if a given EGL config is a valid window surface configuration.
eglDisplay | EGL display connection. |
eglNativeWindow | Window to attach test surface to. |
eglConfig | EGL config to test. |
int kanzi::getCompressedGLFormat | ( | GraphicsFormat | format | ) |
Returns the GL API internal format enumeration of the kanzi::Format.
|
noexcept |
Calculates the ordinary target transformation matrix for GLGraphicsOutput.
An ordinary target transformation will preserve the graphics element locations during target coordinate transformation.
width | Layout area width in pixels. Must be positive. |
height | Layout area height in pixels. Must be positive. |
int kanzi::acquireUniformLocation | ( | Material & | material, |
string_view | name | ||
) |
Acquire uniform location from a material.
material | Material to query. |
name | Uniform name. |
unsigned int kanzi::getUniformElementCount | ( | Material & | material, |
string_view | name | ||
) |
Get uniform element count from a material.
material | Material to query. |
name | Uniform name. |
optional<int> kanzi::acquireBlendModeRenderValue | ( | AbstractPropertyType | propertyType, |
Node * | node, | ||
PropertyObject * | object, | ||
Material & | material | ||
) |
optional<int> kanzi::acquireBlendModeRenderValue | ( | AbstractPropertyType | propertyType, |
Node * | node, | ||
Brush & | brush, | ||
Material & | material | ||
) |
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< T > & | value | ||
) |
Type-specific render value update to GPU.
renderer | Renderer to use. |
value | Render value. |
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< bool > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< int > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< float > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< ColorRGBA > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< Vector2 > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< Vector3 > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< Vector4 > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< Matrix3x3 > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValueOverride | ( | Renderer & | renderer, |
const GlRenderValue< Matrix4x4 > & | value | ||
) |
updateRenderValueOverride() specialization.
void kanzi::updateRenderValue | ( | Renderer & | renderer, |
GlRenderValue< T > & | value | ||
) |
Update render value container to GPU.
renderer | Renderer to use. |
value | Render value. |
bool kanzi::updateRenderValue | ( | Renderer & | renderer, |
GlRenderValue< T > & | value, | ||
unsigned int | textureUnit | ||
) |
Update render value container to the GPU.
This method uses given texture unit. If the render value was in any way invalid, the texture is unbound for given texture unit. Only specialized for classes for which texture unit makes sense.
bool kanzi::updateRenderValue | ( | Renderer & | renderer, |
GlRenderValue< TextureSharedPtr > & | value, | ||
unsigned int | textureUnit | ||
) |
updateRenderValueContainer() specialization.
constexpr TextureSwizzleMask kanzi::SwizzleMaskRGBToLuminanceAlpha | ( | TextureSwizzleMask::ColorComponent::Red | , |
TextureSwizzleMask::ColorComponent::Red | , | ||
TextureSwizzleMask::ColorComponent::Red | , | ||
TextureSwizzleMask::ColorComponent::Alpha | |||
) |
Mask all of the color channels with red.
constexpr TextureSwizzleMask kanzi::SwizzleMaskLuminanceToRGBA | ( | TextureSwizzleMask::ColorComponent::Alpha | ) |
Mask all of the color channels with alpha.
|
inline |
/}
|
inline |
T kanzi::acquireRenderValueFromPropertyDefault | ( | AbstractPropertyType | abstractProperty, |
Node * | node, | ||
PropertyObject * | object, | ||
Material & | material | ||
) |
Default implementation for acquiring value for property notification handlers.
abstractProperty | Property that Kanzi acquires. |
node | Node to lookup for the property value. |
object | Fallback object for property value. |
material | Fallback material for property value. |
object
parameter changed from Object* to PropertyObject*. T kanzi::acquireRenderValueFromProperty | ( | AbstractPropertyType | abstractProperty, |
Node * | node, | ||
PropertyObject * | object, | ||
Material & | material, | ||
ShaderProgram::UniformTransformation | transformation | ||
) |
Default implementation for acquiring value for property notification handlers.
Specialization of acquireRenderValueFromProperty().
abstractProperty | Property that Kanzi acquires. |
node | Node whose property value Kanzi returns. |
object | Fallback object for property value. |
material | Fallback material for property value. |
transformation | Shader transformation for uniform values. |
object
parameter changed from Object* to PropertyObject*. ColorRGBA kanzi::acquireRenderValueFromProperty | ( | AbstractPropertyType | abstractProperty, |
Node * | node, | ||
PropertyObject * | object, | ||
Material & | material, | ||
ShaderProgram::UniformTransformation | transformation | ||
) |
Specialization of acquireRenderValueFromProperty().
Specialization of acquireRenderValueFromProperty().
abstractProperty | Property that Kanzi acquires. |
node | Node whose property value Kanzi returns. |
object | Fallback object for property value. |
material | Fallback material for property value. |
transformation | Shader transformation for uniform values. |
object
parameter changed from Object* to PropertyObject*. TextureSharedPtr kanzi::acquireRenderValueFromProperty | ( | AbstractPropertyType | abstractProperty, |
Node * | node, | ||
PropertyObject * | object, | ||
Material & | material, | ||
ShaderProgram::UniformTransformation | transformation | ||
) |
Specialization of acquireRenderValueFromProperty().
Specialization of acquireRenderValueFromProperty().
abstractProperty | Property that Kanzi acquires. |
node | Node whose property value Kanzi returns. |
object | Fallback object for property value. |
material | Fallback material for property value. |
transformation | Shader transformation for uniform values. |
object
parameter changed from Object* to PropertyObject*.
|
inline |
unsigned int kanzi::getAttributeDimension | ( | VertexAttribute::Semantic | attribute | ) |
BitmapImageUniquePtr kanzi::captureCurrentFramebufferToImage | ( | unsigned int | width, |
unsigned int | height, | ||
GraphicsFormat | format | ||
) |
Capture the current framebuffer to an image.
width | Capture area width. |
height | Capture area height. |
format | Graphics format to capture with. |
BitmapImageUniquePtr kanzi::captureScreenToImage | ( | Renderer & | renderer, |
unsigned int | width, | ||
unsigned int | height, | ||
GraphicsFormat | format | ||
) |
Capture the screen (default framebuffer) to an image.
renderer | Renderer whose framebuffer Kanzi captures. |
width | Capture area width. |
height | Capture area height. |
format | Graphics format to capture with. |
|
inline |
optional<ShaderProgram::FixedUniform> kanzi::toFixedUniform | ( | string_view | uniformName | ) |
Gets FixedUniform from given string.
uniformName | Name of fixed uniform. |
ShaderProgram::FixedUniformFunction kanzi::getFixedUniformFunction | ( | string_view | renderValueName, |
ShaderProgram::UniformTransformation | transformation | ||
) |
Gets a matching fixed uniform function for a fixed uniform.
renderValueName | Name of the render value. |
transformation | Transformation to apply for the fixed uniform. |
ShaderProgram::FixedUniformFunction kanzi::getFixedUniformFunction | ( | string_view | renderValueName | ) |
Gets a matching fixed uniform function for a fixed uniform.
Transformation is set to pass-through.
renderValueName | Name of the render value. |
|
inline |
ShaderProgram::CreateInfo kanzi::loadShaderProgramCreateInfo | ( | KzbFile & | kzbFile, |
ReadOnlyMemoryFile & | file, | ||
KzbMemoryParser & | parser, | ||
string_view | name | ||
) |
Loads a shader program create info from a kzb file.
kzbFile | The kzb file. |
file | The file where to load. |
parser | Memory parser to use. |
name | Name of the shader resource. |
FixedString kanzi::getVerboseDescription | ( | ShaderProgram::CreateInfo::Status | status | ) |
Returns human readable description for ShaderProgram CreateInfo status.
status | Status |
optional<BindingLoadInfo> kanzi::createDefaultRenderValueBinding | ( | Domain * | domain, |
optional< AbstractPropertyType > | propertyType, | ||
string_view | renderValueName, | ||
PropertyDataType | dataType, | ||
unsigned | arraySize, | ||
ShaderProgram::UniformTransformation | transformation | ||
) |
Creates a default binding for a given render value.
Used to create the typical bindings upon loading as opposed to loading specific bindings for the same render values from a file.
domain | Domain. |
propertyType | Property type to use if no render pass property is used. |
renderValueName | Render value name to create for. |
dataType | Data type of the uniform. |
arraySize | Size of the uniform array for the value in question. |
transformation | Transformation applied to the property in the binding. |
EventQueue::Container::iterator kanzi::prepend | ( | EventQueue & | queue, |
EventQueue::Container::iterator | position, | ||
UniqueEventPtr && | event | ||
) |
Inserts an event into a queue before the given position.
queue | The event queue into which to move the container content. |
position | The iterator of the event queue before which to insert the content. |
event | The event to insert into the event queue. |
EventQueue::Container::iterator kanzi::prepend | ( | EventQueue & | queue, |
EventQueue::Container::iterator | position, | ||
EventQueue::Container & | container | ||
) |
Moves a container content into a queue before the given position.
queue | The event queue into which to move the container content. |
position | The iterator of the event queue before which to insert the content. |
container | The container to insert into the event queue. |
EventQueue::Container::iterator kanzi::prependAndAdvance | ( | EventQueue & | queue, |
EventQueue::Container::iterator | position, | ||
UniqueEventPtr && | event | ||
) |
Inserts an event content into a queue before the given position.
queue | The event queue into which to move the container content. |
position | The iterator of the event queue before which to insert the content. |
event | The event to insert into the event queue. |
EventQueue::Container::iterator kanzi::prependAndAdvance | ( | EventQueue & | queue, |
EventQueue::Container::iterator | position, | ||
EventQueue::Container & | container | ||
) |
Moves a container content into a queue before the given position.
queue | The event queue into which to move the container content. |
position | The iterator of the event queue before which to insert the content. |
container | The container to insert into the event queue. |
void kanzi::addKeyEvent | ( | EventQueue & | queue, |
size_t | rawKeyCode, | ||
LogicalKey | key, | ||
KeyModifier | modifiers, | ||
KeyState | state | ||
) |
Adds a KeyEvent with multiple key modifiers to the queue.
queue | The queue to which to push the event. |
rawKeyCode | The raw key code. This is specific to the operating system. If unknown, set to 0. |
key | The LogicalKey code translated from the rawKeyCode. If the raw key code does not translate to a logical key, set to LogicalKey::Unknown. |
modifiers | Key modifier flags, a combination of KeyModifier values. If the key operating system modifier does not translate to any Kanzi KeyModifier flag, set to KeyModifier::Undefined. |
state | The key state. See KeyState. |
void kanzi::addKeyRepeatEvent | ( | EventQueue & | queue, |
size_t | rawKeyCode, | ||
LogicalKey | key, | ||
KeyModifier | modifiers, | ||
size_t | repeatCount | ||
) |
Adds to the queue a KeyEvent with multiple key modifiers, KeyState::Pressed state, and key-press repeatCount.
queue | The queue to which to push the event. |
rawKeyCode | The raw key code. This is specific to the operating system. If unknown, set to 0. |
key | The LogicalKey code translated from the rawKeyCode. If the raw key code does not translate to a logical key, set to LogicalKey::Unknown. |
modifiers | Modifier key flags, a combination of KeyModifier values. If the key operating system modifier does not translate to any Kanzi KeyModifier flag, set to KeyModifier::Undefined. |
repeatCount | The 1-base key-press repetition count. |
void kanzi::addPointerEvent | ( | EventQueue & | queue, |
int | x, | ||
int | y, | ||
PointerButton | buttons, | ||
PointerState | state, | ||
int | scroll = 0 |
||
) |
Adds a PointerEvent to the queue.
queue | The queue to push the event in. |
x | The x axis coordinate of the pointer. |
y | The y axis coordinate of the pointer. |
buttons | The buttons of the event. A combination of PointerButton values. |
state | The state of the pointer device. |
scroll | The scroll amount, applied on mouse wheel events. The value is valid when the state is set to PointerState::Scrolled. |
void kanzi::addSinglePointTouchEvent | ( | EventQueue & | queue, |
TouchState | state, | ||
size_t | id, | ||
TouchPointState | pointState, | ||
float | x, | ||
float | y, | ||
float | pressure = 1.0f , |
||
float | radius = 1.0f |
||
) |
Adds a TouchEvent with one touch point to the queue.
queue | The queue to push the event in. |
state | The state of the touch. |
id | The touch point identifier. |
pointState | The state of the point. |
x | The x axis coordinate of the touch point. |
y | The y axis coordinate of the touch point. |
pressure | The touch pressure. |
radius | The touch radius. |
void kanzi::addTouchEvent | ( | EventQueue & | queue, |
TouchState | state, | ||
const list< TouchEvent::TouchPoint > & | points | ||
) |
Adds a TouchEvent with multiple touch points to the queue.
queue | The queue to push the event in. |
state | The state of the touch. |
points | The touch points. |
void kanzi::addWindowResizedEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target, | ||
unsigned int | width, | ||
unsigned int | height | ||
) |
Adds a WindowResizedEvent to the queue.
queue | The queue to which to push the event. |
target | The window that you want to resize. |
width | The width of the window. |
height | The height of the window. |
void kanzi::addWindowResizeRequestEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target, | ||
unsigned int | width, | ||
unsigned int | height | ||
) |
Adds a WindowResizeRequestEvent to the queue.
queue | The queue to which to push the event. |
target | The window that you want to resize. |
width | The requested width of the window. |
height | The requested height of the window. |
void kanzi::addWindowFocusLostEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target | ||
) |
Adds a WindowEvent with InputEvent::WindowFocusLost type to the queue.
queue | The queue to which to push the event. |
target | The window that lost the focus. |
void kanzi::addWindowFocusGainedEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target | ||
) |
Adds a WindowEvent with InputEvent::WindowFocusGained type to the queue.
queue | The queue to which to push the event. |
target | The window that gained the focus. |
void kanzi::addWindowHiddenEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target | ||
) |
Adds a WindowEvent with InputEvent::WindowHidden type to the queue.
queue | The queue to which to push the event. |
target | The hidden window. |
void kanzi::addWindowResourceLostEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target | ||
) |
Adds a WindowEvent with InputEvent::WindowResourceLost type to the queue.
queue | The queue to which to push the event. |
target | The window that lost the resources. |
void kanzi::addWindowOrientationChangedEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target, | ||
WindowOrientation | orientation | ||
) |
Adds an OrientationChangedEvent to the queue.
queue | The queue to which to push the event. |
target | The window to which to apply the orientation change. |
orientation | The orientation to apply to the window. |
void kanzi::addWindowRedrawRequestEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target | ||
) |
Adds a WindowRedrawRequestEvent to the queue.
queue | The queue to which to push the event. |
target | The window that you want to redraw itself. |
void kanzi::addWindowClosedEvent | ( | EventQueue & | queue, |
NativeWindowHandle | target | ||
) |
Adds a WindowEvent with InputEvent::WindowClosed type to the queue.
queue | The queue to which to push the event. |
target | The window that has been closed. |
void kanzi::addApplicationPausedEvent | ( | EventQueue & | queue | ) |
Adds an InputEvent with InputEvent::ApplicationPaused type to the queue.
queue | The queue to which to push the event. |
void kanzi::addApplicationSleepEvent | ( | EventQueue & | queue | ) |
Adds an InputEvent with InputEvent::ApplicationSleep type to the queue.
queue | The queue to which to push the event. |
void kanzi::addApplicationWakeupEvent | ( | EventQueue & | queue | ) |
Adds an InputEvent with InputEvent::ApplicationWakeup type to the queue.
queue | The queue to which to push the event. |
void kanzi::addToggleHudDebugEvent | ( | EventQueue & | queue | ) |
Adds an InputEvent with InputEvent::DebugToggleHud type to the queue.
queue | The queue to which to push the event. |
void kanzi::addSetHudDebugEvent | ( | EventQueue & | queue, |
bool | onOff | ||
) |
Adds a HudDebugEvent to the queue.
queue | The queue to which to push the event. |
onOff | true to toggle on the head-up display debugging, false to toggle it off. |
bool kanzi::isKeyModifier | ( | LogicalKey | key | ) |
Checks whether the key of the event is a modifier key.
Equality operator for KeyEvents.
Inequality operator for KeyEvents.
optional<TouchEvent> kanzi::pointerToTouchEvent | ( | const PointerEvent & | pointer | ) |
Converts a pointer event to an equivalent touch event.
pointer | The pointer event to convert. |
nullopt | Pointer event was a hover event. |
kanzi::KZ_ENABLE_BITMASK_OPERATORS | ( | KeyModifier | ) |
kanzi::KZ_ENABLE_BITMASK_OPERATORS | ( | PointerButton | ) |
kanzi::KZ_ENABLE_BITMASK_OPERATORS | ( | QnxChannelIDFlags | ) |
void kanzi::assignFieldValue | ( | TargetType & | value, |
PropertyField | field, | ||
FieldType | fieldValue | ||
) |
Free function for setting a field of a value.
Called internally by Variant functions, but may be used externally if necessary.
value | Value the field is being set. |
field | The field to set. |
fieldValue | New field value. |
void kanzi::assignFieldValue< ColorRGBA, float > | ( | ColorRGBA & | value, |
PropertyField | field, | ||
float | fieldValue | ||
) |
Specialization of assignFieldValue;.
void kanzi::assignFieldValue< Vector2, float > | ( | Vector2 & | value, |
PropertyField | field, | ||
float | fieldValue | ||
) |
Specialization of assignFieldValue;.
void kanzi::assignFieldValue< Vector3, float > | ( | Vector3 & | value, |
PropertyField | field, | ||
float | fieldValue | ||
) |
Specialization of assignFieldValue;.
void kanzi::assignFieldValue< Vector4, float > | ( | Vector4 & | value, |
PropertyField | field, | ||
float | fieldValue | ||
) |
Specialization of assignFieldValue;.
void kanzi::assignFieldValue< Matrix3x3, float > | ( | Matrix3x3 & | value, |
PropertyField | field, | ||
float | fieldValue | ||
) |
Specialization of assignFieldValue;.
void kanzi::assignFieldValue< Matrix4x4, float > | ( | Matrix4x4 & | value, |
PropertyField | field, | ||
float | fieldValue | ||
) |
Specialization of assignFieldValue;.
void kanzi::assignFieldValue< SRTValue2D, float > | ( | SRTValue2D & | value, |
PropertyField | field, | ||
float | fieldValue | ||
) |
Specialization of assignFieldValue;.
void kanzi::assignFieldValue< SRTValue3D, float > | ( | SRTValue3D & | value, |
PropertyField | field, | ||
float | fieldValue | ||
) |
Specialization of assignFieldValue;.
void kanzi::assignFieldValue< SRTValue3D, Quaternion > | ( | SRTValue3D & | value, |
PropertyField | field, | ||
Quaternion | fieldValue | ||
) |
Specialization of assignFieldValue;.
float kanzi::retrieveFieldValue | ( | const T & | value, |
PropertyField | field | ||
) |
Free function for retrieving a value of a field.
Called internally by Variant functions, but may be used externally if necessary.
value | Value to retrieve from. |
field | Field to retrieve. |
float kanzi::retrieveFieldValue< ColorRGBA > | ( | const ColorRGBA & | value, |
PropertyField | field | ||
) |
Specialization of retrieveFieldValue.
float kanzi::retrieveFieldValue< Vector2 > | ( | const Vector2 & | value, |
PropertyField | field | ||
) |
Specialization of retrieveFieldValue.
float kanzi::retrieveFieldValue< Vector3 > | ( | const Vector3 & | value, |
PropertyField | field | ||
) |
Specialization of retrieveFieldValue.
float kanzi::retrieveFieldValue< Vector4 > | ( | const Vector4 & | value, |
PropertyField | field | ||
) |
Specialization of retrieveFieldValue.
float kanzi::retrieveFieldValue< Matrix3x3 > | ( | const Matrix3x3 & | value, |
PropertyField | field | ||
) |
Specialization of retrieveFieldValue.
float kanzi::retrieveFieldValue< Matrix4x4 > | ( | const Matrix4x4 & | value, |
PropertyField | field | ||
) |
Specialization of retrieveFieldValue.
float kanzi::retrieveFieldValue< SRTValue2D > | ( | const SRTValue2D & | value, |
PropertyField | field | ||
) |
Specialization of retrieveFieldValue.
float kanzi::retrieveFieldValue< SRTValue3D > | ( | const SRTValue3D & | value, |
PropertyField | field | ||
) |
Specialization of retrieveFieldValue.
Casts variant to another data type.
This is a templated version that avoids switch/case.
value | Value to cast. |
Variant kanzi::variantCast | ( | const Variant & | value, |
PropertyDataType | targetDataType | ||
) |
Casts variant to another data type.
value | Value to cast. |
targetDataType | Data type to cast to. |
Variant kanzi::variantCast< float > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< int > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< bool > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< ColorRGBA > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< Vector2 > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< Vector3 > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< Vector4 > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< Matrix3x3 > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< Matrix4x4 > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< SRTValue2D > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< SRTValue3D > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< string > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< ResourceSharedPtr > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< void *> | ( | const Variant & | value | ) |
Specialization of typed variantCast.
Variant kanzi::variantCast< AbstractRangeSharedPtr > | ( | const Variant & | value | ) |
Specialization of typed variantCast.
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.
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.
prefabTemplate | The prefab template instance. |
node | Node where the template will be instantiated. |
urls | A container where the collected URLs will be added. |
void kanzi::collectResourceUrlsFromStateManagersAndRenderPassPrefabs | ( | const PrefabTemplate & | prefabTemplate, |
const Node & | node, | ||
ResourceManager::UrlContainer & | urls | ||
) |
Looks up resource properties of type StateManager or RenderPassPrefab 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.
prefabTemplate | The prefab template instance. |
node | Node where the template will be instantiated. |
urls | A container where the collected URLs will be added. |
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.
prefabTemplate | The prefab template. |
urls | A container where the collected URLs will be added. |
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.
prefabTemplateNode | The prefab template node. |
urls | A container where the collected URLs will be added. |
void kanzi::collectResourceUrlsFromStateManagersAndRenderPassPrefabs | ( | const PrefabTemplate & | prefabTemplate, |
ResourceManager::UrlContainer & | urls | ||
) |
Looks up resource properties of type StateManager or RenderPassPrefab 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.
prefabTemplate | The prefab template instance. |
urls | A container where the collected URLs will be added. |
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.
resourceDictionary | The resource dictionary. |
urls | A container where the collected URLs will be added. |
void kanzi::collectResourceUrls | ( | ResourceManager * | resourceManager, |
string_view | hostname, | ||
ResourceManager::UrlContainer & | urls | ||
) |
Collect resource urls from a named file.
resourceManager | Resource manager to collect from. |
hostname | KZB hostname part of the URL. |
urls | A container where the collected URLs will be added. |
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.
resourceManager | The resource manager. |
prefabTemplateUrl | The URL of a prefab template. For example "kzb://asynchronous_loading/Prefabs/Prefab that uses many textures". |
node | Node where the template will be instantiated. |
urls | A container where the collected URLs will be added. |
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.
resourceManager | The resource manager. |
prefabTemplateUrl | The URL of a prefab template. For example "kzb://asynchronous_loading/Prefabs/Prefab that uses many textures". |
urls | A container where the collected URLs will be added. |
void kanzi::tryCollectResourceUrlsFromPrefabTemplateUrl | ( | 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, like collectResourceUrlsFromPrefabTemplateUrl, but does not throw an exception if the prefab template is not found.
resourceManager | The resource manager. |
prefabTemplateUrl | The URL of a prefab template. For example "kzb://asynchronous_loading/Prefabs/Prefab that uses many textures". |
node | Node where the template will be instantiated. |
urls | A container where the collected URLs will be added. |
void kanzi::tryCollectResourceUrlsFromPrefabTemplateUrl | ( | ResourceManager * | resourceManager, |
string_view | prefabTemplateUrl, | ||
ResourceManager::UrlContainer & | urls | ||
) |
Collects URLs from all resource properties that are used by the nodes in a prefab template, like collectResourceUrlsFromPrefabTemplateUrl, but does not throw an exception if the prefab template is not found.
resourceManager | The resource manager. |
prefabTemplateUrl | The URL of a prefab template. For example "kzb://asynchronous_loading/Prefabs/Prefab that uses many textures". |
urls | A container where the collected URLs will be added. |
KZ_DEPRECATED 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.
resourceManager | The resource manager. |
prefabTemplateNodeUrls | Semicolon 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". |
urls | A container where the collected URLs will be added. |
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.
resourceManager | The resource manager. |
urls | A container where the collected URLs will be added. |
void kanzi::registerDefaultResources | ( | Screen & | screen | ) |
Registers default resources in the resource manager and Screen node's dictionary.
SplinePtr kanzi::loadSplineFromKZB | ( | KzbMemoryParser & | parser | ) |
Load a spline spline from memory parser.
parser | KzbMemoryParser that the spline data is loaded from. |
void kanzi::registerNodeComponentLoader | ( | ObjectLoader & | objectLoader, |
const Metaclass * | metaclass | ||
) |
void kanzi::registerNodeComponentLoaders | ( | ObjectLoader & | objectLoader | ) |
Registers node component template loaders for build-in node component types.
objectLoader | Object loader where to register loading of node components. |
bool kanzi::isRTL | ( | string_view | text | ) |
Returns true if the text is right-to-left aligned, otherwise false.
size_t kanzi::getUtf8Length | ( | string_view | text | ) |
Returns the number of UTF-8 characters in the text.
pair<size_t, size_t> kanzi::getUtf8WordBounds | ( | string_view | text, |
size_t | position | ||
) |
Gets the character positions at the begin and end of the word to which the character at position position belongs.
size_t kanzi::getUtf8WordCount | ( | string_view | text | ) |
Gets the number of words in a UTF-8 text string.
size_t kanzi::getUtf8NextWordbreakPosition | ( | string_view | text, |
size_t | position | ||
) |
Gets the position of the next word break following the character position position.
size_t kanzi::getUtf8NextWordbreakPosition | ( | string_view | text, |
size_t | position, | ||
size_t | words | ||
) |
Gets the position of the next word break following the character position position after the number of words words.
size_t kanzi::getUtf8PreviousWordbreakPosition | ( | string_view | text, |
size_t | position | ||
) |
Gets the position of the previous word break that precedes the character position position.
size_t kanzi::getUtf8PreviousWordbreakPosition | ( | string_view | text, |
size_t | position, | ||
size_t | words | ||
) |
Gets the position of the next word break following the character position position after the number of words words.
string_view kanzi::truncateToUtf8Length | ( | string_view | text, |
size_t | length | ||
) |
vector<size_t> kanzi::getGraphemeClusters | ( | string_view | text | ) |
Returns the indices of the characters that start new grapheme clusters in the given text.
void kanzi::handleDefaultExceptions | ( | JNIEnv * | env | ) |
Handle the top level Java and native exceptions and rethrow via the JNI.
KANZI_JVM_API JniLibrary* kanzi::getJniLibrary | ( | ) |
Gets a set of function pointers that represent the JNI library.
On Windows, this function loads a dynamic library named jvm from the active PATH. If not found, it will fall back to use JAVA_HOME to find the library.
size_t kanzi::getUIAssetDataSize | ( | ) |
Gets size of UI asset data.
const byte* kanzi::getUIAssetData | ( | ) |
Gets UI asset data.
void kanzi::registerUIAssets | ( | Domain * | domain | ) |
Registers build-in UI assets in resource manager of domain so they can be acquired at runtime.
domain | The domain where to register the UI assets. |
void kanzi::ActivityStatusAnimationFinishedHandler::sendMessages< ActivityConcept::Status::Inactive > | ( | ActivityElement & | activityElement | ) |
ActivityStatusAnimationFinishedHandler::sendMessages() specialization.
void kanzi::ActivityStatusAnimationFinishedHandler::sendMessages< ActivityConcept::Status::Activating > | ( | ActivityElement & | activityElement | ) |
ActivityStatusAnimationFinishedHandler::sendMessages() specialization.
void kanzi::ActivityStatusAnimationFinishedHandler::sendMessages< ActivityConcept::Status::Active > | ( | ActivityElement & | activityElement | ) |
ActivityStatusAnimationFinishedHandler::sendMessages() specialization.
void kanzi::ActivityStatusAnimationFinishedHandler::sendMessages< ActivityConcept::Status::Deactivating > | ( | ActivityElement & | activityElement | ) |
ActivityStatusAnimationFinishedHandler::sendMessages() specialization.
|
inline |
|
inline |
|
inline |
MmapMode kanzi::g_platformMmapMode |
Globally available chosen mmap() strategy.
const int kanzi::Slog2DefaultPageCount |
const uint32_t kanzi::Slog2UnlimitedRetries |
const ColorRGBA kanzi::ThemeRed |
const ColorRGBA kanzi::ThemeGreen |
const ColorRGBA kanzi::ThemeBlue |
const ColorRGBA kanzi::ThemeYellow |
const ColorRGBA kanzi::ThemeGray |
const ColorRGBA kanzi::ThemeOrange |
const string kanzi::ConfigurationKeyEGLGraphicsFormatID |
const string kanzi::ConfigurationKeyEGLContextClientVersion |
const string kanzi::ConfigurationKeySurfaceColorSpace |
const string kanzi::ConfigurationKeyQnxPipelineID |
const string kanzi::ConfigurationKeyQnxEnumerateDisplays |
const string kanzi::ConfigurationKeyQnxEnableSlogger2 |
const string kanzi::ConfigurationKeyQnxSlogger2VerbosityLevel |
const string kanzi::ConfigurationValueSlogger2VerbosityLevelShutdown |
const string kanzi::ConfigurationValueSlogger2VerbosityLevelCritical |
const string kanzi::ConfigurationValueSlogger2VerbosityLevelError |
const string kanzi::ConfigurationValueSlogger2VerbosityLevelWarning |
const string kanzi::ConfigurationValueSlogger2VerbosityLevelNotice |
const string kanzi::ConfigurationValueSlogger2VerbosityLevelInfo |
const string kanzi::ConfigurationValueSlogger2VerbosityLevelDebug1 |
const string kanzi::ConfigurationValueSlogger2VerbosityLevelDebug2 |
const string kanzi::ConfigurationKeyQnxSlogger2MaxRetries |
const string kanzi::SystemConfigurationKeyMmapMode |
const string kanzi::SystemConfigurationValueMmapLazy |
const string kanzi::SystemConfigurationValueMmapEager |
const string kanzi::SystemConfigurationValueMmapDefault |
|
static |
Expression operations from this index upwards are internal to Kanzi Engine.
Operation values 256 - 511. and not known about by Studio or used in the shared binary format.
|
static |
Binding processor operations from this index upwards are special cases in Kanzi Engine.
Operation values 512 - 767. The low byte of the value is used as the index of the associated validator.
const NativeDeploymentTarget kanzi::NativeDeploymentTargetDefault |
The default native deployment target.
constexpr int kanzi::GraphicsBlendModeOpaque |
Opaque blend mode.
Disables blending. Draws the source pixels.
constexpr int kanzi::GraphicsBlendModeAlpha |
Legacy blend mode.
Multiplies both source color and source alpha with source alpha. Does not produce premultiplied output. For non-premultiplied content use GraphicsBlendModeMixedAlpha.
constexpr int kanzi::GraphicsBlendModeAdditive |
Additive blend mode.
Adds the source pixels to the destination pixels.
constexpr int kanzi::GraphicsBlendModePremultipliedAlpha |
Premultiplied Alpha blend mode - the default and recommend mode for alpha blending.
Blends the source pixels on top of the destination pixels. This mode expects premultiplied alpha RGBA in the source pixels.
constexpr int kanzi::GraphicsBlendModeMixedAlpha |
Mixed Alpha blend mode.
Blends the source pixels on top of the destination pixels. This mode expects non-premultiplied alpha RGBA in the source pixels.
constexpr int kanzi::GraphicsBlendModeMultiply |
Multiply blend mode.
Multiplies the source and destination pixels.
constexpr int kanzi::GraphicsBlendModeScreen |
Screen blend mode.
Adds the source and destination pixels and subtracts from the result the product of the source and destination.
constexpr int kanzi::GraphicsBlendModeClear |
Clear blend mode.
Clears the destination pixels to transparent black.
constexpr int kanzi::GraphicsBlendModeExclusiveOr |
Exclusive Or blend mode.
Draws the non-overlapping source and destination pixels. In the overlapping source and destination pixels reduces the source alpha by the inverse of the destination alpha, and the destination alpha by the inverse of the source alpha, then merges the pixels.
constexpr int kanzi::GraphicsBlendModeSourceAtop |
Source Atop blend mode.
Discards those source pixels that do not cover destination pixels, and draws the rest of the source pixels over destination pixels.
constexpr int kanzi::GraphicsBlendModeSourceIn |
Source In blend mode.
Draws those source pixels that cover destination pixels, and discards all destination pixels.
constexpr int kanzi::GraphicsBlendModeSourceOut |
Source Out blend mode.
Draws the source pixels with alpha reduced by the inverse of the destination alpha, and discards all destination pixels.
constexpr int kanzi::GraphicsBlendModeDestinationAtop |
Destination Atop blend mode.
Discards those destination pixels that are not covered by source pixels, and draws the rest of the destination pixels over source pixels.
constexpr int kanzi::GraphicsBlendModeDestinationIn |
Destination In blend mode.
Draws only those destination pixels that intersect with the source pixels, and discards all source pixels.
constexpr int kanzi::GraphicsBlendModeDestinationOut |
Destination Out blend mode.
Draws the destination pixels with alpha reduced by the inverse of the source alpha, and discards all source pixels.
constexpr int kanzi::GraphicsBlendModeDestinationOver |
Destination Over blend mode.
Draws the destination pixels over the source pixels.
constexpr unsigned int kanzi::InvalidTouchId |
Invalid touch point identifier.
constexpr auto kanzi::c_keyRepeatDelay |
Specifies the time in milliseconds Kanzi waits before it detects a key-repeat gesture.
constexpr auto kanzi::c_keyRepeatInterval |
Specifies the time in milliseconds between the key-press repetitions.
Stage kanzi::UserStage |
const NativeEventHandle kanzi::invalidEventHandle |
constexpr auto kanzi::cursorWidth |
const auto kanzi::cursorColor |
constexpr auto kanzi::selectionIndicatorRadius |
constexpr auto kanzi::selectionCaretHitTestAreaWidth |
Sets on the left and right side of each text selection caret the width of the hit test area for that caret in pixels.