#include "ShDllExport.hpp"
Include dependency graph for ShVariableType.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | SH |
Enumerations | |
enum | ShBindingType { SH_INPUT, SH_OUTPUT, SH_INOUT, SH_TEMP, SH_CONST, SH_TEXTURE, SH_STREAM, SH_PALETTE, SH_BINDINGTYPE_END } |
The various ways variables can be bound. | |
enum | ShSemanticType { SH_ATTRIB, SH_POINT, SH_VECTOR, SH_NORMAL, SH_COLOR, SH_TEXCOORD, SH_POSITION, SH_SEMANTICTYPE_END } |
The various ways semantic types for variables. |
Each enum is zero-indexed.
For some Value types, the host data type and memory data types are different since the first must be efficient in host computation and the second needs to satisfy space constraints and special data formats used in some backends.
For more information on operations dealing with the data types such as allocation of arrays, automatic promotions, and casting.
Definition in file ShVariableType.hpp.