21 void draw(
int vertex_first,
int vertex_count,
int instance_first,
int instance_count)
override;
52 return static_cast<VKBatch *
>(batch);
void draw_indirect(StorageBuf *indirect_buf, intptr_t offset) override
VKVertexBuffer * vertex_buffer_get(int index) const
void ensure_data_uploaded() const
Ensure that the index and vertex buffers are uploaded.
void multi_draw_indirect(StorageBuf *indirect_buf, int count, intptr_t offset, intptr_t stride) override
VKIndexBuffer * index_buffer_get() const
Cache of VKVertexAttributeObjects keyed by VKShaderInterface.
static Context * unwrap(GPUContext *ctx)
BLI_INLINE MTLTexture * unwrap(Texture *tex)