jGL
Loading...
Searching...
No Matches
Public Member Functions | List of all members
jGL::Vulkan::VertexBuffer< glm::vec2 > Class Reference

#include <vertexBuffer.h>

Inheritance diagram for jGL::Vulkan::VertexBuffer< glm::vec2 >:
Inheritance graph
[legend]
Collaboration diagram for jGL::Vulkan::VertexBuffer< glm::vec2 >:
Collaboration graph
[legend]

Public Member Functions

 VertexBuffer (const Device &device, const Command &command, std::vector< glm::vec2 > data, VkVertexInputRate rate, uint32_t binding=0, uint32_t location=0)
 
void subData (const Device &device, const Command &command, std::vector< glm::vec2 > data)
 
std::vector< VkVertexInputBindingDescription > getBindingDescription ()
 
std::vector< VkVertexInputAttributeDescription > getArrtibuteDescriptions ()
 
- Public Member Functions inherited from jGL::Vulkan::VertexBufferObject
 VertexBufferObject (const Device &device)
 
void setBinding (uint32_t b)
 
void setLocation (uint32_t l)
 
const VkBuffer & getVkBuffer () const
 

Additional Inherited Members

- Protected Attributes inherited from jGL::Vulkan::VertexBufferObject
const Devicedevice
 
VkVertexInputRate inputRate
 
uint32_t binding
 
uint32_t location
 
std::unique_ptr< Bufferbuffer
 

Constructor & Destructor Documentation

◆ VertexBuffer()

jGL::Vulkan::VertexBuffer< glm::vec2 >::VertexBuffer ( const Device device,
const Command command,
std::vector< glm::vec2 >  data,
VkVertexInputRate  rate,
uint32_t  binding = 0,
uint32_t  location = 0 
)
inline

Member Function Documentation

◆ getArrtibuteDescriptions()

std::vector< VkVertexInputAttributeDescription > jGL::Vulkan::VertexBuffer< glm::vec2 >::getArrtibuteDescriptions ( )
inlinevirtual

◆ getBindingDescription()

std::vector< VkVertexInputBindingDescription > jGL::Vulkan::VertexBuffer< glm::vec2 >::getBindingDescription ( )
inlinevirtual

◆ subData()

void jGL::Vulkan::VertexBuffer< glm::vec2 >::subData ( const Device device,
const Command command,
std::vector< glm::vec2 >  data 
)
inline

The documentation for this class was generated from the following file: