Vulkan-Hpp
Vertex Struct Reference

Public Member Functions

 Vertex (glm::vec3 const &p, glm::vec3 const &n, glm::vec2 const &tc, int m=0)
 

Public Attributes

glm::vec3 pos
 
glm::vec3 nrm
 
glm::vec2 texCoord
 
int matID
 

Detailed Description

Definition at line 220 of file RayTracing.cpp.

Constructor & Destructor Documentation

◆ Vertex()

Vertex::Vertex ( glm::vec3 const &  p,
glm::vec3 const &  n,
glm::vec2 const &  tc,
int  m = 0 
)
inline

Definition at line 222 of file RayTracing.cpp.

Member Data Documentation

◆ matID

int Vertex::matID

Definition at line 227 of file RayTracing.cpp.

◆ nrm

glm::vec3 Vertex::nrm

Definition at line 225 of file RayTracing.cpp.

◆ pos

glm::vec3 Vertex::pos

Definition at line 224 of file RayTracing.cpp.

◆ texCoord

glm::vec2 Vertex::texCoord

Definition at line 226 of file RayTracing.cpp.


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