Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::Shader::File Class Reference

The File class provides a function to import shader files. More...

#include <hps.h>

Static Public Member Functions

static ShaderKit Import (char const *in_file_name, ImportOptionsKit const &in_options)
 Performs a synchronous import of the specified shader file. More...
 

Private Member Functions

 File ()
 Private default constructor to prevent instantiation. More...
 

Detailed Description

The File class provides a function to import shader files.

Constructor & Destructor Documentation

◆ File()

HPS::Shader::File::File ( )
private

Private default constructor to prevent instantiation.

Member Function Documentation

◆ Import()

static ShaderKit HPS::Shader::File::Import ( char const *  in_file_name,
ImportOptionsKit const &  in_options 
)
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.

Parameters
in_file_nameName of shader file from which to get the source code.
in_optionsOptions 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: