Fermat
Public Methods | Public Members | List of all members
VertexGeometryId Struct Reference

Detailed description

Encodes the minimal amount of information needed to represent a point on a surface, or a hit in ray tracing parlance;

#include <vertex.h>

Inheritance diagram for VertexGeometryId:
VPL

Public Methods

FERMAT_HOST_DEVICE VertexGeometryId (const uint32 _prim_id, const float _u, const float _v)
 
FERMAT_HOST_DEVICE VertexGeometryId (const uint32 _prim_id, const cugar::Vector2f _uv)
 

Public Members

cugar::Vector2f uv
 
uint32 prim_id
 

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