Blender  V3.3
Public Attributes | List of all members
GPENCIL_tLayer Struct Reference

#include <gpencil_engine.h>

Public Attributes

struct GPENCIL_tLayernext
 
DRWPassgeom_ps
 
DRWPassblend_ps
 
DRWShadingGroupbase_shgrp
 
BLI_bitmapmask_bits
 
BLI_bitmapmask_invert_bits
 
int layer_id
 

Detailed Description

Definition at line 94 of file gpencil_engine.h.

Member Data Documentation

◆ base_shgrp

DRWShadingGroup* GPENCIL_tLayer::base_shgrp

First shading group created for this layer. Contains all uniforms.

Definition at line 102 of file gpencil_engine.h.

Referenced by gpencil_layer_cache_add(), and gpencil_layer_cache_populate().

◆ blend_ps

DRWPass* GPENCIL_tLayer::blend_ps

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

Definition at line 100 of file gpencil_engine.h.

Referenced by gpencil_layer_cache_add().

◆ geom_ps

DRWPass* GPENCIL_tLayer::geom_ps

Geometry pass (draw all strokes).

Definition at line 98 of file gpencil_engine.h.

Referenced by gpencil_draw_mask(), and gpencil_layer_cache_add().

◆ layer_id

int GPENCIL_tLayer::layer_id

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

Definition at line 107 of file gpencil_engine.h.

Referenced by gpencil_layer_cache_add(), and gpencil_layer_cache_get().

◆ mask_bits

BLI_bitmap* GPENCIL_tLayer::mask_bits

Layer id of the mask.

Definition at line 104 of file gpencil_engine.h.

Referenced by gpencil_draw_mask(), and gpencil_layer_cache_add().

◆ mask_invert_bits

BLI_bitmap* GPENCIL_tLayer::mask_invert_bits

Definition at line 105 of file gpencil_engine.h.

Referenced by gpencil_draw_mask(), and gpencil_layer_cache_add().

◆ next

struct GPENCIL_tLayer* GPENCIL_tLayer::next

Single linked-list.

Definition at line 96 of file gpencil_engine.h.

Referenced by gpencil_layer_cache_get().


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