Blender  V2.93
Public Attributes | List of all members
GHOST_XrCustomFuncs Struct Reference

#include <GHOST_XrContext.h>

Public Attributes

GHOST_XrGraphicsContextBindFn gpu_ctx_bind_fn = nullptr
 
GHOST_XrGraphicsContextUnbindFn gpu_ctx_unbind_fn = nullptr
 
GHOST_XrSessionExitFn session_exit_fn = nullptr
 
void * session_exit_customdata = nullptr
 
GHOST_XrDrawViewFn draw_view_fn = nullptr
 

Detailed Description

Definition at line 32 of file GHOST_XrContext.h.

Member Data Documentation

◆ draw_view_fn

GHOST_XrDrawViewFn GHOST_XrCustomFuncs::draw_view_fn = nullptr

Custom per-view draw function for Blender side drawing.

Definition at line 42 of file GHOST_XrContext.h.

Referenced by GHOST_XrContext::setDrawViewFunc().

◆ gpu_ctx_bind_fn

GHOST_XrGraphicsContextBindFn GHOST_XrCustomFuncs::gpu_ctx_bind_fn = nullptr

Function to retrieve (possibly create) a graphics context.

Definition at line 34 of file GHOST_XrContext.h.

Referenced by GHOST_XrContext::setGraphicsContextBindFuncs(), and GHOST_XrSession::start().

◆ gpu_ctx_unbind_fn

GHOST_XrGraphicsContextUnbindFn GHOST_XrCustomFuncs::gpu_ctx_unbind_fn = nullptr

Function to release (possibly free) a graphics context.

Definition at line 36 of file GHOST_XrContext.h.

Referenced by GHOST_XrContext::setGraphicsContextBindFuncs(), and GHOST_XrSession::unbindGraphicsContext().

◆ session_exit_customdata

void* GHOST_XrCustomFuncs::session_exit_customdata = nullptr

◆ session_exit_fn

GHOST_XrSessionExitFn GHOST_XrCustomFuncs::session_exit_fn = nullptr

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