Blender  V3.3
Classes | Functions | Variables
blender::draw::image_engine Namespace Reference

Classes

struct  OneTextureMethod
 Screen space method using a single texture spawning the whole screen. More...
 
class  ScreenSpaceDrawingMode
 
class  ImageEngine
 
struct  IMAGE_Data
 
class  AbstractDrawingMode
 
struct  IMAGE_Shaders
 
class  SpaceImageAccessor
 
class  SpaceNodeAccessor
 

Functions

static std::unique_ptr< AbstractSpaceAccessorspace_accessor_from_context (const DRWContextState *draw_ctx)
 
GPUShaderIMAGE_shader_image_get ()
 
GPUShaderIMAGE_shader_depth_get ()
 
void IMAGE_shader_free ()
 
Engine Callbacks
static void IMAGE_engine_init (void *ved)
 
static void IMAGE_cache_init (void *vedata)
 
static void IMAGE_cache_populate (void *UNUSED(vedata), Object *UNUSED(ob))
 
static void IMAGE_draw_scene (void *vedata)
 
static void IMAGE_engine_free ()
 
static void IMAGE_instance_free (void *_instance_data)
 

Variables

constexpr float EPSILON_UV_BOUNDS = 0.00001f
 
static const DrawEngineDataSize IMAGE_data_size = DRW_VIEWPORT_DATA_SIZE(IMAGE_Data)
 
struct {
   IMAGE_Shaders   blender::draw::image_engine::shaders
 
e_data = {{nullptr}}
 

Function Documentation

◆ IMAGE_cache_init()

static void blender::draw::image_engine::IMAGE_cache_init ( void vedata)
static

◆ IMAGE_cache_populate()

static void blender::draw::image_engine::IMAGE_cache_populate ( void UNUSEDvedata,
Object UNUSEDob 
)
static

Definition at line 153 of file image_engine.cc.

◆ IMAGE_draw_scene()

static void blender::draw::image_engine::IMAGE_draw_scene ( void vedata)
static

◆ IMAGE_engine_free()

static void blender::draw::image_engine::IMAGE_engine_free ( )
static

Definition at line 166 of file image_engine.cc.

References IMAGE_shader_free().

◆ IMAGE_engine_init()

static void blender::draw::image_engine::IMAGE_engine_init ( void ved)
static

◆ IMAGE_instance_free()

static void blender::draw::image_engine::IMAGE_instance_free ( void _instance_data)
static

Definition at line 171 of file image_engine.cc.

◆ IMAGE_shader_depth_get()

GPUShader * blender::draw::image_engine::IMAGE_shader_depth_get ( )

◆ IMAGE_shader_free()

void blender::draw::image_engine::IMAGE_shader_free ( )

Definition at line 46 of file image_shader.cc.

References DRW_SHADER_FREE_SAFE, and e_data.

Referenced by IMAGE_engine_free(), and blender::draw::test_image_glsl_shaders().

◆ IMAGE_shader_image_get()

GPUShader * blender::draw::image_engine::IMAGE_shader_image_get ( )

◆ space_accessor_from_context()

static std::unique_ptr<AbstractSpaceAccessor> blender::draw::image_engine::space_accessor_from_context ( const DRWContextState draw_ctx)
static

Variable Documentation

◆ 

struct { ... } blender::draw::image_engine::e_data

◆ EPSILON_UV_BOUNDS

constexpr float blender::draw::image_engine::EPSILON_UV_BOUNDS = 0.00001f
constexpr

◆ IMAGE_data_size

const DrawEngineDataSize blender::draw::image_engine::IMAGE_data_size = DRW_VIEWPORT_DATA_SIZE(IMAGE_Data)
static

Definition at line 179 of file image_engine.cc.

◆ shaders

IMAGE_Shaders blender::draw::image_engine::shaders