Blender  V3.3
Public Member Functions | Public Attributes | List of all members
IMAGE_InstanceData Struct Reference

#include <image_instance_data.hh>

Public Member Functions

virtual ~IMAGE_InstanceData ()=default
 
void clear_dirty_flag ()
 
void mark_all_texture_slots_dirty ()
 
void update_gpu_texture_allocations ()
 
void update_batches ()
 
void update_image_usage (const ImageUser *image_user)
 

Public Attributes

struct Imageimage
 
ImageUsage last_usage
 
PartialImageUpdater partial_update
 
struct DRWViewview
 
ShaderParameters sh_params
 
struct {
   bool   do_tile_drawing: 1
 should we perform tiled drawing (wrap repeat). More...
 
flags
 
struct {
   DRWPass *   image_pass
 
   DRWPass *   depth_pass
 
passes
 
FloatBufferCache float_buffers
 
float ss_to_texture [4][4]
 Transform matrix to convert a normalized screen space coordinates to texture space. More...
 
TextureInfo texture_infos [SCREEN_SPACE_DRAWING_MODE_TEXTURE_LEN]
 

Detailed Description

Definition at line 27 of file image_instance_data.hh.

Constructor & Destructor Documentation

◆ ~IMAGE_InstanceData()

virtual IMAGE_InstanceData::~IMAGE_InstanceData ( )
virtualdefault

Member Function Documentation

◆ clear_dirty_flag()

void IMAGE_InstanceData::clear_dirty_flag ( )
inline

◆ mark_all_texture_slots_dirty()

void IMAGE_InstanceData::mark_all_texture_slots_dirty ( )
inline

Definition at line 67 of file image_instance_data.hh.

◆ update_batches()

void IMAGE_InstanceData::update_batches ( )
inline

◆ update_gpu_texture_allocations()

void IMAGE_InstanceData::update_gpu_texture_allocations ( )
inline

◆ update_image_usage()

void IMAGE_InstanceData::update_image_usage ( const ImageUser image_user)
inline

Member Data Documentation

◆ depth_pass

DRWPass* IMAGE_InstanceData::depth_pass

◆ do_tile_drawing

bool IMAGE_InstanceData::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 43 of file image_instance_data.hh.

Referenced by blender::draw::image_engine::ScreenSpaceDrawingMode< TextureMethod >::cache_image(), blender::draw::image_engine::ImageEngine< DrawingMode >::cache_populate(), and blender::draw::image_engine::ScreenSpaceDrawingMode< TextureMethod >::draw_scene().

◆ 

struct { ... } IMAGE_InstanceData::flags

◆ float_buffers

FloatBufferCache IMAGE_InstanceData::float_buffers

◆ image

struct Image* IMAGE_InstanceData::image

◆ image_pass

DRWPass* IMAGE_InstanceData::image_pass

◆ last_usage

ImageUsage IMAGE_InstanceData::last_usage

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

Definition at line 30 of file image_instance_data.hh.

Referenced by update_image_usage().

◆ partial_update

PartialImageUpdater IMAGE_InstanceData::partial_update

◆ 

struct { ... } IMAGE_InstanceData::passes

◆ sh_params

ShaderParameters IMAGE_InstanceData::sh_params

◆ ss_to_texture

float IMAGE_InstanceData::ss_to_texture[4][4]

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

Definition at line 57 of file image_instance_data.hh.

Referenced by blender::draw::image_engine::ImageEngine< DrawingMode >::cache_populate(), and blender::draw::image_engine::OneTextureMethod::update_screen_uv_bounds().

◆ texture_infos

TextureInfo IMAGE_InstanceData::texture_infos[SCREEN_SPACE_DRAWING_MODE_TEXTURE_LEN]

◆ view

struct DRWView* IMAGE_InstanceData::view

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