Bagikan melalui


EffectParameterClass Enumeration

Defines classes that can be used for effect parameters or shader constants.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public enum EffectParameterClass

Members

  Member name Description
MatrixColumns Constant is a column major matrix.
MatrixRows Constant is a row major matrix.
Object Constant is either a texture, a shader, or a string.
Scalar Constant is a scalar.
Struct Constant is a structure.
Vector Constant is a vector.

See Also

Reference

EffectParameter.ParameterClass Property
ShaderConstant.ParameterClass Property
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista