Include.Open Method

Language:

Opens and reads the contents of a shader #include file.

Definition

Visual Basic MustOverride Public Function Open( _
    ByVal includeType As IncludeType, _
    ByVal filename As String _
) As Stream
C# public abstract Stream Open(
    IncludeType includeType,
    string filename
);
C++ public:
virtual StreamOpen(
    IncludeType includeType,
    Stringfilename
) abstract;
JScript public abstract function Open(
    includeType : IncludeType,
    filename : String
) : Stream;

Parameters

includeType Microsoft.DirectX.Direct3D.IncludeType
An IncludeType object that represents the #include file to open.
filename System.String
A String Leave Site that contains the name of the #include file to open.

Return Value

System.IO.Stream
A Stream Leave Site object that contains the #include file data.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center