Added shader flags
Renamed ShaderBuilder enum to ShaderFlags Former-commit-id: b3440bac5491f0a0a90cbd7f9ed8e396c16c0864
This commit is contained in:
@@ -93,6 +93,11 @@ void NzShader::Destroy()
|
||||
}
|
||||
}
|
||||
|
||||
nzUInt32 NzShader::GetFlags() const
|
||||
{
|
||||
return m_flags;
|
||||
}
|
||||
|
||||
NzString NzShader::GetLog() const
|
||||
{
|
||||
#if NAZARA_RENDERER_SAFE
|
||||
@@ -602,6 +607,11 @@ bool NzShader::SendVector(int location, const NzVector4f& vector) const
|
||||
return m_impl->SendVector(location, vector);
|
||||
}
|
||||
|
||||
void NzShader::SetFlags(nzUInt32 flags)
|
||||
{
|
||||
m_flags = flags;
|
||||
}
|
||||
|
||||
void NzShader::Unlock()
|
||||
{
|
||||
#if NAZARA_RENDERER_SAFE
|
||||
|
||||
Reference in New Issue
Block a user