Blender V4.3
ThumbsDrawBatch Struct Reference

Public Member Functions

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

Public Attributes

ed::seq::StripsDrawBatchstrips_batch_
 
Array< SeqStripThumbDatathumbs_
 
GPUUniformBuf * ubo_thumbs_ = nullptr
 
GPUShadershader_ = nullptr
 
gpu::Batch * batch_ = nullptr
 
GPUTexture * atlas_ = nullptr
 
int binding_context_ = 0
 
int binding_thumbs_ = 0
 
int binding_image_ = 0
 
int thumbs_count_ = 0
 

Detailed Description

Definition at line 205 of file sequencer_thumbnails.cc.

Constructor & Destructor Documentation

◆ ThumbsDrawBatch()

◆ ~ThumbsDrawBatch()

ThumbsDrawBatch::~ThumbsDrawBatch ( )
inline

Member Function Documentation

◆ add_thumb()

◆ flush_batch()

Member Data Documentation

◆ atlas_

GPUTexture* ThumbsDrawBatch::atlas_ = nullptr

Definition at line 211 of file sequencer_thumbnails.cc.

Referenced by flush_batch().

◆ batch_

gpu::Batch* ThumbsDrawBatch::batch_ = nullptr

Definition at line 210 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ binding_context_

int ThumbsDrawBatch::binding_context_ = 0

Definition at line 212 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ binding_image_

int ThumbsDrawBatch::binding_image_ = 0

Definition at line 214 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ binding_thumbs_

int ThumbsDrawBatch::binding_thumbs_ = 0

Definition at line 213 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ shader_

GPUShader* ThumbsDrawBatch::shader_ = nullptr

Definition at line 209 of file sequencer_thumbnails.cc.

Referenced by flush_batch(), and ThumbsDrawBatch().

◆ strips_batch_

ed::seq::StripsDrawBatch& ThumbsDrawBatch::strips_batch_

Definition at line 206 of file sequencer_thumbnails.cc.

Referenced by add_thumb(), and flush_batch().

◆ thumbs_

Array<SeqStripThumbData> ThumbsDrawBatch::thumbs_

Definition at line 207 of file sequencer_thumbnails.cc.

Referenced by add_thumb(), and flush_batch().

◆ thumbs_count_

int ThumbsDrawBatch::thumbs_count_ = 0

Definition at line 215 of file sequencer_thumbnails.cc.

Referenced by add_thumb(), and flush_batch().

◆ ubo_thumbs_

GPUUniformBuf* ThumbsDrawBatch::ubo_thumbs_ = nullptr

Definition at line 208 of file sequencer_thumbnails.cc.

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


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