#include <MaterialGL.h>
|
| | Material () |
| |
| virtual bool | IsProgramLoaded () const override final |
| |
| virtual void | SetShader (Shader *p) |
| |
| virtual const Shader * | GetShader () const |
| |
| virtual bool | SetTexture (size_t name, Texture *tex) override |
| |
| virtual bool | SetBufferDynamic (size_t name, void *buffer, size_t size) override |
| |
| virtual bool | SetBuffer (size_t name, BufferBinding< Graphics::UniformBuffer > ub) override |
| |
| virtual bool | SetPushConstant (size_t name, int i) override |
| |
| virtual bool | SetPushConstant (size_t name, float f) override |
| |
| virtual bool | SetPushConstant (size_t name, vector3f v3) override |
| |
| virtual bool | SetPushConstant (size_t name, vector3f v4, float f4) override |
| |
| virtual bool | SetPushConstant (size_t name, Color c) override |
| |
| virtual bool | SetPushConstant (size_t name, matrix3x3f mat3) override |
| |
| virtual bool | SetPushConstant (size_t name, matrix4x4f mat4) override |
| |
| | Material () |
| |
| virtual | ~Material () |
| |
| const MaterialDescriptor & | GetDescriptor () const |
| |
| template<typename T > |
| bool | SetBufferDynamic (size_t hash, T *buffer) |
| |
| | RefCounted () |
| |
| virtual | ~RefCounted () |
| |
| void | IncRefCount () const |
| |
| void | DecRefCount () const |
| |
| int | GetRefCount () const |
| |
| virtual | ~LuaWrappable () |
| |
◆ Material()
| Graphics::OGL::Material::Material |
( |
| ) |
|
|
inline |
◆ Copy()
◆ EvaluateVariant()
| Program * Graphics::OGL::Material::EvaluateVariant |
( |
| ) |
|
|
protected |
◆ GetShader()
| virtual const Shader* Graphics::OGL::Material::GetShader |
( |
| ) |
const |
|
inlinevirtual |
◆ IsProgramLoaded()
| bool Graphics::OGL::Material::IsProgramLoaded |
( |
| ) |
const |
|
finaloverridevirtual |
◆ SetBuffer()
◆ SetBufferDynamic()
| bool Graphics::OGL::Material::SetBufferDynamic |
( |
size_t |
name, |
|
|
void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
overridevirtual |
◆ SetPushConstant() [1/7]
| bool Graphics::OGL::Material::SetPushConstant |
( |
size_t |
name, |
|
|
Color |
c |
|
) |
| |
|
overridevirtual |
◆ SetPushConstant() [2/7]
| bool Graphics::OGL::Material::SetPushConstant |
( |
size_t |
name, |
|
|
float |
f |
|
) |
| |
|
overridevirtual |
◆ SetPushConstant() [3/7]
| bool Graphics::OGL::Material::SetPushConstant |
( |
size_t |
name, |
|
|
int |
i |
|
) |
| |
|
overridevirtual |
◆ SetPushConstant() [4/7]
| bool Graphics::OGL::Material::SetPushConstant |
( |
size_t |
name, |
|
|
matrix3x3f |
mat3 |
|
) |
| |
|
overridevirtual |
◆ SetPushConstant() [5/7]
| bool Graphics::OGL::Material::SetPushConstant |
( |
size_t |
name, |
|
|
matrix4x4f |
mat4 |
|
) |
| |
|
overridevirtual |
◆ SetPushConstant() [6/7]
| bool Graphics::OGL::Material::SetPushConstant |
( |
size_t |
name, |
|
|
vector3f |
v3 |
|
) |
| |
|
overridevirtual |
◆ SetPushConstant() [7/7]
| bool Graphics::OGL::Material::SetPushConstant |
( |
size_t |
name, |
|
|
vector3f |
v4, |
|
|
float |
f4 |
|
) |
| |
|
overridevirtual |
◆ SetShader()
| void Graphics::OGL::Material::SetShader |
( |
Shader * |
p | ) |
|
|
virtual |
◆ SetTexture()
| bool Graphics::OGL::Material::SetTexture |
( |
size_t |
name, |
|
|
Texture * |
tex |
|
) |
| |
|
overridevirtual |
◆ UpdateDrawData()
| void Graphics::OGL::Material::UpdateDrawData |
( |
| ) |
|
|
protected |
◆ Graphics::RendererOGL
◆ OGL::CommandList
◆ m_activeVariant
| Program* Graphics::OGL::Material::m_activeVariant |
|
protected |
◆ m_bufferBindings
◆ m_perDrawBinding
| uint32_t Graphics::OGL::Material::m_perDrawBinding |
|
protected |
◆ m_pushConstants
| std::unique_ptr<char[]> Graphics::OGL::Material::m_pushConstants |
|
protected |
◆ m_renderer
◆ m_shader
| Shader* Graphics::OGL::Material::m_shader |
|
protected |
◆ m_textureBindings
| std::unique_ptr<Texture *[]> Graphics::OGL::Material::m_textureBindings |
|
protected |
The documentation for this class was generated from the following files: