Nebula
Loading...
Searching...
No Matches
bindlessregistry.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11//------------------------------------------------------------------------------
12
13namespace Graphics
14{
15
17{
18
19};
20
21typedef uint32_t BindlessIndex;
22
27
29BindlessIndex RegisterTexture(const CoreGraphics::TextureId& tex, CoreGraphics::TextureType type, bool depth = false, bool stencil = false);
31void ReregisterTexture(const CoreGraphics::TextureId& tex, CoreGraphics::TextureType type, BindlessIndex id, bool depth = false, bool stencil = false);
34
35} // namespace Graphics
TextureType
texture types
Definition texture.h:30
Implements the shader server used by Vulkan.
Definition cameramanager.h:21
void CreateBindlessRegistry(const BindlessRegistryCreateInfo &info)
Create bindless registry.
Definition bindlessregistry.cc:23
BindlessIndex RegisterTexture(const CoreGraphics::TextureId &tex, CoreGraphics::TextureType type, bool depth, bool stencil)
Register texture.
Definition bindlessregistry.cc:46
void UnregisterTexture(const BindlessIndex id, const CoreGraphics::TextureType type)
Unregister texture.
Definition bindlessregistry.cc:158
void ReregisterTexture(const CoreGraphics::TextureId &tex, CoreGraphics::TextureType type, BindlessIndex index, bool depth, bool stencil)
Reregister texture on the same slot.
Definition bindlessregistry.cc:108
void DestroyBindlessRegistry()
Destroy bindless registry.
Definition bindlessregistry.cc:37
uint32_t BindlessIndex
Definition bindlessregistry.h:21
texture type
Definition texture.h:25
Definition bindlessregistry.h:17