共用方式為


EffectParameterClass Enumeration

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

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

Syntax

public enum EffectParameterClass

Members

  Member name Description
Matrix Constant is a 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

Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP