Blender V4.3
blender::gpu::DebugScope Struct Reference

#include <GPU_debug.hh>

Classes

struct  ScopedCapture
 

Public Member Functions

 DebugScope (const char *identifier)
 
void begin_capture ()
 
void end_capture ()
 
ScopedCapture scoped_capture ()
 

Public Attributes

void * scope
 

Detailed Description

Need to be declared as static with a unique identifier string.

Definition at line 118 of file GPU_debug.hh.

Constructor & Destructor Documentation

◆ DebugScope()

blender::gpu::DebugScope::DebugScope ( const char * identifier)
inline

Definition at line 121 of file GPU_debug.hh.

References GPU_debug_capture_scope_create(), and scope.

Member Function Documentation

◆ begin_capture()

void blender::gpu::DebugScope::begin_capture ( )
inline

Definition at line 126 of file GPU_debug.hh.

References GPU_debug_capture_scope_begin(), and scope.

Referenced by blender::draw::overlay::Instance::draw().

◆ end_capture()

void blender::gpu::DebugScope::end_capture ( )
inline

Definition at line 131 of file GPU_debug.hh.

References GPU_debug_capture_scope_end(), and scope.

Referenced by blender::draw::overlay::Instance::draw().

◆ scoped_capture()

ScopedCapture blender::gpu::DebugScope::scoped_capture ( )
inline

Definition at line 150 of file GPU_debug.hh.

References scope.

Member Data Documentation

◆ scope

void* blender::gpu::DebugScope::scope

Definition at line 119 of file GPU_debug.hh.

Referenced by begin_capture(), DebugScope(), end_capture(), and scoped_capture().


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