VISH  0.2
Public Types | Public Member Functions | Public Attributes | Static Public Attributes
Wizt::Programmable Struct Reference

A helper class to create a shader program from either intrinsic code, or external files, as given under the specified name in Programmable::CompileShader(). More...

#include </home/werner/origo/vish/ocean/Anemonia/Programmable.hpp>

List of all members.

Public Types

Public Member Functions

Public Attributes

Static Public Attributes


Detailed Description

A helper class to create a shader program from either intrinsic code, or external files, as given under the specified name in Programmable::CompileShader().

If no files exist, then the virtual functions are called. If files exist, they are read in and their content used instead. If files exist but have zero length, then they will be overwritten and the internal code will be inserted into them.

Todo:
As of now, there is no path searching implemented. Shader code will be used from the current directory, whatever this might be.

The documentation for this struct was generated from the following files: