Blender  V3.3
Public Attributes | List of all members
wmSurface Struct Reference

#include <wm_surface.h>

Public Attributes

struct wmSurfacenext
 
struct wmSurfaceprev
 
GHOST_ContextHandle ghost_ctx
 
struct GPUContextgpu_ctx
 
voidcustomdata
 
void(* draw )(struct bContext *)
 
void(* do_depsgraph )(struct bContext *C)
 
void(* free_data )(struct wmSurface *)
 
void(* activate )(void)
 
void(* deactivate )(void)
 

Detailed Description

Definition at line 19 of file wm_surface.h.

Member Data Documentation

◆ activate

void(* wmSurface::activate) (void)

Called when surface is activated for drawing (made drawable).

Definition at line 34 of file wm_surface.h.

◆ customdata

void* wmSurface::customdata

◆ deactivate

void(* wmSurface::deactivate) (void)

Called when surface is deactivated for drawing (current drawable cleared).

Definition at line 36 of file wm_surface.h.

Referenced by wm_surface_clear_drawable().

◆ do_depsgraph

void(* wmSurface::do_depsgraph) (struct bContext *C)

Definition at line 29 of file wm_surface.h.

◆ draw

void(* wmSurface::draw) (struct bContext *)

Definition at line 27 of file wm_surface.h.

◆ free_data

void(* wmSurface::free_data) (struct wmSurface *)

Free customdata, not the surface itself (done by wm_surface API)

Definition at line 31 of file wm_surface.h.

◆ ghost_ctx

GHOST_ContextHandle wmSurface::ghost_ctx

Definition at line 22 of file wm_surface.h.

Referenced by wm_surface_clear_drawable().

◆ gpu_ctx

struct GPUContext* wmSurface::gpu_ctx

Definition at line 23 of file wm_surface.h.

◆ next

struct wmSurface* wmSurface::next

Definition at line 20 of file wm_surface.h.

◆ prev

struct wmSurface * wmSurface::prev

Definition at line 20 of file wm_surface.h.


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