MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kakshya::PointVertex Struct Reference

Vertex type for point primitives (POINT_LIST topology) More...

#include <VertexFormats.hpp>

+ Collaboration diagram for MayaFlux::Kakshya::PointVertex:

Public Attributes

glm::vec3 color = glm::vec3(1.0F)
 
glm::vec3 normal = glm::vec3(0.0F, 0.0F, 1.0F)
 
glm::vec3 position
 
float size = 10.0F
 
glm::vec3 tangent = glm::vec3(1.0F, 0.0F, 0.0F)
 
glm::vec2 uv = glm::vec2(0.0F)
 

Detailed Description

Vertex type for point primitives (POINT_LIST topology)

Layout (60 bytes): offset 0 — position vec3 (12) offset 12 — color vec3 (12) offset 24 — size float (4) offset 28 — uv vec2 (8) offset 36 — normal vec3 (12) offset 48 — tangent vec3 (12)

Definition at line 63 of file VertexFormats.hpp.


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