Dela via


ShaderConstantTable.SetDefaults Method

Sets the constants in the ShaderConstantTable to their default values. The default values are declared in the variable declarations in the shader.

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

Syntax

public void SetDefaults (
         GraphicsDevice device
)

Parameters

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista