FastUIDraw
|
A PainterPackedValuePool can be used to create PainterPackedValue objects. More...
#include <painter_packed_value_pool.hpp>
Public Member Functions | |
PainterPackedValuePool (void) | |
PainterData::brush_value | create_packed_brush (const PainterBrush &brush) |
PainterData::brush_value | create_packed_brush (const PainterCustomBrush &brush) |
PainterPackedValue< PainterItemShaderData > | create_packed_value (const PainterItemShaderData &value) |
PainterPackedValue< PainterBlendShaderData > | create_packed_value (const PainterBlendShaderData &value) |
PainterPackedValue< PainterBrushShaderData > | create_packed_value (const PainterBrushShaderData &value) |
A PainterPackedValuePool can be used to create PainterPackedValue objects.
Just like PainterPackedValue, PainterPackedValuePool is NOT thread safe, as such it is not a safe operation to use the same PainterPackedValuePool object from multiple threads at the same time. A fixed PainterPackedValuePool can create PainterPackedValue objects used by different Painter objects.
Definition at line 43 of file painter_packed_value_pool.hpp.
|
explicit |
Ctor.
|
inline |
Returns a PainterData::brush_value whose data is packed from a PainterBrush value.
Definition at line 83 of file painter_packed_value_pool.hpp.
|
inline |
Returns a PainterData::brush_value whose data is packed from a PainterCustomBrush value.
Definition at line 95 of file painter_packed_value_pool.hpp.
PainterPackedValue<PainterItemShaderData> fastuidraw::PainterPackedValuePool::create_packed_value | ( | const PainterItemShaderData & | value | ) |
Create and return a PainterPackedValue<PainterItemShaderData> object for the value of a PainterItemShaderData object.
value | data to pack into returned PainterPackedValue |
PainterPackedValue<PainterBlendShaderData> fastuidraw::PainterPackedValuePool::create_packed_value | ( | const PainterBlendShaderData & | value | ) |
Create and return a PainterPackedValue<PainterBlendShaderData> object for the value of a PainterBlendShaderData object.
value | data to pack into returned PainterPackedValue |
PainterPackedValue<PainterBrushShaderData> fastuidraw::PainterPackedValuePool::create_packed_value | ( | const PainterBrushShaderData & | value | ) |
Create and return a PainterPackedValue<PainterBrushShaderData> object for the value of a PainterBrushShaderData object.
value | data to pack into returned PainterPackedValue |