Description

All the data to specific a triangle mesh.

#include <ChOptixDefinitions.h>

Public Attributes

float4 * vertex_buffer
 a device pointer to the mesh's vertices // size 8
float4 * normal_buffer
 a device pointer to the mesh's normals //size 8
float2 * uv_buffer
 a device pointer to the mesh's uv coordinates // size 8
uint4 * vertex_index_buffer
 a device pointer to the mesh's vertex indices // size 8
uint4 * normal_index_buffer
 a device pointer to the mesh's normal indices // size 8
uint4 * uv_index_buffer
 a device pointer to the mesh's uv indices // size 8
unsigned int * mat_index_buffer
 a device pointer to the mesh's materials on a per face basis // size 8
double pad
 padding to ensure 16 byte alignment // size 8

The documentation for this struct was generated from the following file:
  • D:/W/B/src/chrono-9.0.1/src/chrono_sensor/optix/ChOptixDefinitions.h