Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
HPS.Shader.File Class Reference
Inheritance diagram for HPS.Shader.File:

Public Member Functions | |
virtual void | Dispose () |
File (HPS.Shader.File in_that) | |
Static Public Member Functions | |
static HPS.ShaderKit | Import (string in_file_name, HPS.Shader.ImportOptionsKit in_options) |
Performs a synchronous import of the specified shader file. The function returns a ShaderKit with the source code from the shader file and with the specified options. May throw an IOException if a problem occurs during import. More... | |
Protected Member Functions | |
virtual void | deleteCptr () |
Protected Attributes | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The File class provides a function to import shader files.
Member Function Documentation
|
inlinestatic |
Performs a synchronous import of the specified shader file. The function returns a ShaderKit with the source code from the shader file and with the specified options. May throw an IOException if a problem occurs during import.
- Parameters
-
in_file_name Name of shader file from which to get the source code. in_options Options to set on the ShaderKit returned by this function.
- Returns
- A ShaderKit containing the source from the specified file and with the specified options.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.Shader.cs