Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Meta information for a Geometry (gltf equivalent = Primitive). For use in raytracing shaders. More...
#include <foray_geometrymetabuffer.hpp>
Public Attributes | |
int32_t | MaterialIndex = 0 |
Index into the materialbuffer. | |
uint32_t | IndexBufferOffset = 0U |
Index into the vertex buffer (combine with gl_PrimitiveID to get the correct indices from the indexbuffer) | |
Meta information for a Geometry (gltf equivalent = Primitive). For use in raytracing shaders.
uint32_t foray::as::GeometryMeta::IndexBufferOffset = 0U |
Index into the vertex buffer (combine with gl_PrimitiveID to get the correct indices from the indexbuffer)
int32_t foray::as::GeometryMeta::MaterialIndex = 0 |
Index into the materialbuffer.