52 context.rendering_end();
70 textures_.unbind_all();
97 uniform_buffers_.bind(uniform_buffer, binding);
103 uniform_buffers_.unbind(uniform_buffer);
109 uniform_buffers_.unbind_all();
124 textures_.unbind(&vertex_buffer);
133 storage_buffers_.bind(resource_type, resource, binding, offset);
139 storage_buffers_.unbind(resource);
145 storage_buffers_.unbind_all();
151 acceleration_structures_.bind(&tlas, slot);
157 acceleration_structures_.unbind(resource);
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()
void texel_buffer_unbind(VKVertexBuffer &vertex_buffer)
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
BLI_INLINE MTLTexture * unwrap(Texture *tex)
@ GPU_BARRIER_SHADER_IMAGE_ACCESS
static constexpr GPUSamplerState default_sampler()