220 uint texture_unpack_row_length_ = 0;
259 VkDeviceSize offset);
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
std::array< TextureWriteFormat, GPU_MAX_IMAGE > image_formats
void texel_buffer_bind(VKVertexBuffer &vertex_buffer, int slot)
void image_bind(Texture *tex, int unit) override
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
friend class VKDescriptorSetUpdator
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 issue_barrier(GPUBarrier barrier_bits) override
void texture_unpack_row_length_set(uint len) override
static constexpr int BIND_SPACE_IMAGE_OFFSET
static constexpr GPUSamplerState default_sampler()