Blender V4.5
blender::GVArrayImpl_For_SlicedGVArray Class Reference

Inherits blender::GVArrayImpl.

Public Member Functions

 GVArrayImpl_For_SlicedGVArray (GVArray varray, const IndexRange slice)
void get (const int64_t index, void *r_value) const override
void get_to_uninitialized (const int64_t index, void *r_value) const override
CommonVArrayInfo common_info () const override
void materialize (const IndexMask &mask, void *dst) const final
void materialize_to_uninitialized (const IndexMask &mask, void *dst) const final
void materialize_compressed (const IndexMask &mask, void *dst) const final
void materialize_compressed_to_uninitialized (const IndexMask &mask, void *dst) const override
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

Protected Attributes

GVArray varray_
int64_t offset_
IndexRange slice_
Protected Attributes inherited from blender::GVArrayImpl
const CPPTypetype_
int64_t size_

Detailed Description

Definition at line 472 of file generic_virtual_array.cc.

Constructor & Destructor Documentation

◆ GVArrayImpl_For_SlicedGVArray()

blender::GVArrayImpl_For_SlicedGVArray::GVArrayImpl_For_SlicedGVArray ( GVArray varray,
const IndexRange slice )
inline

Member Function Documentation

◆ common_info()

◆ get()

void blender::GVArrayImpl_For_SlicedGVArray::get ( const int64_t index,
void * r_value ) const
inlineoverridevirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 488 of file generic_virtual_array.cc.

References offset_, and varray_.

◆ get_to_uninitialized()

void blender::GVArrayImpl_For_SlicedGVArray::get_to_uninitialized ( const int64_t index,
void * r_value ) const
inlineoverridevirtual

Implements blender::GVArrayImpl.

Definition at line 493 of file generic_virtual_array.cc.

References offset_, and varray_.

◆ materialize()

void blender::GVArrayImpl_For_SlicedGVArray::materialize ( const IndexMask & mask,
void * dst ) const
inlinefinalvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 518 of file generic_virtual_array.cc.

References mask(), offset_, POINTER_OFFSET, blender::GVArrayImpl::type_, and varray_.

◆ materialize_compressed()

void blender::GVArrayImpl_For_SlicedGVArray::materialize_compressed ( const IndexMask & mask,
void * dst ) const
inlinefinalvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 532 of file generic_virtual_array.cc.

References mask(), offset_, and varray_.

◆ materialize_compressed_to_uninitialized()

void blender::GVArrayImpl_For_SlicedGVArray::materialize_compressed_to_uninitialized ( const IndexMask & mask,
void * dst ) const
inlineoverridevirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 538 of file generic_virtual_array.cc.

References mask(), offset_, and varray_.

◆ materialize_to_uninitialized()

void blender::GVArrayImpl_For_SlicedGVArray::materialize_to_uninitialized ( const IndexMask & mask,
void * dst ) const
inlinefinalvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 525 of file generic_virtual_array.cc.

References mask(), offset_, POINTER_OFFSET, blender::GVArrayImpl::type_, and varray_.

Member Data Documentation

◆ offset_

◆ slice_

IndexRange blender::GVArrayImpl_For_SlicedGVArray::slice_
protected

Definition at line 476 of file generic_virtual_array.cc.

Referenced by GVArrayImpl_For_SlicedGVArray().

◆ varray_


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