Classes | Public Member Functions | Protected Attributes | Friends | List of all members
ion::Graphics::GL::CDrawConfig Class Reference

#include <CDrawContext.h>

Inheritance diagram for ion::Graphics::GL::CDrawConfig:
Inheritance graph
[legend]
Collaboration diagram for ion::Graphics::GL::CDrawConfig:
Collaboration graph
[legend]

Classes

struct  STextureBinding
 
struct  SUniformBinding
 

Public Member Functions

virtual void SetVertexBuffer (uint const Index, SharedPointer< IVertexBuffer > VertexBuffer)
 
virtual void SetIndexBuffer (SharedPointer< IIndexBuffer > IndexBuffer)
 
virtual void SetUniform (string const &Name, SharedPointer< IUniform > Uniform)
 
virtual void SetTexture (string const &Name, SharedPointer< ITexture > Texture)
 
virtual void SetInstanceCount (uint const Count)
 
- Public Member Functions inherited from ion::Graphics::IDrawConfig
virtual ~IDrawConfig ()
 

Protected Attributes

vector< SharedPointer< CVertexBuffer > > VertexBuffers
 
SharedPointer< CIndexBufferIndexBuffer
 
SharedPointer< CIndexBufferUsedIndexBuffer
 
map< string, SUniformBinding * > ProvidedUniforms
 
map< string, STextureBinding * > ProvidedTextures
 
vector< SUniformBinding * > UniformBindings
 
vector< STextureBinding * > TextureBindings
 
set< string > RequiredUniforms
 
set< string > UnboundAttributes
 
uint VertexArrayHandle = 0
 
bool NeedsToBeLoaded = true
 
bool LoadedSuccessfully = false
 
uint InstanceCount = 0
 
CDrawContextContainer = nullptr
 

Friends

class CDrawContext
 

Member Function Documentation

void ion::Graphics::GL::CDrawConfig::SetIndexBuffer ( SharedPointer< IIndexBuffer IndexBuffer)
virtual
void ion::Graphics::GL::CDrawConfig::SetInstanceCount ( uint const  Count)
virtual
void ion::Graphics::GL::CDrawConfig::SetTexture ( string const &  Name,
SharedPointer< ITexture Texture 
)
virtual
void ion::Graphics::GL::CDrawConfig::SetUniform ( string const &  Name,
SharedPointer< IUniform Uniform 
)
virtual
void ion::Graphics::GL::CDrawConfig::SetVertexBuffer ( uint const  Index,
SharedPointer< IVertexBuffer VertexBuffer 
)
virtual

Friends And Related Function Documentation

friend class CDrawContext
friend

Member Data Documentation

CDrawContext* ion::Graphics::GL::CDrawConfig::Container = nullptr
protected
SharedPointer<CIndexBuffer> ion::Graphics::GL::CDrawConfig::IndexBuffer
protected
uint ion::Graphics::GL::CDrawConfig::InstanceCount = 0
protected
bool ion::Graphics::GL::CDrawConfig::LoadedSuccessfully = false
protected
bool ion::Graphics::GL::CDrawConfig::NeedsToBeLoaded = true
protected
map<string, STextureBinding *> ion::Graphics::GL::CDrawConfig::ProvidedTextures
protected
map<string, SUniformBinding *> ion::Graphics::GL::CDrawConfig::ProvidedUniforms
protected
set<string> ion::Graphics::GL::CDrawConfig::RequiredUniforms
protected
vector<STextureBinding *> ion::Graphics::GL::CDrawConfig::TextureBindings
protected
set<string> ion::Graphics::GL::CDrawConfig::UnboundAttributes
protected
vector<SUniformBinding *> ion::Graphics::GL::CDrawConfig::UniformBindings
protected
SharedPointer<CIndexBuffer> ion::Graphics::GL::CDrawConfig::UsedIndexBuffer
protected
uint ion::Graphics::GL::CDrawConfig::VertexArrayHandle = 0
protected
vector<SharedPointer<CVertexBuffer> > ion::Graphics::GL::CDrawConfig::VertexBuffers
protected

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