Blender  V3.3
Public Member Functions | List of all members
BatchUpdater Class Reference

Create GPUBatch for a IMAGE_ScreenSpaceTextureInfo. More...

#include <image_batches.hh>

Public Member Functions

 BatchUpdater (TextureInfo &info)
 
void update_batch ()
 
void discard_batch ()
 

Detailed Description

Create GPUBatch for a IMAGE_ScreenSpaceTextureInfo.

Definition at line 13 of file image_batches.hh.

Constructor & Destructor Documentation

◆ BatchUpdater()

BatchUpdater::BatchUpdater ( TextureInfo info)
inline

Definition at line 21 of file image_batches.hh.

Member Function Documentation

◆ discard_batch()

void BatchUpdater::discard_batch ( )
inline

Definition at line 32 of file image_batches.hh.

References TextureInfo::batch, and GPU_BATCH_DISCARD_SAFE.

◆ update_batch()

void BatchUpdater::update_batch ( )
inline

Definition at line 25 of file image_batches.hh.

Referenced by IMAGE_InstanceData::update_batches().


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