ConstantTable.FromShader Method

Language:

Returns a constant table from a GraphicsStream shader data object.

Definition

Visual Basic Public Shared Function FromShader( _
    ByVal code As GraphicsStream _
) As ConstantTable
C# public static ConstantTable FromShader(
    GraphicsStream code
);
C++ public:
static ConstantTableFromShader(
    GraphicsStreamcode
);
JScript public static function FromShader(
    code : GraphicsStream
) : ConstantTable;

Parameters

code Microsoft.DirectX.GraphicsStream
A GraphicsStream object that contains shader data.

Return Value

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.