EffectParameterType Enumeration (Microsoft.Xna.Framework.Graphics)

Defines types for effect parameters and shader constants.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public enum EffectParameterType

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The EffectParameterType type exposes the following members.

  Platforms Name Description
Bool Boolean type. Any non-zero will be true; false otherwise. 
Int32 32-bit integer type. 
Single Float type. 
String String type. 
Texture Any texture type. 
Texture1D 1D-texture type. 
Texture2D 2D-texture type. 
Texture3D 3D-texture type. 
TextureCube Cubic texture type. 
Void Pointer to void type. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web