133 void bind(
Type resource_type,
void *resource,
int binding, VkDeviceSize offset)
292 VkDeviceSize offset);
constexpr IndexRange()=default
void bind(VKTexture *resource, int binding, TextureWriteFormat format, StateManager *state_manager)
void unbind(void *resource, StateManager *state_manager)
VKTexture * get(int binding) const
Vector< VKTexture * > bound_resources
void bind(Type resource_type, void *resource, int binding, VkDeviceSize offset)
void unbind(void *resource)
const Elem & get(int binding) const
Vector< Elem > bound_resources
const Elem * get(int binding) const
void bind(Type resource_type, void *resource, GPUSamplerState sampler, int binding)
void unbind(void *resource)
Vector< Elem > bound_resources
VKTopLevelAS * get(int binding) const
void unbind(void *resource)
Vector< VKTopLevelAS * > bound_resources
void bind(VKTopLevelAS *resource, int binding)
std::array< TextureWriteFormat, GPU_MAX_IMAGE > image_formats
void toplevelas_bind(VKTopLevelAS &tlas, int slot)
void texel_buffer_bind(VKVertexBuffer &vertex_buffer, int binding)
void image_bind(Texture *texture, int binding) override
void toplevelas_unbind(void *resource)
void uniform_buffer_unbind(VKUniformBuffer *uniform_buffer)
void texture_unbind(Texture *texture) override
void storage_buffer_unbind(void *resource)
void image_unbind_all() override
void storage_buffer_unbind_all()
friend class VKDescriptorSetUpdator
void texel_buffer_unbind(VKVertexBuffer &vertex_buffer)
friend class VKDescriptorSetTracker
void uniform_buffer_bind(VKUniformBuffer *uniform_buffer, int binding)
void texture_unbind_all() override
void image_unbind(Texture *texture) override
void texture_bind(Texture *texture, GPUSamplerState sampler, int binding) override
void force_state() override
void uniform_buffer_unbind_all()
void apply_state() override
void storage_buffer_bind(BindSpaceStorageBuffers::Type resource_type, void *resource, int binding)
void issue_barrier(GPUBarrier barrier_bits) override
TEX_TEMPLATE DataVec texture(T, FltCoord, float=0.0f) RET
static constexpr int BIND_SPACE_IMAGE_OFFSET
static constexpr GPUSamplerState default_sampler()
void resize(int new_size)