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