molecular
Public Types | Public Attributes | List of all members
molecular::programgenerator::ProgramGenerator::Function Struct Reference

Information about a function. More...

#include <ProgramGenerator.h>

Public Types

enum  Stage { Stage::kVertexStage, Stage::kFragmentStage }
 

Public Attributes

std::vector< Variableinputs
 
std::string source
 
Variable output = 0
 
Variable outputArraySizeSource = 0
 Input variable from which the array size of the output variable is derived. More...
 
Stage stage = Stage::kVertexStage
 
int priority = 0
 Priority among functions providing the same output as this one. More...
 
bool highQuality = true
 Simple quality selector. More...
 

Detailed Description

Information about a function.

See also
CompareFunctions

Member Enumeration Documentation

Enumerator
kVertexStage 
kFragmentStage 

Member Data Documentation

bool molecular::programgenerator::ProgramGenerator::Function::highQuality = true

Simple quality selector.

std::vector<Variable> molecular::programgenerator::ProgramGenerator::Function::inputs
Variable molecular::programgenerator::ProgramGenerator::Function::output = 0
Variable molecular::programgenerator::ProgramGenerator::Function::outputArraySizeSource = 0

Input variable from which the array size of the output variable is derived.

int molecular::programgenerator::ProgramGenerator::Function::priority = 0

Priority among functions providing the same output as this one.

If there is more than one function providing same output while all inputs are available, the one with the highest priority wins.

See also
CompareFunctions
std::string molecular::programgenerator::ProgramGenerator::Function::source
Stage molecular::programgenerator::ProgramGenerator::Function::stage = Stage::kVertexStage

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