Euphoria
|
eu::render::PointLayout Struct Reference
Stores what the data in the vertex_buffer is and how it is laid out/used Represents a OpenGL Vertex Array Object (VAO). More...
#include <buffer.h>
Inheritance diagram for eu::render::PointLayout:
Public Member Functions | |
PointLayout () | |
~PointLayout () | |
PointLayout (const PointLayout &)=delete | |
PointLayout (PointLayout &&)=delete | |
void | operator= (const PointLayout &)=delete |
void | operator= (PointLayout &&)=delete |
void | bind_data (const ShaderAttribute &attribute, int stride, int offset) |
Public Member Functions inherited from eu::render::Id | |
Id () | |
~Id ()=default | |
Id (const Id &)=delete | |
Id (Id &&)=delete | |
void | operator= (const Id &)=delete |
void | operator= (Id &&)=delete |
gl::Uint | get_id () const |
Static Public Member Functions | |
static const PointLayout *& | get_bound () |
static void | bind (const PointLayout *vao) |
Public Attributes | |
std::vector< ShaderAttribute > | attributes |
Additional Inherited Members | |
Protected Attributes inherited from eu::render::Id | |
gl::Uint | id |
Detailed Description
Stores what the data in the vertex_buffer is and how it is laid out/used Represents a OpenGL Vertex Array Object (VAO).
Constructor & Destructor Documentation
◆ PointLayout() [1/3]
◆ ~PointLayout()
◆ PointLayout() [2/3]
|
delete |
◆ PointLayout() [3/3]
|
delete |
Member Function Documentation
◆ bind()
|
static |
◆ bind_data()
void eu::render::PointLayout::bind_data | ( | const ShaderAttribute & | attribute, |
int | stride, | ||
int | offset | ||
) |
◆ get_bound()
|
static |
◆ operator=() [1/2]
|
delete |
◆ operator=() [2/2]
|
delete |
Member Data Documentation
◆ attributes
std::vector<ShaderAttribute> eu::render::PointLayout::attributes |
The documentation for this struct was generated from the following files: