Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::draw::image_engine::OneTextureMethod Struct Reference

Screen space method using a single texture spawning the whole screen. More...

#include <image_drawing_mode.hh>

Public Member Functions

 OneTextureMethod (IMAGE_InstanceData *instance_data)
 
void update_screen_space_bounds (const ARegion *region)
 Update the texture slot uv and screen space bounds. More...
 
void update_screen_uv_bounds ()
 
void update_screen_uv_bounds (TextureInfo &info)
 

Public Attributes

IMAGE_InstanceDatainstance_data
 

Detailed Description

Screen space method using a single texture spawning the whole screen.

Definition at line 27 of file image_drawing_mode.hh.

Constructor & Destructor Documentation

◆ OneTextureMethod()

blender::draw::image_engine::OneTextureMethod::OneTextureMethod ( IMAGE_InstanceData instance_data)
inline

Definition at line 30 of file image_drawing_mode.hh.

Member Function Documentation

◆ update_screen_space_bounds()

void blender::draw::image_engine::OneTextureMethod::update_screen_space_bounds ( const ARegion region)
inline

◆ update_screen_uv_bounds() [1/2]

void blender::draw::image_engine::OneTextureMethod::update_screen_uv_bounds ( )
inline

◆ update_screen_uv_bounds() [2/2]

void blender::draw::image_engine::OneTextureMethod::update_screen_uv_bounds ( TextureInfo info)
inline

Member Data Documentation

◆ instance_data

IMAGE_InstanceData* blender::draw::image_engine::OneTextureMethod::instance_data

Definition at line 28 of file image_drawing_mode.hh.

Referenced by update_screen_space_bounds(), and update_screen_uv_bounds().


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