|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Parameters of a 3D model mesh. More...
#include <GREM/graphics_3d/Model3D.hpp>
Public Attributes | |
| vec4 | meshBaseColorFactor |
| Base color factor. | |
| vec3 | meshOcclusionRoughnessMetallicFactor |
| Occlusion strength (X), roughness factor (Y) and metallic factor (Z). | |
| float | meshNormalScale |
| Normal scale. | |
| vec3 | meshEmissiveFactor |
| Emissive factor. | |
| float | meshAlphaCutoff |
| Alpha cutoff value. | |
| float | meshIndexOfRefraction |
| Index of refraction. | |
| sampler2D | meshBaseColorMap |
| Base color texture used for diffuse shading. | |
| sampler2D | meshOcclusionRoughnessMetallicMap |
| ORM texture used for specular shading. | |
| sampler2D | meshNormalMap |
| Normal texture used for normal mapping. | |
| sampler2D | meshEmissiveMap |
| Emissive texture used for emissive mapping. | |
| vec2 | meshBaseColorMapTextureOffset |
| Texture coordinate offset to use when sampling the base color map. | |
| mat2 | meshBaseColorMapTextureBasis |
| Texture coordinate basis to use when sampling the base color map. | |
| vec2 | meshOcclusionRoughnessMetallicMapTextureOffset |
| Texture coordinate offset to use when sampling the ORM map. | |
| mat2 | meshOcclusionRoughnessMetallicMapTextureBasis |
| Texture coordinate basis to use when sampling the ORM map. | |
| vec2 | meshNormalMapTextureOffset |
| Texture coordinate offset to use when sampling the normal map. | |
| mat2 | meshNormalMapTextureBasis |
| Texture coordinate basis to use when sampling the normal map. | |
| vec2 | meshEmissiveMapTextureOffset |
| Texture coordinate offset to use when sampling the emissive map. | |
| mat2 | meshEmissiveMapTextureBasis |
| Texture coordinate basis to use when sampling the emissive map. | |
| uint32_t | meshMorphTargetValueOffset |
| Offset of the first morph target in the MorphTargetValueBuffer. | |
| uint32_t | meshMorphTargetCount |
| Number of morph targets. | |
| uint32_t | meshMorphTargetStride |
| Size of each morph target, in number of floats. | |
Parameters of a 3D model mesh.
| vec4 grem::graphics::Model3D::Parameters::meshBaseColorFactor |
Base color factor.
| vec3 grem::graphics::Model3D::Parameters::meshOcclusionRoughnessMetallicFactor |
Occlusion strength (X), roughness factor (Y) and metallic factor (Z).
| float grem::graphics::Model3D::Parameters::meshNormalScale |
Normal scale.
| vec3 grem::graphics::Model3D::Parameters::meshEmissiveFactor |
Emissive factor.
| float grem::graphics::Model3D::Parameters::meshAlphaCutoff |
Alpha cutoff value.
| float grem::graphics::Model3D::Parameters::meshIndexOfRefraction |
Index of refraction.
| sampler2D grem::graphics::Model3D::Parameters::meshBaseColorMap |
Base color texture used for diffuse shading.
| sampler2D grem::graphics::Model3D::Parameters::meshOcclusionRoughnessMetallicMap |
ORM texture used for specular shading.
| sampler2D grem::graphics::Model3D::Parameters::meshNormalMap |
Normal texture used for normal mapping.
| sampler2D grem::graphics::Model3D::Parameters::meshEmissiveMap |
Emissive texture used for emissive mapping.
| vec2 grem::graphics::Model3D::Parameters::meshBaseColorMapTextureOffset |
Texture coordinate offset to use when sampling the base color map.
| mat2 grem::graphics::Model3D::Parameters::meshBaseColorMapTextureBasis |
Texture coordinate basis to use when sampling the base color map.
| vec2 grem::graphics::Model3D::Parameters::meshOcclusionRoughnessMetallicMapTextureOffset |
Texture coordinate offset to use when sampling the ORM map.
| mat2 grem::graphics::Model3D::Parameters::meshOcclusionRoughnessMetallicMapTextureBasis |
Texture coordinate basis to use when sampling the ORM map.
| vec2 grem::graphics::Model3D::Parameters::meshNormalMapTextureOffset |
Texture coordinate offset to use when sampling the normal map.
| mat2 grem::graphics::Model3D::Parameters::meshNormalMapTextureBasis |
Texture coordinate basis to use when sampling the normal map.
| vec2 grem::graphics::Model3D::Parameters::meshEmissiveMapTextureOffset |
Texture coordinate offset to use when sampling the emissive map.
| mat2 grem::graphics::Model3D::Parameters::meshEmissiveMapTextureBasis |
Texture coordinate basis to use when sampling the emissive map.
| uint32_t grem::graphics::Model3D::Parameters::meshMorphTargetValueOffset |
Offset of the first morph target in the MorphTargetValueBuffer.
| uint32_t grem::graphics::Model3D::Parameters::meshMorphTargetCount |
Number of morph targets.
| uint32_t grem::graphics::Model3D::Parameters::meshMorphTargetStride |
Size of each morph target, in number of floats.