Blender V5.0
blender::image_engine::State Struct Reference

#include <image_state.hh>

Public Member Functions

virtual ~State ()=default
void clear_need_full_update_flag ()
void mark_all_texture_slots_dirty ()
void update_batches ()
void update_image_usage (const ImageUser *image_user)

Public Attributes

::Imageimage = nullptr
ImageUsage last_usage
PartialImageUpdater partial_update = {}
View view = {"Image.View"}
ShaderParameters sh_params
struct { 
   bool   do_tile_drawing: 1 
 should we perform tiled drawing (wrap repeat). More...
flags
Framebuffer depth_fb = {"Image.Depth"}
Framebuffer color_fb = {"Image.Color"}
PassSimple depth_ps = {"Image.Depth"}
PassSimple image_ps = {"Image.Color"}
FloatBufferCache float_buffers
float ss_to_texture [4][4]
 Transform matrix to convert a normalized screen space coordinates to texture space.
Vector< TextureInfotexture_infos

Detailed Description

Definition at line 29 of file image_state.hh.

Constructor & Destructor Documentation

◆ ~State()

virtual blender::image_engine::State::~State ( )
virtualdefault

Member Function Documentation

◆ clear_need_full_update_flag()

void blender::image_engine::State::clear_need_full_update_flag ( )
inline

Definition at line 67 of file image_state.hh.

◆ mark_all_texture_slots_dirty()

void blender::image_engine::State::mark_all_texture_slots_dirty ( )
inline

Definition at line 71 of file image_state.hh.

◆ update_batches()

void blender::image_engine::State::update_batches ( )
inline

◆ update_image_usage()

void blender::image_engine::State::update_image_usage ( const ImageUser * image_user)
inline

Definition at line 84 of file image_state.hh.

References flags, float_buffers, image, and last_usage.

Member Data Documentation

◆ color_fb

Framebuffer blender::image_engine::State::color_fb = {"Image.Color"}

Definition at line 49 of file image_state.hh.

◆ depth_fb

Framebuffer blender::image_engine::State::depth_fb = {"Image.Depth"}

Definition at line 48 of file image_state.hh.

◆ depth_ps

PassSimple blender::image_engine::State::depth_ps = {"Image.Depth"}

Definition at line 51 of file image_state.hh.

◆ do_tile_drawing

bool blender::image_engine::State::do_tile_drawing

should we perform tiled drawing (wrap repeat).

Option is true when image is capable of tile drawing (image is not tile) and the tiled option is set in the space.

Definition at line 45 of file image_state.hh.

◆ [struct]

struct { ... } blender::image_engine::State::flags

Referenced by update_image_usage().

◆ float_buffers

FloatBufferCache blender::image_engine::State::float_buffers

Cache containing the float buffers when drawing byte images.

Definition at line 57 of file image_state.hh.

Referenced by update_image_usage().

◆ image

::Image* blender::image_engine::State::image = nullptr

Definition at line 30 of file image_state.hh.

Referenced by update_image_usage().

◆ image_ps

PassSimple blender::image_engine::State::image_ps = {"Image.Color"}

Definition at line 52 of file image_state.hh.

◆ last_usage

ImageUsage blender::image_engine::State::last_usage

Usage data of the previous time, to identify changes that require a full update.

Definition at line 32 of file image_state.hh.

Referenced by update_image_usage().

◆ partial_update

PartialImageUpdater blender::image_engine::State::partial_update = {}

Definition at line 34 of file image_state.hh.

◆ sh_params

ShaderParameters blender::image_engine::State::sh_params

Definition at line 37 of file image_state.hh.

◆ ss_to_texture

float blender::image_engine::State::ss_to_texture[4][4]

Transform matrix to convert a normalized screen space coordinates to texture space.

Definition at line 60 of file image_state.hh.

◆ texture_infos

Vector<TextureInfo> blender::image_engine::State::texture_infos

Definition at line 62 of file image_state.hh.

Referenced by update_batches().

◆ view

View blender::image_engine::State::view = {"Image.View"}

Definition at line 36 of file image_state.hh.


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