Dela via


ShaderConstant.SamplerIndex Property

Gets the sampler index number of the ShaderConstant from the constant table.

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

Syntax

public int SamplerIndex { get; }

Property Value

The sampler index number of the ShaderConstant from the constant table.

See Also

Reference

ShaderConstant Class
ShaderConstant Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista