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

#include <vertexBuffer.h>

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

Public Member Functions

 VertexBuffer (const Device &device, const Command &command, std::vector< T > data, VkVertexInputRate rate, uint32_t binding=0, uint32_t location=0)
 
void subData (const Device &device, const Command &command, std::vector< T > 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()

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

Member Function Documentation

◆ getArrtibuteDescriptions()

template<class T >
std::vector< VkVertexInputAttributeDescription > jGL::Vulkan::VertexBuffer< T >::getArrtibuteDescriptions ( )
virtual

◆ getBindingDescription()

template<class T >
std::vector< VkVertexInputBindingDescription > jGL::Vulkan::VertexBuffer< T >::getBindingDescription ( )
virtual

◆ subData()

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

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