ShaderConstantTable Constructor
Initializes a new instance of the ShaderConstantTable class.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public ShaderConstantTable (
byte[] code
)
Parameters
- code
The shader byte code.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | code is null. |
InvalidOperationException | Unable to create the ShaderConstantTable. |
See Also
Reference
ShaderConstantTable Class
ShaderConstantTable Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista