Skip to content

Texture ​

struct · #include <rayrai/OpenGLMesh.hpp>

Texture descriptor for mesh materials.

Public attributes ​

id ​

cpp
unsigned int id

GL texture name; not owned by the mesh.

type ​

cpp
std::string type

e.g., "texture_diffuse", "texture_specular"

RaiSim — physics for robotics and AI.