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
glm::vec4 tangent
glm::vec2 lightMapUV

Detailed Description

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

Vertex attribute layout for the static geometry pipeline.

48 bytes: position (12) + normal (12) + texUV (8) + tangent (16). Layout matches ModelVertex's static attributes but remains a distinct type because static meshes do not carry skinning data.

Member Data Documentation

◆ lightMapUV

glm::vec2 Vertex::lightMapUV

◆ normal

glm::vec3 Vertex::normal

◆ position

glm::vec3 Vertex::position

◆ tangent

glm::vec4 Vertex::tangent

◆ texUV

glm::vec2 Vertex::texUV

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