group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Vertex Struct Reference

Forward-declared — owned by Game, registered via setParticleSystem(). More...

#include <NewRenderer.hpp>

Public Attributes

glm::vec3 position
glm::vec3 normal
glm::vec2 texUV

Detailed Description

Forward-declared — owned by Game, registered via setParticleSystem().

Vertex attribute layout for the static geometry pipeline.

32 bytes: position (12) + normal (12) + texUV (8). NOTE: this is DISTINCT from ModelVertex (48 bytes, includes tangent) used by the skinned-rig pipeline. Static meshes use this; skinned characters use ModelVertex.

Member Data Documentation

◆ normal

glm::vec3 Vertex::normal

◆ position

glm::vec3 Vertex::position

◆ texUV

glm::vec2 Vertex::texUV

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