Blender  V2.93
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
 
void * customdata
 
void(* draw )(struct bContext *)
 
void(* free_data )(struct wmSurface *)
 
void(* activate )(void)
 
void(* deactivate )(void)
 

Detailed Description

Definition at line 33 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 46 of file wm_surface.h.

◆ customdata

void* wmSurface::customdata

Definition at line 39 of file wm_surface.h.

Referenced by wm_xr_session_draw_data_populate(), and wm_xr_session_surface_draw().

◆ deactivate

void(* wmSurface::deactivate) (void)

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

Definition at line 48 of file wm_surface.h.

Referenced by wm_surface_clear_drawable().

◆ draw

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

Definition at line 41 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 43 of file wm_surface.h.

◆ ghost_ctx

GHOST_ContextHandle wmSurface::ghost_ctx

Definition at line 36 of file wm_surface.h.

Referenced by wm_surface_clear_drawable().

◆ gpu_ctx

struct GPUContext* wmSurface::gpu_ctx

Definition at line 37 of file wm_surface.h.

◆ next

struct wmSurface* wmSurface::next

Definition at line 34 of file wm_surface.h.

◆ prev

struct wmSurface * wmSurface::prev

Definition at line 34 of file wm_surface.h.


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