molecular
|
Information about a variable. More...
#include <ProgramGenerator.h>
Public Types | |
enum | Usage { Usage::kUniformOrLocal, Usage::kAttribute, Usage::kOutput } |
Public Member Functions | |
VariableInfo ()=default | |
VariableInfo (const char *name, const char *type, bool array=false, Usage usage=Usage::kUniformOrLocal) | |
Public Attributes | |
std::string | name |
std::string | type |
Usage | usage = Usage::kUniformOrLocal |
bool | array = false |
Information about a variable.
|
default |
|
inline |
bool molecular::programgenerator::ProgramGenerator::VariableInfo::array = false |
std::string molecular::programgenerator::ProgramGenerator::VariableInfo::name |
std::string molecular::programgenerator::ProgramGenerator::VariableInfo::type |
Usage molecular::programgenerator::ProgramGenerator::VariableInfo::usage = Usage::kUniformOrLocal |