Blender V5.0
blender::draw::gpencil::tLayer Struct Reference

#include <gpencil_engine_private.hh>

Public Attributes

struct tLayernext
std::unique_ptr< PassSimplegeom_ps
std::unique_ptr< PassSimpleblend_ps
BLI_bitmapmask_bits
BLI_bitmapmask_invert_bits
int layer_id
bool is_onion

Detailed Description

Definition at line 79 of file gpencil_engine_private.hh.

Member Data Documentation

◆ blend_ps

std::unique_ptr<PassSimple> blender::draw::gpencil::tLayer::blend_ps

Blend pass to composite onto the target buffer (blends modes). NULL if not needed.

Definition at line 85 of file gpencil_engine_private.hh.

Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add().

◆ geom_ps

std::unique_ptr<PassSimple> blender::draw::gpencil::tLayer::geom_ps

Geometry pass (draw all strokes).

Definition at line 83 of file gpencil_engine_private.hh.

◆ is_onion

bool blender::draw::gpencil::tLayer::is_onion

True if this pass is part of the onion skinning.

Definition at line 92 of file gpencil_engine_private.hh.

Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add().

◆ layer_id

int blender::draw::gpencil::tLayer::layer_id

Index in the layer list. Used as id for masking.

Definition at line 90 of file gpencil_engine_private.hh.

Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add().

◆ mask_bits

BLI_bitmap* blender::draw::gpencil::tLayer::mask_bits

Layer id of the mask.

Definition at line 87 of file gpencil_engine_private.hh.

Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add().

◆ mask_invert_bits

BLI_bitmap* blender::draw::gpencil::tLayer::mask_invert_bits

◆ next

struct tLayer* blender::draw::gpencil::tLayer::next

Single linked-list.

Definition at line 81 of file gpencil_engine_private.hh.

Referenced by blender::draw::gpencil::grease_pencil_layer_cache_get().


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