Home
last modified time | relevance | path

Searched refs:materialHash (Results 1 – 6 of 6) sorted by relevance

/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_MaterialActivator.cpp67 RenderContext::MaterialHash materialHash = renderContext->GetMaterialHash(); in Activate() local
72 (shaderParametersHash != materialHash.shaderParameter) || in Activate()
78 materialHash.shaderParameter = shaderParametersHash; in Activate()
88 …(shadingParametersHash != materialHash.shadingParameter) || shadingParametersHash == 0x0 || areVer… in Activate()
92 materialHash.shadingParameter = shadingParametersHash; in Activate()
97 …bool isRasterizationEnabled = (rasterizationHash != materialHash.rasterization) || rasterizationHa… in Activate()
101 materialHash.rasterization = rasterizationHash; in Activate()
106 …bool isTextureCoordinatorEnabled = (textureCoordinatorHash != materialHash.textureCoordinator) || … in Activate()
110 materialHash.textureCoordinator = textureCoordinatorHash; in Activate()
115 …bool isTextureMappersEnabled = (textureMappersHash != materialHash.textureMapper) || textureMapper… in Activate()
[all …]
Dgfx_SimpleMaterialActivator.cpp80 RenderContext::MaterialHash materialHash = renderContext->GetMaterialHash(); in Activate() local
86 (shaderParametersHash != materialHash.shaderParameter) || in Activate()
91 materialHash.shaderParameter = shaderParametersHash; in Activate()
101 …(shadingParametersHash == 0x0) || (shadingParametersHash != materialHash.shadingParameter) || areV… in Activate()
105 materialHash.shadingParameter = shadingParametersHash; in Activate()
110 …bool isRasterizationEnabled = (rasterizationHash == 0x0) || (rasterizationHash != materialHash.ras… in Activate()
114 materialHash.rasterization = rasterizationHash; in Activate()
119 …abled = (textureCoordinatorHash == 0x0) || (textureCoordinatorHash != materialHash.textureCoordina… in Activate()
123 materialHash.textureCoordinator = textureCoordinatorHash; in Activate()
128 …MappersEnabled = (textureMappersHash == 0x0) || (textureMappersHash != materialHash.textureMapper); in Activate()
[all …]
Dgfx_ParticleMaterialActivator.cpp74 RenderContext::MaterialHash materialHash = renderContext->GetMaterialHash(); in Activate() local
87 …bool isRasterizationEnabled = (rasterizationHash == 0x0) || (rasterizationHash != materialHash.ras… in Activate()
91 materialHash.rasterization = rasterizationHash; in Activate()
97 if (textureCoordinatorHash != materialHash.textureCoordinator) in Activate()
101 materialHash.textureCoordinator = textureCoordinatorHash; in Activate()
107 …MappersEnabled = (textureMappersHash == 0x0) || (textureMappersHash != materialHash.textureMapper); in Activate()
111 materialHash.textureMapper = textureMappersHash; in Activate()
121 …bool isMaterialColorEnabled = (materialColorHash == 0x0) || (materialColorHash != materialHash.mat… in Activate()
126 …rsEnabled = (textureCombinersHash == 0x0) || (textureCombinersHash != materialHash.textureCombiner… in Activate()
130 materialHash.textureCombiner = textureCombinersHash; in Activate()
[all …]
Dgfx_RelativeHashMaterialIdGenerator.cpp78 RelativeHashMaterialIdGenerator::CompareHash(u32 materialHash, MaterialOrder order) in CompareHash() argument
83 if (materialHash != m_DefaultHashes[order]) in CompareHash()
85 if (materialHash > m_DefaultHashes[order]) in CompareHash()
/NW4C-1.2.23/include/nw/gfx/
Dgfx_RelativeHashMaterialIdGenerator.h153 NW_INLINE u32 CompareHash(u32 materialHash, MaterialOrder order);
Dgfx_RenderContext.h427 void SetMaterialHash(const MaterialHash& materialHash) { this->m_MaterialHash = materialHash; } in SetMaterialHash() argument