SPARK
0.1.0
A general purpose game engine written in C++.
|
Describes the layout of a buffer. More...
#include <Buffer.h>
Public Member Functions | |
virtual std::size_t | elementSize () const noexcept=0 |
Gets the size of a single element in the buffer. | |
virtual unsigned int | binding () const noexcept=0 |
Gets the binding point the buffer will be bound to. | |
virtual BufferType | type () const noexcept=0 |
Gets the type of the buffer. | |
Describes the layout of a buffer.
|
nodiscardpure virtualnoexcept |
Gets the binding point the buffer will be bound to.
Implemented in spark::render::vk::VulkanDescriptorLayout, spark::render::vk::VulkanIndexBufferLayout, and spark::render::vk::VulkanVertexBufferLayout.
|
nodiscardpure virtualnoexcept |
Gets the size of a single element in the buffer.
Implemented in spark::render::vk::VulkanDescriptorLayout, spark::render::vk::VulkanIndexBufferLayout, and spark::render::vk::VulkanVertexBufferLayout.
|
nodiscardpure virtualnoexcept |
Gets the type of the buffer.
Implemented in spark::render::vk::VulkanDescriptorLayout, spark::render::vk::VulkanIndexBufferLayout, and spark::render::vk::VulkanVertexBufferLayout.