Ion
|
This struct is stored for each registered ShaderInput. More...
#include "shaderinputregistry.h"
Public Member Functions | |
Spec (const std::string &name_in=std::string(), typename T::ValueType value_type_in=static_cast< typename T::ValueType >(0), const std::string &doc_string_in=std::string(), typename CombineFunction< T >::Type combine_function_in=nullptr, typename GenerateFunction< T >::Type generate_function_in=nullptr) | |
Public Attributes | |
std::string | name |
T::ValueType | value_type |
std::string | doc_string |
size_t | index |
size_t | registry_id |
ShaderInputRegistry * | registry |
The registry that created this spec. More... | |
CombineFunction< T >::Type | combine_function |
Function used to combine values. More... | |
GenerateFunction< T >::Type | generate_function |
Function used to generate values. More... | |
This struct is stored for each registered ShaderInput.
Definition at line 131 of file shaderinputregistry.h.
|
inline |
Definition at line 132 of file shaderinputregistry.h.
CombineFunction<T>::Type ion::gfx::ShaderInputRegistry::Spec< T >::combine_function |
Function used to combine values.
Definition at line 157 of file shaderinputregistry.h.
std::string ion::gfx::ShaderInputRegistry::Spec< T >::doc_string |
Definition at line 149 of file shaderinputregistry.h.
GenerateFunction<T>::Type ion::gfx::ShaderInputRegistry::Spec< T >::generate_function |
Function used to generate values.
Definition at line 159 of file shaderinputregistry.h.
size_t ion::gfx::ShaderInputRegistry::Spec< T >::index |
Definition at line 150 of file shaderinputregistry.h.
std::string ion::gfx::ShaderInputRegistry::Spec< T >::name |
Definition at line 147 of file shaderinputregistry.h.
Referenced by ion::gfx::ShaderInputRegistry::Add().
ShaderInputRegistry* ion::gfx::ShaderInputRegistry::Spec< T >::registry |
The registry that created this spec.
This is a raw pointer since when the registry is destroyed, the spec will be as well.
Definition at line 154 of file shaderinputregistry.h.
size_t ion::gfx::ShaderInputRegistry::Spec< T >::registry_id |
Definition at line 151 of file shaderinputregistry.h.
T::ValueType ion::gfx::ShaderInputRegistry::Spec< T >::value_type |
Definition at line 148 of file shaderinputregistry.h.