Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
KzsSurfaceProperties Struct Reference

Properties for a surface. More...

#include <kzs_surface_configuration.h>

Data Fields

enum KzsSurfaceType type
 Graphics language for rendering on this surface. More...
 
kzInt bitsColorR
 Size of red color channel in bits. More...
 
kzInt bitsColorG
 Size of green color channel in bits. More...
 
kzInt bitsColorB
 Size of blue color channel in bits. More...
 
kzInt bitsAlpha
 Size of alpha channel in bits. More...
 
kzInt bitsStencil
 Size of stencil buffer in bits. More...
 
kzInt bitsDepthBuffer
 Size of depth buffer in bits. More...
 
kzInt antiAliasing
 Number of anti-aliasing samples used. More...
 
kzInt swapBehaviorCopy
 During the swap buffer, are the buffers swapped (switched) or copied, 1 for copy, 0 for swap, KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection. More...
 
kzInt priority
 Passes priority hint to surface creation. More...
 

Detailed Description

Properties for a surface.

Field Documentation

enum KzsSurfaceType KzsSurfaceProperties::type

Graphics language for rendering on this surface.

kzInt KzsSurfaceProperties::bitsColorR

Size of red color channel in bits.

Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection.

kzInt KzsSurfaceProperties::bitsColorG

Size of green color channel in bits.

Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection.

kzInt KzsSurfaceProperties::bitsColorB

Size of blue color channel in bits.

Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection.

kzInt KzsSurfaceProperties::bitsAlpha

Size of alpha channel in bits.

Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection.

kzInt KzsSurfaceProperties::bitsStencil

Size of stencil buffer in bits.

Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection.

kzInt KzsSurfaceProperties::bitsDepthBuffer

Size of depth buffer in bits.

Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection.

kzInt KzsSurfaceProperties::antiAliasing

Number of anti-aliasing samples used.

Use 0 to turn AA off. Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection.

kzInt KzsSurfaceProperties::swapBehaviorCopy

During the swap buffer, are the buffers swapped (switched) or copied, 1 for copy, 0 for swap, KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection.

kzInt KzsSurfaceProperties::priority

Passes priority hint to surface creation.

Won't be applied if set to KZS_SURFACE_PROPERTY_DONT_CARE.


The documentation for this struct was generated from the following file: