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
- device
The GraphicsDevice associated with the ShaderConstantTable.
See Also
Reference
ShaderConstantTable Class
ShaderConstantTable Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista