REFERENCE MANUAL
The File class provides a function to import shader files. More...
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. More... | |
The File class provides a function to import shader files.
|
static |
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.
in_file_name | Name of shader file from which to get the source code. |
in_options | Options to set on the <ref refid="class_h_p_s_1_1_shader_kit" kindref="compound">ShaderKit</ref> returned by this function. |