Include.Open Method |
Language: |
Opens and reads the contents of a shader #include file.
Visual Basic MustOverride Public Function Open( _
ByVal includeType As IncludeType, _
ByVal filename As String _
) As StreamC# public abstract Stream Open(
IncludeType includeType,
string filename
);C++ public:
virtual Stream^ Open(
IncludeType includeType,
String^ filename
) abstract;JScript public abstract function Open(
includeType : IncludeType,
filename : String
) : Stream;
includeType Microsoft.DirectX.Direct3D.IncludeType
An IncludeType object that represents the #include file to open.filename System.String
A String that contains the name of the #include file to open.
System.IO.Stream
A Stream 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