18 #ifndef INCLUDED_MATERIAL 19 #define INCLUDED_MATERIAL 90 #endif // INCLUDED_MATERIAL CStrIntern Name
Definition: Material.h:37
void AddShaderDefine(CStrIntern key, CStrIntern value)
Definition: Material.cpp:33
void AddSampler(const TextureSampler &texture)
Definition: Material.cpp:43
CMaterial()
Definition: Material.cpp:23
const CShaderRenderQueries & GetRenderQueries() const
Definition: Material.h:68
CShaderRenderQueries m_RenderQueries
Definition: Material.h:85
bool m_AlphaBlending
Definition: Material.h:87
std::vector< CStrIntern > m_RequiredSamplers
Definition: Material.h:80
void SetUsesAlphaBlending(bool flag)
Definition: Material.h:48
Uniform values that need to be evaluated in the renderer.
Definition: ShaderDefines.h:202
const CTexturePtr & GetDiffuseTexture() const
Definition: Material.h:51
Definition: Material.h:28
const CShaderUniforms & GetStaticUniforms() const
Definition: Material.h:62
Definition: Vector4D.h:30
CTexturePtr Sampler
Definition: Material.h:38
void SetShaderEffect(const CStr &effect)
Definition: Material.cpp:28
Interned 8-bit strings.
Definition: CStrIntern.h:37
CTexturePtr m_DiffuseTexture
Definition: Material.h:77
CStrIntern m_ShaderEffect
Definition: Material.h:82
pthread_key_t key
Definition: wpthread.cpp:140
void AddRequiredSampler(const CStr &samplerName)
Definition: Material.cpp:55
TextureSampler(const CStrIntern &n, CTexturePtr t)
Definition: Material.h:35
Represents a mapping of name strings to value strings, for use with #if and #ifdef and similar condit...
Definition: ShaderDefines.h:146
std::vector< TextureSampler > SamplersVector
Definition: Material.h:41
const CShaderDefines & GetShaderDefines() const
Definition: Material.h:59
SamplersVector m_Samplers
Definition: Material.h:79
CShaderUniforms m_StaticUniforms
Definition: Material.h:84
void AddRenderQuery(const char *key)
Definition: Material.cpp:50
std::shared_ptr< CTexture > CTexturePtr
Definition: Texture.h:22
void AddStaticUniform(const char *key, const CVector4D &value)
Definition: Material.cpp:38
CShaderDefines m_ShaderDefines
Definition: Material.h:83
bool UsesAlphaBlending() const
Definition: Material.h:49
const SamplersVector & GetSamplers() const
Definition: Material.h:65
Definition: Material.h:32
const std::vector< CStrIntern > & GetRequiredSampler() const
Definition: Material.h:71
CStrIntern GetShaderEffect() const
Definition: Material.h:54
TextureSampler(const CStr &n, CTexturePtr t)
Definition: Material.h:34