PGR Copakond OpenGL Engine - Bowling
Loading...
Searching...
No Matches
copakond::SubMesh Struct Reference

Represents a part of a mesh that uses a specific material. More...

#include <mesh.h>

Public Attributes

std::shared_ptr< Materialmaterial
unsigned int indexOffset
unsigned int indexCount

Detailed Description

Represents a part of a mesh that uses a specific material.

Member Data Documentation

◆ indexCount

unsigned int copakond::SubMesh::indexCount

Number of indices to draw for this submesh

◆ indexOffset

unsigned int copakond::SubMesh::indexOffset

Starting point in the element buffer (EBO)

◆ material

std::shared_ptr<Material> copakond::SubMesh::material

The documentation for this struct was generated from the following file: