Blender V5.0
blender::image_engine::OneTexture Class Reference

#include <image_drawing_mode.hh>

Inherits blender::image_engine::BaseTextureMethod.

Public Member Functions

 OneTexture (State *instance_data)
void ensure_texture_infos () override
 Ensure enough texture infos are allocated in instance_data.
void update_bounds (const ARegion *region) override
 Update the uv and region bounds of all texture_infos of instance_data.
void ensure_gpu_textures_allocation () override

Additional Inherited Members

Protected Member Functions inherited from blender::image_engine::BaseTextureMethod
 BaseTextureMethod (State *instance_data)
Protected Attributes inherited from blender::image_engine::BaseTextureMethod
Stateinstance_data

Detailed Description

Uses a single texture that covers the area. Every zoom/pan change requires a full update of the texture.

Definition at line 52 of file image_drawing_mode.hh.

Constructor & Destructor Documentation

◆ OneTexture()

blender::image_engine::OneTexture::OneTexture ( State * instance_data)
inline

Member Function Documentation

◆ ensure_gpu_textures_allocation()

◆ ensure_texture_infos()

void blender::image_engine::OneTexture::ensure_texture_infos ( )
inlineoverridevirtual

◆ update_bounds()


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