nw::gfx::RenderContext::MaterialHash Structure

Syntax

struct MaterialHash
{
   u32 shaderParameter;
   u32 shadingParameter;
   u32 materialColor;
   u32 rasterization;
   u32 textureCoordinator;
   u32 textureMapper;
   u32 fragmentLighting;
   u32 fragmentLightingTable;
   u32 textureCombiner;
   u32 fragmentOperation;
   u32 alphaTest;
};

Description

Member Variables

shaderParameter u32
shadingParameter u32
materialColor u32
rasterization u32
textureCoordinator u32
textureMapper u32
fragmentLighting u32
fragmentLightingTable u32
textureCombiner u32
fragmentOperation u32
alphaTest u32

Member Functions

MaterialHash
ResetMaterialHash Disables a material hash.

CONFIDENTIAL