Blender V4.5
AttributeTableEntry< T > Struct Template Reference

Public Member Functions

void reserve (const size_t attr_size)
 
template<typename U >
size_t add (const U *attr_data, const size_t attr_size, const bool modified)
 
void alloc ()
 

Public Attributes

device_vector< T > & data
 
size_t offset
 
size_t size
 

Detailed Description

template<typename T>
struct AttributeTableEntry< T >

Definition at line 259 of file geometry_attributes.cpp.

Member Function Documentation

◆ add()

template<typename T >
template<typename U >
size_t AttributeTableEntry< T >::add ( const U * attr_data,
const size_t attr_size,
const bool modified )
inline

◆ alloc()

template<typename T >
void AttributeTableEntry< T >::alloc ( )
inline

◆ reserve()

template<typename T >
void AttributeTableEntry< T >::reserve ( const size_t attr_size)
inline

Definition at line 264 of file geometry_attributes.cpp.

References attr_size(), and AttributeTableEntry< T >::size.

Referenced by AttributeTableBuilder::reserve().

Member Data Documentation

◆ data

◆ offset

template<typename T >
size_t AttributeTableEntry< T >::offset

Definition at line 261 of file geometry_attributes.cpp.

Referenced by AttributeTableEntry< T >::add().

◆ size

template<typename T >
size_t AttributeTableEntry< T >::size

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