SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::Attribute< T > Struct Template Reference

MeshResource's item template. More...

#include <Attribute.h>

Public Member Functions

 Attribute ()
 Constructor Function.
 
virtual ~Attribute ()
 Destructor Function.
 
void CreateBuffer (const std::string &name, VkBufferUsageFlags usage=0)
 Create Attribute Buffer.
 

Public Attributes

std::shared_ptr< std::vector< T > > attributes
 Attribute Data Array.
 
std::shared_ptr< VulkanBufferbuffer
 Attribute Buffer.
 

Detailed Description

template<typename T>
struct Spices::Attribute< T >

MeshResource's item template.

Template Parameters
Tspecific item value type.

Definition at line 27 of file Attribute.h.


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