Nebula
Loading...
Searching...
No Matches
nvx2fileformatstructs.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "core/types.h"
13
14namespace CoreGraphics
15{
16#pragma pack(push, 1)
17
18#define NEBULA_NVX2_MAGICNUMBER 'NVX2'
19
20//------------------------------------------------------------------------------
36
46
47#pragma pack(pop)
48} // namespace CoreGraphics
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition accelerationstructure.h:24
Definition nvx2fileformatstructs.h:38
uint numEdges
Definition nvx2fileformatstructs.h:44
uint numVertices
Definition nvx2fileformatstructs.h:40
uint firstEdge
Definition nvx2fileformatstructs.h:43
uint numTriangles
Definition nvx2fileformatstructs.h:42
uint firstVertex
Definition nvx2fileformatstructs.h:39
uint firstTriangle
Definition nvx2fileformatstructs.h:41
NVX2 file format structs.
Definition nvx2fileformatstructs.h:27
uint numGroups
Definition nvx2fileformatstructs.h:29
uint magic
Definition nvx2fileformatstructs.h:28
uint numVertices
Definition nvx2fileformatstructs.h:30
uint numIndices
Definition nvx2fileformatstructs.h:32
uint vertexComponentMask
Definition nvx2fileformatstructs.h:34
uint numEdges
Definition nvx2fileformatstructs.h:33
uint vertexWidth
Definition nvx2fileformatstructs.h:31
unsigned int uint
Definition types.h:31