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

Definition at line 270 of file geometry_attributes.cpp.

References assert, data, offset, and U.

Referenced by AttributeTableBuilder::add().

◆ alloc()

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

Definition at line 284 of file geometry_attributes.cpp.

References data, and size.

Referenced by AttributeTableBuilder::alloc().

◆ reserve()

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

Definition at line 264 of file geometry_attributes.cpp.

References size.

Referenced by AttributeTableBuilder::reserve().

Member Data Documentation

◆ data

template<typename T>
device_vector<T>& AttributeTableEntry< T >::data

◆ offset

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

Definition at line 261 of file geometry_attributes.cpp.

Referenced by add().

◆ size

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

Definition at line 262 of file geometry_attributes.cpp.

Referenced by alloc(), and reserve().


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