Share via


ShaderConstantCollection.Item Property (String)

Gets a specific ShaderConstant object using an index value.

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

Syntax

public ShaderConstant this [
         string name
] { get; }

Property Value

The ShaderConstant object specified by name.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista