6#ifndef INCLUDE_VULKANENGINE_ATTRIBUTE_H_
7#define INCLUDE_VULKANENGINE_ATTRIBUTE_H_
9#include <VulkanEngine/StagedBuffer.h>
11#include <vulkan/vulkan.hpp>
22 Attribute(
size_t _num_elements,
size_t _element_size,
23 vk::BufferUsageFlags flags);
Abstract base class for shader attributes.
Definition: Attribute.h:16
size_t getNumElements() const
Definition: Attribute.cpp:34
size_t num_elements
The number of elements in this attribute.
Definition: Attribute.h:33
size_t element_size
The data size of the elements which this attribute is represented by.
Definition: Attribute.h:36
~Attribute()
Destructor.
Definition: Attribute.cpp:32
Definition: StagedBuffer.h:23
TODO development of this class is in progress.
Definition: Attribute.h:13