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

Vertex type for line primitives (LINE_LIST / LINE_STRIP topology) More...

#include <VertexSpec.hpp>

+ Collaboration diagram for MayaFlux::Nodes::LineVertex:

Public Attributes

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

Detailed Description

Vertex type for line primitives (LINE_LIST / LINE_STRIP topology)

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

Definition at line 40 of file VertexSpec.hpp.


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