Added Material::HasCustomShaderProgram
Former-commit-id: bdd119b41d5312a65aec2d781a78283343ef4b4c
This commit is contained in:
@@ -289,6 +289,11 @@ bool NzMaterial::HasAlphaMap() const
|
||||
return m_alphaMap.IsValid();
|
||||
}
|
||||
|
||||
bool NzMaterial::HasCustomShaderProgram(nzShaderTarget target, nzUInt32 flags) const
|
||||
{
|
||||
return m_programs[target][flags].custom;
|
||||
}
|
||||
|
||||
bool NzMaterial::HasDiffuseMap() const
|
||||
{
|
||||
return m_diffuseMap.IsValid();
|
||||
|
||||
Reference in New Issue
Block a user