SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Attribute()

template<typename T >
Spices::Attribute< T >::Attribute ( )
inline

Constructor Function.

Definition at line 58 of file Attribute.h.

59 : attributes(nullptr)
60 , buffer(nullptr)
61 {
63
64 if (!attributes)
65 {
66 attributes = std::make_shared<std::vector<T>>();
67 }
68 }
#define SPICES_PROFILE_ZONE
std::shared_ptr< VulkanBuffer > buffer
Attribute Buffer.
Definition Attribute.h:54
std::shared_ptr< std::vector< T > > attributes
Attribute Data Array.
Definition Attribute.h:49

References Spices::Attribute< T >::Attribute().

Referenced by Spices::Attribute< T >::Attribute().