Use a Blend State Cache to lookup a Kanzi graphics Blend State. More...
#include <kanzi/core.ui/graphics/blend_state_cache.hpp>
Public Member Functions | |
| BlendStateCache ()=default | |
| Constructor. | |
| BlendStateCache (BlendStateCache &&)=delete | |
| BlendStateCache (const BlendStateCache &)=delete | |
| gfx::BlendStateHandleGuard | get (int blendMode, GraphicsColorWriteMode writeMode) |
| Gets or creates a Graphics Blend State for the requested state. | |
| void | invalidate () |
| Invalidates the cache and releases all kanzi graphics handles. | |
| BlendStateCache & | operator= (BlendStateCache &&)=delete |
| BlendStateCache & | operator= (const BlendStateCache &)=delete |
Use a Blend State Cache to lookup a Kanzi graphics Blend State.
|
default |
Constructor.
|
delete |
|
delete |
|
delete |
|
delete |
| gfx::BlendStateHandleGuard kanzi::BlendStateCache::get | ( | int | blendMode, |
| GraphicsColorWriteMode | writeMode ) |
Gets or creates a Graphics Blend State for the requested state.
| blendMode | The blendMode to lookup. |
| writeMode | The Color write mode. |
| void kanzi::BlendStateCache::invalidate | ( | ) |
Invalidates the cache and releases all kanzi graphics handles.