Table of Contents

Enum EffectParameterType

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Defines types for effect parameters and shader constants.

public enum EffectParameterType

Fields

Bool = 1

Boolean type. Any non-zero will be true; false otherwise.

Int32 = 2

32-bit integer type.

Single = 3

Float type.

String = 4

String type.

Texture = 5

Any texture type.

Texture1D = 6

1D-texture type.

Texture2D = 7

2D-texture type.

Texture3D = 8

3D-texture type.

TextureCube = 9

Cubic texture type.

Void = 0

Pointer to void type.