Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
sparsebuffer.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
9
//------------------------------------------------------------------------------
10
#include "
coregraphics/gpubuffertypes.h
"
11
#include "
coregraphics/config.h
"
12
namespace
CoreGraphics
13
{
14
16
RESOURCE_ID_TYPE
(
SparseBufferId
);
17
18
struct
SparseBufferCreateInfo
19
{
20
21
};
22
24
SparseBufferId
CreateSparseBuffer
(
const
SparseBufferCreateInfo
& info);
26
void
DestroySparseBuffer
(
const
SparseBufferId
id
);
27
28
}
// namespace CoreGraphics
gpubuffertypes.h
CoreGraphics
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition
accelerationstructure.h:24
CoreGraphics::CreateSparseBuffer
SparseBufferId CreateSparseBuffer(const SparseBufferCreateInfo &info)
create sparse buffer
CoreGraphics::DestroySparseBuffer
void DestroySparseBuffer(const SparseBufferId id)
destroy sparse buffers
config.h
Compile time configuration options for the CoreGraphics subsystem.
RESOURCE_ID_TYPE
#define RESOURCE_ID_TYPE(type)
Definition
resourceid.h:41
CoreGraphics::SparseBufferCreateInfo
Definition
sparsebuffer.h:19
CoreGraphics::SparseBufferId
sparse buffer type
Definition
sparsebuffer.h:16
code
render
coregraphics
sparsebuffer.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.