#include <geometry.h>
|
| ~Geometry () |
|
bool | addBuffer (std::string name, GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) |
|
bool | bufferData (std::string name, GLsizeiptr size, const GLvoid *data) |
|
bool | addShape (std::string name, std::vector< Shape::ArrBufferDescr > arDescrs, std::vector< std::string > arBufferNames, Shape::ElemArrBufferDescr elArDescr, std::string elArBufferName) |
|
bool | addBufferToShape (std::string shapeName, std::vector< Shape::ArrBufferDescr > arDescrs, std::string bufferName) |
|
bool | setShapeElArDescr (std::string name, Shape::ElemArrBufferDescr elArDescr) |
|
void | drawAll () const |
|
void | drawAllInstanced (GLsizei instancecount) const |
|
| Geometry (Geometry const &)=delete |
|
Geometry & | operator= (Geometry const &)=delete |
|
◆ ~Geometry()
yourgame::gl::Geometry::~Geometry |
( |
| ) |
|
◆ Geometry()
yourgame::gl::Geometry::Geometry |
( |
Geometry const & |
| ) |
|
|
delete |
◆ addBuffer()
bool yourgame::gl::Geometry::addBuffer |
( |
std::string |
name, |
|
|
GLenum |
target, |
|
|
GLsizeiptr |
size, |
|
|
const GLvoid * |
data, |
|
|
GLenum |
usage |
|
) |
| |
◆ addBufferToShape()
bool yourgame::gl::Geometry::addBufferToShape |
( |
std::string |
shapeName, |
|
|
std::vector< Shape::ArrBufferDescr > |
arDescrs, |
|
|
std::string |
bufferName |
|
) |
| |
◆ addShape()
◆ bufferData()
bool yourgame::gl::Geometry::bufferData |
( |
std::string |
name, |
|
|
GLsizeiptr |
size, |
|
|
const GLvoid * |
data |
|
) |
| |
◆ drawAll()
void yourgame::gl::Geometry::drawAll |
( |
| ) |
const |
◆ drawAllInstanced()
void yourgame::gl::Geometry::drawAllInstanced |
( |
GLsizei |
instancecount | ) |
const |
◆ make()
Geometry * yourgame::gl::Geometry::make |
( |
| ) |
|
|
static |
◆ operator=()
◆ setShapeElArDescr()
The documentation for this class was generated from the following files: