Blender V4.3
GpencilBatchCache Struct Reference

Public Attributes

blender::gpu::VertBufvbo
 
blender::gpu::VertBufvbo_col
 
blender::gpu::IndexBufibo
 
blender::gpu::Batch * geom_batch
 
blender::gpu::Batch * lines_batch
 
blender::gpu::VertBufedit_vbo
 
blender::gpu::Batch * edit_lines_batch
 
blender::gpu::Batch * edit_points_batch
 
blender::gpu::VertBufedit_curve_vbo
 
blender::gpu::Batch * edit_curve_handles_batch
 
blender::gpu::Batch * edit_curve_points_batch
 
bool is_dirty
 

Detailed Description

Definition at line 39 of file draw_cache_impl_gpencil_legacy.cc.

Member Data Documentation

◆ edit_curve_handles_batch

blender::gpu::Batch* GpencilBatchCache::edit_curve_handles_batch

◆ edit_curve_points_batch

blender::gpu::Batch* GpencilBatchCache::edit_curve_points_batch

◆ edit_curve_vbo

blender::gpu::VertBuf* GpencilBatchCache::edit_curve_vbo

Edit Curve Mode

Definition at line 57 of file draw_cache_impl_gpencil_legacy.cc.

Referenced by blender::draw::gpencil_batch_cache_clear().

◆ edit_lines_batch

blender::gpu::Batch* GpencilBatchCache::edit_lines_batch

◆ edit_points_batch

blender::gpu::Batch* GpencilBatchCache::edit_points_batch

◆ edit_vbo

blender::gpu::VertBuf* GpencilBatchCache::edit_vbo

Edit Mode

Definition at line 53 of file draw_cache_impl_gpencil_legacy.cc.

Referenced by blender::draw::gpencil_batch_cache_clear().

◆ geom_batch

blender::gpu::Batch* GpencilBatchCache::geom_batch

Batches

Definition at line 48 of file draw_cache_impl_gpencil_legacy.cc.

Referenced by blender::draw::gpencil_batch_cache_clear().

◆ ibo

blender::gpu::IndexBuf* GpencilBatchCache::ibo

Indices in material order, then stroke order with fill first. Strokes can be individually rendered using gps->runtime.stroke_start and gps->runtime.fill_start.

Definition at line 46 of file draw_cache_impl_gpencil_legacy.cc.

Referenced by blender::draw::gpencil_batch_cache_clear().

◆ is_dirty

bool GpencilBatchCache::is_dirty

Cache is dirty

Definition at line 62 of file draw_cache_impl_gpencil_legacy.cc.

Referenced by blender::draw::gpencil_batch_cache_clear().

◆ lines_batch

blender::gpu::Batch* GpencilBatchCache::lines_batch

Stroke lines only

Definition at line 50 of file draw_cache_impl_gpencil_legacy.cc.

Referenced by blender::draw::gpencil_batch_cache_clear().

◆ vbo

blender::gpu::VertBuf* GpencilBatchCache::vbo

Instancing Data

Definition at line 41 of file draw_cache_impl_gpencil_legacy.cc.

Referenced by blender::draw::gpencil_batch_cache_clear().

◆ vbo_col

blender::gpu::VertBuf* GpencilBatchCache::vbo_col

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