Blender V5.0
blender::bke::GreasePencilLayerFieldContext Class Reference

#include <BKE_geometry_fields.hh>

Inherits blender::fn::FieldContext.

Public Member Functions

 GreasePencilLayerFieldContext (const GreasePencil &grease_pencil, AttrDomain domain, int layer_index)
const GreasePencilgrease_pencil () const
AttrDomain domain () const
int layer_index () const
GVArray get_varray_for_input (const fn::FieldInput &field_input, const IndexMask &mask, ResourceScope &scope) const override
Public Member Functions inherited from blender::fn::FieldContext
virtual ~FieldContext ()=default

Detailed Description

Definition at line 99 of file BKE_geometry_fields.hh.

Constructor & Destructor Documentation

◆ GreasePencilLayerFieldContext()

blender::bke::GreasePencilLayerFieldContext::GreasePencilLayerFieldContext ( const GreasePencil & grease_pencil,
AttrDomain domain,
int layer_index )
inline

Definition at line 106 of file BKE_geometry_fields.hh.

References domain(), grease_pencil(), and layer_index().

Member Function Documentation

◆ domain()

AttrDomain blender::bke::GreasePencilLayerFieldContext::domain ( ) const
inline

Definition at line 118 of file BKE_geometry_fields.hh.

Referenced by get_varray_for_input(), and GreasePencilLayerFieldContext().

◆ get_varray_for_input()

GVArray blender::bke::GreasePencilLayerFieldContext::get_varray_for_input ( const fn::FieldInput & field_input,
const IndexMask & mask,
ResourceScope & scope ) const
overridevirtual

◆ grease_pencil()

const GreasePencil & blender::bke::GreasePencilLayerFieldContext::grease_pencil ( ) const
inline

Definition at line 113 of file BKE_geometry_fields.hh.

Referenced by get_varray_for_input(), and GreasePencilLayerFieldContext().

◆ layer_index()

int blender::bke::GreasePencilLayerFieldContext::layer_index ( ) const
inline

Definition at line 123 of file BKE_geometry_fields.hh.

Referenced by get_varray_for_input(), and GreasePencilLayerFieldContext().


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