Blender V5.0
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 261 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 272 of file geometry_attributes.cpp.

References assert, attr_size(), data, offset, and U.

◆ alloc()

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

Definition at line 286 of file geometry_attributes.cpp.

References data, and size.

◆ reserve()

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

Definition at line 266 of file geometry_attributes.cpp.

References attr_size(), and size.

Member Data Documentation

◆ data

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

Definition at line 262 of file geometry_attributes.cpp.

Referenced by add(), and alloc().

◆ offset

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

Definition at line 263 of file geometry_attributes.cpp.

Referenced by add().

◆ size

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

Definition at line 264 of file geometry_attributes.cpp.

Referenced by alloc(), and reserve().


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