Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::DisplayContextRequestGuard Class Reference

#include <DisplayContextRequestBus.h>

Public Member Functions

 DisplayContextRequestGuard (DisplayContext &displayContext)
 

Detailed Description

A helper to wrap DisplayContext set EBus calls. Usage: // enter scope { AzFramework::DisplayContextRequestGuard displayContextGuard(displayContext); ... } // exit scope, clean up

Attention
This is used to bind/unbind DisplayContext for the implementation of DebugDisplayRequestBus before commands to draw can be used.

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