Documentation for module: Graphics

Former-commit-id: 5fba876346aec7b35bc618002b669ff194e58544
This commit is contained in:
Gawaboumga
2016-05-30 14:21:36 +02:00
parent 6b1cfca761
commit 74081c2b9f
94 changed files with 4858 additions and 504 deletions

View File

@@ -151,7 +151,7 @@ namespace Nz
inline Material& operator=(const Material& material);
static MaterialRef GetDefault();
inline static MaterialRef GetDefault();
template<typename... Args> static MaterialRef New(Args&&... args);
// Signals:
@@ -163,7 +163,7 @@ namespace Nz
{
const Shader* shader;
UberShaderInstance* uberInstance = nullptr;
int uniforms[MaterialUniform_Max+1];
int uniforms[MaterialUniform_Max + 1];
};
void Copy(const Material& material);
@@ -187,7 +187,7 @@ namespace Nz
TextureRef m_normalMap;
TextureRef m_specularMap;
UberShaderConstRef m_uberShader;
mutable ShaderInstance m_shaders[ShaderFlags_Max+1];
mutable ShaderInstance m_shaders[ShaderFlags_Max + 1];
bool m_alphaTestEnabled;
bool m_depthSortingEnabled;
bool m_lightingEnabled;