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

#include <gpencil_engine_private.hh>

Public Attributes

struct tLayer * next
::std::unique_ptr< PassSimple > geom_ps
::std::unique_ptr< PassSimple > blend_ps
BLI_bitmap * mask_bits
BLI_bitmap * mask_invert_bits
int layer_id
bool is_onion

Detailed Description

Definition at line 97 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 103 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 101 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 110 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 108 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 105 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 99 of file gpencil_engine_private.hh.


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