Click or drag to resize

ShaderParamType Enumeration

Represents the data types in which ShaderParam instances can store their value.

Namespace:  Syroot.NintenTools.Bfres
Assembly:  Syroot.NintenTools.Bfres (in Syroot.NintenTools.Bfres.dll) Version: 1.2.1
Syntax
C#
public enum ShaderParamType
Members
  Member nameDescription
Bool The value is a single Boolean.
Bool2 The value is a Vector2Bool.
Bool3 The value is a Vector3Bool.
Bool4 The value is a Vector4Bool.
Int The value is a single Int32.
Int2 The value is a Vector2.
Int3 The value is a Vector3.
Int4 The value is a Vector4.
UInt The value is a single UInt32.
UInt2 The value is a Vector2U.
UInt3 The value is a Vector3U.
UInt4 The value is a Vector4U.
Float The value is a single Single.
Float2 The value is a Vector2F.
Float3 The value is a Vector3F.
Float4 The value is a Vector4F.
Reserved2 An invalid type for ShaderParam values, only used for internal computations.
Float2x2 The value is a Matrix2.
Float2x3 The value is a Matrix2x3.
Float2x4 The value is a Matrix2x4.
Reserved3 An invalid type for ShaderParam values, only used for internal computations.
Float3x2 The value is a Matrix3x2.
Float3x3 The value is a Matrix3.
Float3x4 The value is a Matrix3x4.
Reserved4 An invalid type for ShaderParam values, only used for internal computations.
Float4x2 The value is a Single.
Float4x3 The value is a Matrix4x3.
Float4x4 The value is a Matrix4.
Srt2D The value is a Srt2D.
Srt3D The value is a Srt3D.
TexSrt The value is a TexSrt.
TexSrtEx The value is a TexSrtEx.
See Also