Blender V5.0
blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize > Class Template Reference

Inherits blender::GVArrayImpl.

Public Member Functions

 GVArrayImpl_For_SmallTrivialSingleValue (const CPPType &type, const int64_t size, const void *value)
Public Member Functions inherited from blender::GVArrayImpl
virtual ~GVArrayImpl ()=default
 GVArrayImpl (const CPPType &type, int64_t size)
const CPPTypetype () const
int64_t size () const
virtual bool try_assign_VArray (void *varray) const

Additional Inherited Members

Protected Attributes inherited from blender::GVArrayImpl
const CPPTypetype_
int64_t size_

Detailed Description

template<int BufferSize>
class blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize >

Contains an inline buffer that can store a single value of a trivial type. This avoids the allocation that would be done by GVArrayImpl_For_SingleValue.

Definition at line 264 of file generic_virtual_array.cc.

Constructor & Destructor Documentation

◆ GVArrayImpl_For_SmallTrivialSingleValue()

template<int BufferSize>
blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize >::GVArrayImpl_For_SmallTrivialSingleValue ( const CPPType & type,
const int64_t size,
const void * value )
inline

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