15 #include <vsg/state/Buffer.h> 
   16 #include <vsg/vk/vk_buffer.h> 
   31         VkBufferView 
vk(uint32_t deviceID)
 const { 
return _vulkanData[deviceID].bufferView; }
 
   35         VkFormat format = VK_FORMAT_UNDEFINED;
 
   36         VkDeviceSize offset = 0;
 
   37         VkDeviceSize range = 0;
 
   41         virtual void compile(
Device* device);
 
   42         virtual void compile(
Context& context);
 
   49             VkBufferView bufferView = VK_NULL_HANDLE;
 
   60     using BufferViewList = std::vector<ref_ptr<BufferView>>;
 
BufferView encapsulates VkBufferView and the VkBufferViewCreateInfo settings used to set it up.
Definition: BufferView.h:25
int compare(const Object &rhs_object) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...
VkBufferView vk(uint32_t deviceID) const
Vulkan VkBufferView handle.
Definition: BufferView.h:31
Device encapsulates VkDevice, a logical handle to the PhysicalDevice with capabilities specified duri...
Definition: Device.h:37
Definition: BufferView.h:48
vk_buffer that manages a single logical device supported.
Definition: vk_buffer.h:28