Microsoft DirectX 9.0 SDK Update (October 2004)

Include.Open Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET MustOverride Public Function Open( _
    ByVal includeType As IncludeType, _
    ByVal filename As String _
) As Stream
C# public abstract Stream Open(
    IncludeType includeType,
    string filename
);
Managed C++ public: virtual Stream* Open(
    IncludeType includeType,
    String *filename
) = 0;
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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