Blender  V3.3
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_XrSessionCreateFn session_create_fn = nullptr
 
GHOST_XrSessionExitFn session_exit_fn = nullptr
 
voidsession_exit_customdata = nullptr
 
GHOST_XrDrawViewFn draw_view_fn = nullptr
 

Detailed Description

Definition at line 18 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 29 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 20 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 22 of file GHOST_XrContext.h.

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

◆ session_create_fn

GHOST_XrSessionCreateFn GHOST_XrCustomFuncs::session_create_fn = nullptr

Definition at line 24 of file GHOST_XrContext.h.

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

◆ 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: