Noise Modeler Library  0.1
Library for procedurally generating noise-based terrains and other content
 All Classes Files Functions Variables Enumerations Enumerator Groups Pages
nm::glsl::GlslGenerator Class Reference

Generates glsl code to evaluate function graphs using OpenGL 3.0 shaders. More...

#include <glslgenerator.hpp>

Inheritance diagram for nm::glsl::GlslGenerator:
nm::InlineGenerator

Static Public Member Functions

static std::string compileToGlslFunction (const InputLink &inputLink, const OutputLink &outputLink, std::string name)
 
static std::string compileToGlslFunction (std::vector< const InputLink * > inputLinks, std::vector< const OutputLink * > outputLink, std::string name)
 
static std::string compileToGlslFunctionWithDependencies (const Module &module)
 
static std::string compileToGlslFunctionWithoutDependencies (const Module &module)
 

Protected Member Functions

virtual void genTypeKeyword (const SignalType &signalType, std::ostream &out) override
 
virtual std::unique_ptr
< nm::ModuleGenerator
getModuleGenerator (const Module &module) override
 

Detailed Description

Generates glsl code to evaluate function graphs using OpenGL 3.0 shaders.


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