OpenGLMesh::PreparedAttributes
struct · #include <rayrai/OpenGLMesh.hpp>
What prepareGeometryAttributes() derives besides the vertex attributes. Internal: caches of prepared meshes store it.
Public attributes
tangentSource
cpp
std::string tangentSourceHow tangents were obtained.
validTangentCount
cpp
size_t validTangentCountVertices with a usable tangent.
fallbackTangentCount
cpp
size_t fallbackTangentCountVertices that needed a fallback tangent.
uvDensity
cpp
glm::vec2 uvDensitySee vertexDisplacementUvStats() (xy).
uvEdgeLength
cpp
glm::vec2 uvEdgeLengthSee vertexDisplacementUvStats() (zw).