Properties for a surface. More...
#include <kanzi/core.ui/platform/graphics_context/common/kzs_surface_configuration.h>
Public Member Functions | |
KzsSurfaceProperties () | |
Constructor. More... | |
Public Attributes | |
kzInt | antiAliasing |
Number of anti-aliasing samples used. Use 0 to turn AA off. Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection. More... | |
kzInt | bitsAlpha |
Size of alpha channel in bits. Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection. More... | |
kzInt | bitsColorB |
Size of blue color channel in bits. Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection. More... | |
kzInt | bitsColorG |
Size of green color channel in bits. Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection. More... | |
kzInt | bitsColorR |
Size of red color channel in bits. Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection. More... | |
kzInt | bitsDepthBuffer |
Size of depth buffer in bits. Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection. More... | |
kzInt | bitsPadding |
Size of padding in bits. More... | |
kzInt | bitsStencil |
Size of stencil buffer in bits. Set to KZS_SURFACE_PROPERTY_DONT_CARE for automatic selection. More... | |
kanzi::SurfaceClientAPI | clientAPI |
Graphics language for rendering on this surface. More... | |
kanzi::SurfaceColorSpace | colorSpace |
Color Space output by shaders. More... | |
kanzi::GraphicsContextAPI | contextAPI |
Graphics API for context. More... | |
kzInt | priority |
Passes priority hint to surface creation. Won't be applied if set to KZS_SURFACE_PROPERTY_DONT_CARE. More... | |
kanzi::SwapBehavior | swapBehavior |
Properties for a surface.
|
explicit |
Constructor.
kanzi::SurfaceClientAPI KzsSurfaceProperties::clientAPI |
Graphics language for rendering on this surface.
kanzi::GraphicsContextAPI KzsSurfaceProperties::contextAPI |
Graphics API for context.
kanzi::SurfaceColorSpace KzsSurfaceProperties::colorSpace |
Color Space output by shaders.
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::bitsPadding |
Size of padding 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.
kanzi::SwapBehavior KzsSurfaceProperties::swapBehavior |
kzInt KzsSurfaceProperties::priority |
Passes priority hint to surface creation. Won't be applied if set to KZS_SURFACE_PROPERTY_DONT_CARE.