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
shadingParameter
materialColor
rasterization
textureCoordinator
textureMapper
fragmentLighting
fragmentLightingTable
textureCombiner
fragmentOperation
alphaTest

Member Functions

MaterialHash
ResetMaterialHash Disables a material hash.

CONFIDENTIAL