Always snap to grid

UE2:HardwareShader (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Material >> RenderedMaterial >> HardwareShader
Package: 
Engine

null

Properties

Property group 'HardwareShader'

AlphaBlending

Type: int

Array size: 4


AlphaRef

Type: byte

Array size: 4


AlphaTest

Type: int

Array size: 4


DestBlend

Type: byte

Array size: 16


NumPasses

Type: int


Default value: 1

PixelShaderText

Type: string

Array size: 4


PSConstants

Type: SConstantsInfo

Array size: 32


SrcBlend

Type: byte

Array size: 16


StreamMapping

Type: array<int>

Indexed array of where the streams will show up if StreamMapping[0] == NORMAL then v0 will contain the vertex normal

Textures

Type: Texture

Array size: 32


VertexShaderText

Type: string

Array size: 4


VSConstants

Type: SConstantsInfo

Array size: 200


ZTest

Type: int

Array size: 4


ZWrite

Type: int

Array size: 4


Internal variables

PixelShader

Type: int

Array size: 4

Modifiers: transient, const


VertexShader

Type: int

Array size: 4

Modifiers: transient, const


Enums

SConstant

EVC_Unused 
This constant isn't used by the shader and does not need to be updated
EVC_MaterialDefined 
The constant is defined by by the Value member of FVSConstantsInfo
EVC_ViewProjMatrix 
The constant, and the three constants after it will contain the view projection matrix
EVC_WorldViewProjMatrix 
EVC_WorldMatrix 
EVC_InvViewMatrix 
The constant, and the three constants after it will contain the inverse view matrix
EVC_ViewMatrix 
The constant, and the three constants after it will contain the view matrix
EVC_InvWorldMatrix 
EVC_Time 
Time, cycled over 120 seconds
EVC_CosTime 
EVC_SinTime 
EVC_TanTime 
EVC_Eye 
EVC_XYCircle 
EVC_NearestLightPos1 
EVC_InvLightRadius1 
EVC_NearestLightPos2 
EVC_InvLightRadius2 
EVC_LightColor1 
EVC_LightColor2 
EVC_Max 

Structs

SConstantsInfo

Used to specify constants for a vertex shader.

SConstant Type 
Object.Plane Value