Blender V4.3
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 251 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

Definition at line 256 of file generic_virtual_array.cc.

References BLI_assert.


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