| ConstantTable.FromShader Method | Language: | 
Returns a constant table from a GraphicsStream shader data object.
Visual Basic Public Shared Function FromShader( _ 
ByVal code As GraphicsStream _
) As ConstantTableC# public static ConstantTable FromShader( 
GraphicsStream code
);C++ public: 
static ConstantTable^ FromShader(
GraphicsStream^ code
);JScript public static function FromShader( 
code : GraphicsStream
) : ConstantTable;
code Microsoft.DirectX.GraphicsStream 
A GraphicsStream object that contains shader data.
Microsoft.DirectX.Direct3D.ConstantTable
The constant table contained within the GraphicsStream object.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.