Legacy:HardwareShader - Unreal Wiki

# Legacy:HardwareShader

### From Unreal Wiki, The Unreal Engine Documentation Site

... ENGINE ... :: Object >> Material >> RenderedMaterial >> HardwareShader

## Properties

int NumPasses
int PixelShader[4]
int VertexShader[4]

### HardwareShader

int AlphaBlending[4]
byte AlphaRef[4]
int AlphaTest[4]
byte DestBlend[16]
string PixelShaderText[4]
SConstantsInfo PSConstants[32]
byte SrcBlend[16]
array<INT> StreamMapping
  * Indexed array of where the streams will show up
  * if StreamMapping[0] == NORMAL then v0 will contain the vertex normal
Texture Textures[32]
string VertexShaderText[4]
SConstantsInfo VSConstants[200]
int ZTest[4]
int ZWrite[4]

## Enums

### SConstant

EVC_Unused
EVC_MaterialDefined
EVC_ViewProjMatrix
EVC_WorldViewProjMatrix
EVC_WorldMatrix
EVC_InvViewMatrix
EVC_ViewMatrix
EVC_InvWorldMatrix
EVC_Time
EVC_CosTime
EVC_SinTime
EVC_TanTime
EVC_Eye
EVC_XYCircle
EVC_NearestLightPos1
EVC_InvLightRadius1
EVC_NearestLightPos2
EVC_InvLightRadius2
EVC_LightColor1
EVC_LightColor2
EVC_Max

## Structures

### SConstantsInfo

- Used to specify constants for a vertex shader.

SConstant Type
Plane Value

##### Views

- Legacy
- Discussion
- Current revision

##### Search