Blender V5.0
blender::ed::vse::ThumbsDrawBatch Struct Reference

Public Member Functions

 ThumbsDrawBatch (StripsDrawBatch &strips_batch, gpu::Texture *atlas)
 ~ThumbsDrawBatch ()
void add_thumb (const SeqThumbInfo &info, float width, const rcti &rect, int tex_width, int tex_height)
void flush_batch ()

Public Attributes

StripsDrawBatchstrips_batch_
Array< SeqStripThumbData > thumbs_
gpu::UniformBufubo_thumbs_ = nullptr
gpu::Shadershader_ = nullptr
gpu::Batch * batch_ = nullptr
gpu::Textureatlas_ = nullptr
int binding_context_ = 0
int binding_thumbs_ = 0
int binding_image_ = 0
int thumbs_count_ = 0

Detailed Description

Definition at line 208 of file sequencer_thumbnails.cc.

Constructor & Destructor Documentation

◆ ThumbsDrawBatch()

◆ ~ThumbsDrawBatch()

blender::ed::vse::ThumbsDrawBatch::~ThumbsDrawBatch ( )
inline

Member Function Documentation

◆ add_thumb()

◆ flush_batch()

Member Data Documentation

◆ atlas_

gpu::Texture* blender::ed::vse::ThumbsDrawBatch::atlas_ = nullptr

Definition at line 214 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ batch_

gpu::Batch* blender::ed::vse::ThumbsDrawBatch::batch_ = nullptr

Definition at line 213 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ binding_context_

int blender::ed::vse::ThumbsDrawBatch::binding_context_ = 0

Definition at line 215 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ binding_image_

int blender::ed::vse::ThumbsDrawBatch::binding_image_ = 0

Definition at line 217 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ binding_thumbs_

int blender::ed::vse::ThumbsDrawBatch::binding_thumbs_ = 0

Definition at line 216 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ shader_

gpu::Shader* blender::ed::vse::ThumbsDrawBatch::shader_ = nullptr

Definition at line 212 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ strips_batch_

StripsDrawBatch& blender::ed::vse::ThumbsDrawBatch::strips_batch_

Definition at line 209 of file sequencer_thumbnails.cc.

Referenced by add_thumb(), flush_batch(), and ThumbsDrawBatch().

◆ thumbs_

Array<SeqStripThumbData> blender::ed::vse::ThumbsDrawBatch::thumbs_

Definition at line 210 of file sequencer_thumbnails.cc.

Referenced by add_thumb(), flush_batch(), and ThumbsDrawBatch().

◆ thumbs_count_

int blender::ed::vse::ThumbsDrawBatch::thumbs_count_ = 0

Definition at line 218 of file sequencer_thumbnails.cc.

Referenced by add_thumb(), and flush_batch().

◆ ubo_thumbs_

gpu::UniformBuf* blender::ed::vse::ThumbsDrawBatch::ubo_thumbs_ = nullptr

Definition at line 211 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), ThumbsDrawBatch(), and ~ThumbsDrawBatch().


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