52 context.rendering_end();
96 uniform_buffers_.
bind(uniform_buffer, binding);
102 uniform_buffers_.
unbind(uniform_buffer);
132 textures_.
unbind(&vertex_buffer);
141 storage_buffers_.
bind(resource_type,
resource, binding, offset);
159 texture_unpack_row_length_ =
len;
164 return texture_unpack_row_length_;
@ GPU_BARRIER_SHADER_IMAGE_ACCESS
void unbind(void *resource)
void bind(VKTexture *resource, int binding)
void bind(Type resource_type, void *resource, int binding, VkDeviceSize offset)
void unbind(void *resource)
void bind(Type resource_type, void *resource, GPUSamplerState sampler, int binding)
void unbind(void *resource)
void texel_buffer_bind(VKVertexBuffer &vertex_buffer, int slot)
void issue_barrier(eGPUBarrier barrier_bits) override
void image_bind(Texture *tex, int unit) override
void unbind_from_all_namespaces(void *resource)
void uniform_buffer_unbind(VKUniformBuffer *uniform_buffer)
void storage_buffer_unbind(void *resource)
void image_unbind_all() override
uint texture_unpack_row_length_get() const
void storage_buffer_unbind_all()
void uniform_buffer_bind(VKUniformBuffer *uniform_buffer, int slot)
void texture_unbind(Texture *tex) override
void texel_buffer_unbind(VKVertexBuffer &vertex_buffer)
void texture_unbind_all() override
void force_state() override
void uniform_buffer_unbind_all()
void apply_state() override
void texture_bind(Texture *tex, GPUSamplerState sampler, int unit) override
void image_unbind(Texture *tex) override
void storage_buffer_bind(BindSpaceStorageBuffers::Type resource_type, void *resource, int binding)
void texture_unpack_row_length_set(uint len) override
TEX_TEMPLATE DataVec texture(T, FltCoord, float=0.0f) RET
static Context * unwrap(GPUContext *ctx)
static constexpr GPUSamplerState default_sampler()