I'm a doctor, not a mechanic

UE2:HardwareShader (U2)

From Unreal Wiki, The Unreal Engine Documentation Site

(Redirected from UE2:SConstantsInfo (U2))
Jump to: navigation, search
U2 Object >> Material >> RenderedMaterial >> HardwareShader

Contents

Package: 
Engine

null

[edit] Properties

[edit] Property group 'HardwareShader'

[edit] AlphaBlending

Type: int

Array size: 4


[edit] AlphaRef

Type: byte

Array size: 4


[edit] AlphaTest

Type: int

Array size: 4


[edit] DestBlend

Type: byte

Array size: 16


[edit] NumPasses

Type: int


Default value: 1

[edit] PixelShaderText

Type: string

Array size: 4


[edit] PSConstants

Type: SConstantsInfo

Array size: 32


[edit] SrcBlend

Type: byte

Array size: 16


[edit] StreamMapping

Type: array<int>

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

[edit] Textures

Type: Texture

Array size: 32


[edit] VertexShaderText

Type: string

Array size: 4


[edit] VSConstants

Type: SConstantsInfo

Array size: 200


[edit] ZTest

Type: int

Array size: 4


[edit] ZWrite

Type: int

Array size: 4


[edit] Internal variables

[edit] PixelShader

Type: int

Array size: 4

Modifiers: transient, const


[edit] VertexShader

Type: int

Array size: 4

Modifiers: transient, const


[edit] Enums

[edit] 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 

[edit] Structs

[edit] SConstantsInfo

Used to specify constants for a vertex shader.

SConstant Type 
Object.Plane Value