|
| | UniformVector () |
| | Constructs a uniform vector. More...
|
| |
| | UniformVector (const GraphicContextPtr &gc, int size, BufferUsage usage=usage_static_draw) |
| |
| | UniformVector (const GraphicContextPtr &gc, Type *data, int size, BufferUsage usage=usage_static_draw) |
| |
| | UniformVector (const GraphicContextPtr &gc, const std::vector< Type > &data, BufferUsage usage=usage_static_draw) |
| |
| const UniformBufferPtr & | buffer () const |
| | Returns the buffer used by the vector. More...
|
| |
| void | copy_from (const GraphicContextPtr &gc, StagingVector< Type > &buffer, int dest_pos=0, int src_pos=0, int size=-1) |
| | Copies data from transfer buffer. More...
|
| |
| void | copy_to (const GraphicContextPtr &gc, StagingVector< Type > &buffer, int dest_pos=0, int src_pos=0, int size=-1) |
| | Copies data to transfer buffer. More...
|
| |
| | operator const UniformBufferPtr & () const |
| |
| void | upload_data (const GraphicContextPtr &gc, const Type *data, int size) |
| | Uploads data to uniforms buffer. More...
|
| |
| void | upload_data (const GraphicContextPtr &gc, const std::vector< Type > &data) |
| | Uploads data to uniforms buffer. More...
|
| |
template<typename Type>
class uicore::UniformVector< Type >
Typed access to an uniform buffer.