Functions | |
const NAPAPI std::string | getUVInputName (int channel) |
const NAPAPI std::string | getColorInputName (int channel) |
Variables | |
constexpr const char * | position = "in_Position" |
Default shader position vertex input name. More... | |
constexpr const char * | normal = "in_Normals" |
Default shader normal vertex input name. More... | |
constexpr const char * | tangent = "in_Tangent" |
Default shader tangent vertex input name. More... | |
constexpr const char * | bitangent = "in_Bitangent" |
Default shader bi-tangent vertex input name. More... | |
constexpr const char * | color = "in_Color0" |
Default shader color vertex input name, 1 channel. More... | |
constexpr const char * | uv = "in_UV0" |
Default shader uv vertex input name, 1 channel. More... | |
Default shader vertex input names. TODO: Give vertex attribute and shader input the same names, removing the need declare separate shader input names -> update demos
const NAPAPI std::string nap::vertexid::shader::getColorInputName | ( | int | channel | ) |
channel | index to generate name for |
const NAPAPI std::string nap::vertexid::shader::getUVInputName | ( | int | channel | ) |
channel | index to generate name for |
|
constexpr |
Default shader bi-tangent vertex input name.
|
constexpr |
Default shader color vertex input name, 1 channel.
|
constexpr |
Default shader normal vertex input name.
|
constexpr |
Default shader position vertex input name.
|
constexpr |
Default shader tangent vertex input name.
|
constexpr |
Default shader uv vertex input name, 1 channel.