#include <ugdk/graphic/primitive.h>
ugdk::graphic::Primitive::Primitive |
( |
const graphic::GLTexture * |
texture, |
|
|
const std::shared_ptr< VertexData > & |
data |
|
) |
| |
ugdk::graphic::Primitive::~Primitive |
( |
| ) |
|
const std::function<void(const Primitive&, Canvas&)>& ugdk::graphic::Primitive::drawfunction |
( |
| ) |
const |
|
inline |
void ugdk::graphic::Primitive::set_controller |
( |
std::unique_ptr< PrimitiveController > && |
controller | ) |
|
void ugdk::graphic::Primitive::set_drawfunction |
( |
const std::function< void(const Primitive &, Canvas &)> & |
function | ) |
|
|
inline |
void ugdk::graphic::Primitive::set_shader_program |
( |
const ShaderProgram * |
shader_program | ) |
|
|
inline |
void ugdk::graphic::Primitive::set_texture |
( |
const graphic::GLTexture * |
texture | ) |
|
|
inline |
void ugdk::graphic::Primitive::set_vertexdata |
( |
const std::shared_ptr< VertexData > & |
data | ) |
|
|
inline |
const ShaderProgram* ugdk::graphic::Primitive::shader_program |
( |
| ) |
const |
|
inline |
const graphic::GLTexture* ugdk::graphic::Primitive::texture |
( |
| ) |
const |
|
inline |
std::shared_ptr<VertexData> ugdk::graphic::Primitive::vertexdata |
( |
| ) |
|
|
inline |
std::shared_ptr<const VertexData> ugdk::graphic::Primitive::vertexdata |
( |
| ) |
const |
|
inline |
std::function<void(const Primitive&, Canvas&)> ugdk::graphic::Primitive::drawfunction_ |
|
protected |
const graphic::GLTexture* ugdk::graphic::Primitive::texture_ |
|
protected |
std::shared_ptr<VertexData> ugdk::graphic::Primitive::vertexdata_ |
|
protected |
The documentation for this class was generated from the following file: