Public Member Functions | Public Attributes | List of all members
ion::Graphics::GL::CVertexBuffer Class Reference

#include <CVertexBuffer.h>

Inheritance diagram for ion::Graphics::GL::CVertexBuffer:
Inheritance graph
Collaboration diagram for ion::Graphics::GL::CVertexBuffer:
Collaboration graph

Public Member Functions

 ~CVertexBuffer ()
void UploadData (void const *const Data, size_t const DataSize, size_t const NumberOfElements)
void UploadSubData (void const *const Data, size_t const DataSize, size_t const Offset, size_t const NumberOfElements)
void SetInputLayout (SInputLayoutElement const *const InputLayout, int const NumElements)
void SetInstancingEnabled (bool const Enabled)
- Public Member Functions inherited from ion::Graphics::IVertexBuffer
virtual ~IVertexBuffer ()
template<typename T >
void UploadData (vector< T > const &Data)
template<typename T >
void UploadSubData (vector< T > const &Data, size_t const Offset)

Public Attributes

uint Handle = 0
vector< SInputLayoutElementInputLayout
bool Instancing = false

Constructor & Destructor Documentation

ion::Graphics::GL::CVertexBuffer::~CVertexBuffer ( )

Member Function Documentation

void ion::Graphics::GL::CVertexBuffer::SetInputLayout ( SInputLayoutElement const *const  InputLayout,
int const  NumElements 
void ion::Graphics::GL::CVertexBuffer::SetInstancingEnabled ( bool const  Enabled)
void ion::Graphics::GL::CVertexBuffer::UploadData ( void const *const  Data,
size_t const  DataSize,
size_t const  NumberOfElements 
void ion::Graphics::GL::CVertexBuffer::UploadSubData ( void const *const  Data,
size_t const  DataSize,
size_t const  Offset,
size_t const  NumberOfElements 

Member Data Documentation

uint ion::Graphics::GL::CVertexBuffer::Handle = 0
vector<SInputLayoutElement> ion::Graphics::GL::CVertexBuffer::InputLayout
bool ion::Graphics::GL::CVertexBuffer::Instancing = false

The documentation for this class was generated from the following files: