![]() |
![]() |
![]() |
Include.Open Method |
Language: |
Opens and reads the contents of a shader #include file.
Visual Basic .NET MustOverride Public Function Open( _
ByVal includeType As IncludeType, _
ByVal filename As String _
) As StreamC# 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;
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center