Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
bindlessregistry.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
11
//------------------------------------------------------------------------------
12
13
namespace
Graphics
14
{
15
16
struct
BindlessRegistryCreateInfo
17
{
18
19
};
20
21
typedef
uint32_t
BindlessIndex
;
22
24
void
CreateBindlessRegistry
(
const
BindlessRegistryCreateInfo
& info);
26
void
DestroyBindlessRegistry
();
27
29
BindlessIndex
RegisterTexture
(
const
CoreGraphics::TextureId
& tex,
CoreGraphics::TextureType
type,
bool
depth =
false
,
bool
stencil =
false
);
31
void
ReregisterTexture
(
const
CoreGraphics::TextureId
& tex,
CoreGraphics::TextureType
type,
BindlessIndex
id
,
bool
depth =
false
,
bool
stencil =
false
);
33
void
UnregisterTexture
(
const
BindlessIndex
id
,
const
CoreGraphics::TextureType
type);
34
35
}
// namespace Graphics
CoreGraphics::TextureType
TextureType
texture types
Definition
texture.h:30
Graphics
Implements the shader server used by Vulkan.
Definition
cameramanager.h:22
Graphics::CreateBindlessRegistry
void CreateBindlessRegistry(const BindlessRegistryCreateInfo &info)
Create bindless registry.
Definition
bindlessregistry.cc:23
Graphics::RegisterTexture
BindlessIndex RegisterTexture(const CoreGraphics::TextureId &tex, CoreGraphics::TextureType type, bool depth, bool stencil)
Register texture.
Definition
bindlessregistry.cc:46
Graphics::UnregisterTexture
void UnregisterTexture(const BindlessIndex id, const CoreGraphics::TextureType type)
Unregister texture.
Definition
bindlessregistry.cc:166
Graphics::ReregisterTexture
void ReregisterTexture(const CoreGraphics::TextureId &tex, CoreGraphics::TextureType type, BindlessIndex index, bool depth, bool stencil)
Reregister texture on the same slot.
Definition
bindlessregistry.cc:112
Graphics::DestroyBindlessRegistry
void DestroyBindlessRegistry()
Destroy bindless registry.
Definition
bindlessregistry.cc:37
Graphics::BindlessIndex
uint32_t BindlessIndex
Definition
bindlessregistry.h:21
CoreGraphics::TextureId
texture type
Definition
texture.h:25
Graphics::BindlessRegistryCreateInfo
Definition
bindlessregistry.h:17
code
render
graphics
bindlessregistry.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.