#include <Material.h>
|
| | Material () |
| |
| virtual | ~Material () |
| |
| const MaterialDescriptor & | GetDescriptor () const |
| |
| virtual bool | IsProgramLoaded () const =0 |
| |
| virtual bool | SetTexture (size_t hash, Texture *tex)=0 |
| |
| virtual bool | SetBufferDynamic (size_t hash, void *buffer, size_t size)=0 |
| |
| template<typename T > |
| bool | SetBufferDynamic (size_t hash, T *buffer) |
| |
| virtual bool | SetBuffer (size_t hash, BufferBinding< UniformBuffer > uboBinding)=0 |
| |
| virtual bool | SetPushConstant (size_t hash, int i)=0 |
| |
| virtual bool | SetPushConstant (size_t hash, float f)=0 |
| |
| virtual bool | SetPushConstant (size_t hash, vector3f v3)=0 |
| |
| virtual bool | SetPushConstant (size_t hash, vector3f v4, float f4)=0 |
| |
| virtual bool | SetPushConstant (size_t hash, Color c)=0 |
| |
| virtual bool | SetPushConstant (size_t hash, matrix3x3f mat3)=0 |
| |
| virtual bool | SetPushConstant (size_t hash, matrix4x4f mat4)=0 |
| |
| | RefCounted () |
| |
| virtual | ~RefCounted () |
| |
| void | IncRefCount () const |
| |
| void | DecRefCount () const |
| |
| int | GetRefCount () const |
| |
| virtual | ~LuaWrappable () |
| |
◆ Material()
| Graphics::Material::Material |
( |
| ) |
|
◆ ~Material()
| virtual Graphics::Material::~Material |
( |
| ) |
|
|
inlinevirtual |
◆ GetDescriptor()
◆ IsProgramLoaded()
| virtual bool Graphics::Material::IsProgramLoaded |
( |
| ) |
const |
|
pure virtual |
◆ SetBuffer()
◆ SetBufferDynamic() [1/2]
template<typename T >
| bool Graphics::Material::SetBufferDynamic |
( |
size_t |
hash, |
|
|
T * |
buffer |
|
) |
| |
|
inline |
◆ SetBufferDynamic() [2/2]
| virtual bool Graphics::Material::SetBufferDynamic |
( |
size_t |
hash, |
|
|
void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
◆ SetPushConstant() [1/7]
| virtual bool Graphics::Material::SetPushConstant |
( |
size_t |
hash, |
|
|
Color |
c |
|
) |
| |
|
pure virtual |
◆ SetPushConstant() [2/7]
| virtual bool Graphics::Material::SetPushConstant |
( |
size_t |
hash, |
|
|
float |
f |
|
) |
| |
|
pure virtual |
◆ SetPushConstant() [3/7]
| virtual bool Graphics::Material::SetPushConstant |
( |
size_t |
hash, |
|
|
int |
i |
|
) |
| |
|
pure virtual |
◆ SetPushConstant() [4/7]
| virtual bool Graphics::Material::SetPushConstant |
( |
size_t |
hash, |
|
|
matrix3x3f |
mat3 |
|
) |
| |
|
pure virtual |
◆ SetPushConstant() [5/7]
| virtual bool Graphics::Material::SetPushConstant |
( |
size_t |
hash, |
|
|
matrix4x4f |
mat4 |
|
) |
| |
|
pure virtual |
◆ SetPushConstant() [6/7]
| virtual bool Graphics::Material::SetPushConstant |
( |
size_t |
hash, |
|
|
vector3f |
v3 |
|
) |
| |
|
pure virtual |
◆ SetPushConstant() [7/7]
| virtual bool Graphics::Material::SetPushConstant |
( |
size_t |
hash, |
|
|
vector3f |
v4, |
|
|
float |
f4 |
|
) |
| |
|
pure virtual |
◆ SetTexture()
| virtual bool Graphics::Material::SetTexture |
( |
size_t |
hash, |
|
|
Texture * |
tex |
|
) |
| |
|
pure virtual |
◆ RendererOGL
◆ diffuse
| Color Graphics::Material::diffuse |
◆ emissive
| Color Graphics::Material::emissive |
◆ m_descriptor
◆ m_renderStateHash
| size_t Graphics::Material::m_renderStateHash |
|
protected |
◆ shininess
| float Graphics::Material::shininess |
◆ specular
| Color Graphics::Material::specular |
The documentation for this class was generated from the following files: