Composition request class. More...
#include <kanzi/core.ui/graphics2d/composition_manager.hpp>
Public Member Functions | |
| Sampler::AddressingMode | getAddressingMode () const |
| Gets required addressing mode. | |
| GraphicsFormat | getColorFormat () const |
| Gets required color format. | |
| GraphicsCompareFunction | getDepthCompareFunction () const |
| Gets the depth comparison function. | |
| GraphicsFormat | getDepthStencilFormat () const |
| Gets required depth/stencil format. | |
| Sampler::Filter | getFilterMode () const |
| Gets the required filter mode. | |
| unsigned int | getHeight () const |
| Gets required height. | |
| Sampler::MipmapMode | getMipmapMode () const |
| Gets required mipmap mode. | |
| unsigned int | getSamples () const |
| Gets required samples. | |
| unsigned int | getWidth () const |
| Gets required width. | |
| bool | isColorRenderbufferRequired () const |
| Tells if color render buffer is required. | |
| bool | isColorTextureRequired () const |
| Tells if color texture is required. | |
| bool | isDepthRenderbufferRequired () const |
| Tells if depth render buffer is required. | |
| bool | isDepthTextureRequired () const |
| Tells if depth texture is required. | |
| Request (unsigned int width, unsigned int height, GraphicsFormat colorFormat, GraphicsFormat depthStencilFormat) | |
| Constructor. | |
| Request (unsigned int width, unsigned int height, GraphicsFormat colorFormat, GraphicsFormat depthStencilFormat, Sampler::AddressingMode addressingMode) | |
| Constructor. | |
| Request (unsigned int width, unsigned int height, GraphicsFormat colorFormat, GraphicsFormat depthStencilFormat, Sampler::AddressingMode addressingMode, Sampler::MipmapMode mipmapMode, unsigned int samples) | |
| Constructor. | |
| Request (unsigned int width, unsigned int height, GraphicsFormat colorFormat, GraphicsFormat depthStencilFormat, unsigned int samples) | |
| Constructor. | |
| Request (unsigned int width, unsigned int height, GraphicsFormat colorFormat, Sampler::AddressingMode addressingMode, Sampler::Filter filterMode, Sampler::MipmapMode mipmapMode) | |
| Constructor. | |
| Request (unsigned int width, unsigned int height, GraphicsFormat colorFormat, unsigned int samples) | |
| Constructor. | |
| Request (unsigned int width, unsigned int height, GraphicsFormatFeature colorFeatures, GraphicsFormat colorFormat, GraphicsFormatFeature depthFeatures, GraphicsFormat depthStencilFormat, unsigned int samples) | |
| Constructor. | |
| void | setColorRenderbufferFormat (GraphicsFormat colorFormat) |
| Sets color renderbuffer format. | |
| void | setColorTextureFormat (GraphicsFormat colorFormat) |
| Sets color texture format. | |
| void | setDepthCompareFunction (GraphicsCompareFunction function) |
| Sets the depth comparison function. | |
| void | setDepthStencilRenderbufferFormat (GraphicsFormat depthStencilFormat) |
| Sets depth/stencil renderbuffer format. | |
| void | setDepthStencilTextureFormat (GraphicsFormat depthStencilFormat) |
| Sets depth/stencil texture format. | |
| void | setFilterMode (Sampler::Filter filterMode) |
| Sets the required filter mode. | |
| void | setSamples (unsigned int samples) |
| Sets required samples. | |
Composition request class.
Packs all attributes of a composition request.
|
inlineexplicit |
Constructor.
| width | Requested width. |
| height | Requested height. |
| colorFormat | Color buffer format. |
| depthStencilFormat | Depth/stencil buffer format. |
|
inlineexplicit |
Constructor.
| width | Requested width. |
| height | Requested height. |
| colorFormat | Color buffer format. |
| samples | Requested multisample level. |
|
inlineexplicit |
Constructor.
| width | Requested width. |
| height | Requested height. |
| colorFormat | Color buffer format. |
| depthStencilFormat | Depth/stencil buffer format. |
| samples | Requested multisample level. |
|
inlineexplicit |
Constructor.
| width | Requested width. |
| height | Requested height. |
| colorFeatures | Requested color features. |
| colorFormat | Color buffer format. |
| depthFeatures | Requested depth features. |
| depthStencilFormat | Depth/stencil buffer format. |
| samples | Requested multisample level. |
|
inlineexplicit |
Constructor.
| width | Requested width. |
| height | Requested height. |
| colorFormat | Color buffer format. |
| addressingMode | Addressing mode used. |
| filterMode | Filter node used. |
| mipmapMode | Mipmap mode used. |
|
inlineexplicit |
Constructor.
| width | Requested width. |
| height | Requested height. |
| colorFormat | Color buffer format. |
| depthStencilFormat | Depth/stencil buffer format. |
| addressingMode | Addressing mode used. |
|
inlineexplicit |
Constructor.
| width | Requested width. |
| height | Requested height. |
| colorFormat | Color buffer format. |
| depthStencilFormat | Depth/stencil buffer format. |
| addressingMode | Addressing mode used. |
| mipmapMode | Mipmap mode used. |
| samples | Requested multisample level. |
Gets required width.
Gets required height.
Gets required samples.
Sets required samples.
| samples | Sample count. |
|
inline |
Gets required color format.
|
inline |
Gets required depth/stencil format.
|
inline |
Tells if color texture is required.
|
inline |
Tells if color render buffer is required.
|
inline |
Tells if depth texture is required.
|
inline |
Tells if depth render buffer is required.
|
inline |
Gets required addressing mode.
|
inline |
Gets the required filter mode.
|
inline |
Sets the required filter mode.
| filterMode | Filter mode. |
|
inline |
Gets required mipmap mode.
|
inline |
Gets the depth comparison function.
|
inline |
Sets the depth comparison function.
| function | The function to be used for depth comparisons. |
|
inline |
Sets color renderbuffer format.
Color features will be set to renderbuffer mask.
| colorFormat | Color format. |
|
inline |
Sets color texture format.
Color features will be set to texture mask.
| colorFormat | Color format. |
|
inline |
Sets depth/stencil renderbuffer format.
Depth features will be set to renderbuffer mask.
| depthStencilFormat | Depth/stencil format. |
|
inline |
Sets depth/stencil texture format.
Depth features will be set to texture mask.
| depthStencilFormat | Depth/stencil format. |