Blender V5.0
RenderDisplay Struct Reference

#include <render_types.h>

Public Member Functions

RenderDisplay
 ~RenderDisplay ()
void ensure_system_gpu_context ()
void * ensure_blender_gpu_context ()
void display_update (RenderResult *render_result, rcti *rect)
void current_scene_update (struct Scene *scene)
void stats_draw (RenderStats *render_stats)
void progress (float progress)
void draw_lock ()
void draw_unlock ()
bool test_break ()

Public Attributes

void(* display_update_cb )(void *handle, RenderResult *rr, rcti *rect) = nullptr
void * duh = nullptr
void(* current_scene_update_cb )(void *handle, struct Scene *scene) = nullptr
void * suh = nullptr
void(* stats_draw_cb )(void *handle, RenderStats *ri) = nullptr
void * sdh = nullptr
void(* progress_cb )(void *handle, float i) = nullptr
void * prh = nullptr
void(* draw_lock_cb )(void *handle, bool lock) = nullptr
void * dlh = nullptr
bool(* test_break_cb )(void *handle) = nullptr
void * tbh = nullptr
void * system_gpu_context = nullptr
void * blender_gpu_context = nullptr

Detailed Description

Definition at line 203 of file render_types.h.

Constructor & Destructor Documentation

◆ ~RenderDisplay()

Member Function Documentation

◆ current_scene_update()

void RenderDisplay::current_scene_update ( struct Scene * scene)

Definition at line 133 of file render_types.cc.

References current_scene_update_cb, and suh.

◆ display_update()

void RenderDisplay::display_update ( RenderResult * render_result,
rcti * rect )

Definition at line 126 of file render_types.cc.

References display_update_cb, and duh.

◆ draw_lock()

void RenderDisplay::draw_lock ( )

Definition at line 154 of file render_types.cc.

References dlh, and draw_lock_cb.

◆ draw_unlock()

void RenderDisplay::draw_unlock ( )

Definition at line 160 of file render_types.cc.

References dlh, and draw_lock_cb.

◆ ensure_blender_gpu_context()

void * RenderDisplay::ensure_blender_gpu_context ( )

◆ ensure_system_gpu_context()

void RenderDisplay::ensure_system_gpu_context ( )

◆ progress()

void RenderDisplay::progress ( float progress)

Definition at line 147 of file render_types.cc.

References prh, progress(), and progress_cb.

Referenced by progress().

◆ stats_draw()

void RenderDisplay::stats_draw ( RenderStats * render_stats)

Definition at line 140 of file render_types.cc.

References sdh, and stats_draw_cb.

◆ test_break()

bool RenderDisplay::test_break ( )

Definition at line 167 of file render_types.cc.

References tbh, and test_break_cb.

Member Data Documentation

◆ blender_gpu_context

void* RenderDisplay::blender_gpu_context = nullptr

Definition at line 239 of file render_types.h.

Referenced by ensure_blender_gpu_context(), and ~RenderDisplay().

◆ current_scene_update_cb

void(* RenderDisplay::current_scene_update_cb) (void *handle, struct Scene *scene) = nullptr

Definition at line 223 of file render_types.h.

Referenced by current_scene_update(), and ~RenderDisplay().

◆ display_update_cb

void(* RenderDisplay::display_update_cb) (void *handle, RenderResult *rr, rcti *rect) = nullptr

Definition at line 221 of file render_types.h.

Referenced by display_update(), and ~RenderDisplay().

◆ dlh

void* RenderDisplay::dlh = nullptr

Definition at line 232 of file render_types.h.

Referenced by draw_lock(), and draw_unlock().

◆ draw_lock_cb

void(* RenderDisplay::draw_lock_cb) (void *handle, bool lock) = nullptr

Definition at line 231 of file render_types.h.

Referenced by draw_lock(), draw_unlock(), and ~RenderDisplay().

◆ duh

void* RenderDisplay::duh = nullptr

Definition at line 222 of file render_types.h.

Referenced by display_update().

◆ prh

void* RenderDisplay::prh = nullptr

Definition at line 229 of file render_types.h.

Referenced by progress().

◆ progress_cb

void(* RenderDisplay::progress_cb) (void *handle, float i) = nullptr

Definition at line 228 of file render_types.h.

Referenced by progress(), and ~RenderDisplay().

◆ sdh

void* RenderDisplay::sdh = nullptr

Definition at line 227 of file render_types.h.

Referenced by stats_draw().

◆ stats_draw_cb

void(* RenderDisplay::stats_draw_cb) (void *handle, RenderStats *ri) = nullptr

Definition at line 226 of file render_types.h.

Referenced by stats_draw(), and ~RenderDisplay().

◆ suh

void* RenderDisplay::suh = nullptr

Definition at line 224 of file render_types.h.

Referenced by current_scene_update().

◆ system_gpu_context

void* RenderDisplay::system_gpu_context = nullptr

◆ tbh

void* RenderDisplay::tbh = nullptr

Definition at line 234 of file render_types.h.

Referenced by test_break().

◆ test_break_cb

bool(* RenderDisplay::test_break_cb) (void *handle) = nullptr

Definition at line 233 of file render_types.h.

Referenced by test_break(), and ~RenderDisplay().


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