Blender  V3.3
Public Member Functions | List of all members
blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize > Class Template Reference
Inheritance diagram for blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize >:
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
 
virtual void get_to_uninitialized (int64_t index, void *r_value) const =0
 
 GVArrayImpl (const CPPType &type, int64_t size)
 
const CPPTypetype () const
 
int64_t size () const
 
virtual void get (int64_t index, void *r_value) const
 
virtual void materialize (const IndexMask mask, void *dst) const
 
virtual void materialize_to_uninitialized (const IndexMask mask, void *dst) const
 
virtual void materialize_compressed (IndexMask mask, void *dst) const
 
virtual void materialize_compressed_to_uninitialized (IndexMask mask, void *dst) 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 247 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: