Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/vulkan/vk_uniform_buffer.hh
| Show All 13 Lines | |||||
| class VKUniformBuffer : public UniformBuf { | class VKUniformBuffer : public UniformBuf { | ||||
| public: | public: | ||||
| VKUniformBuffer(int size, const char *name) : UniformBuf(size, name) | VKUniformBuffer(int size, const char *name) : UniformBuf(size, name) | ||||
| { | { | ||||
| } | } | ||||
| void update(const void *data) override; | void update(const void *data) override; | ||||
| void bind(int slot) override; | void bind(int slot) override; | ||||
| void bind_as_ssbo(int slot) override; | |||||
| void unbind() override; | void unbind() override; | ||||
| }; | }; | ||||
| } // namespace blender::gpu | } // namespace blender::gpu | ||||
| No newline at end of file | No newline at end of file | ||||