Toolbox 0.0.1
Ritchie's accessible game engine'
Loading...
Searching...
No Matches
IGuiContext Interface Reference
Inheritance diagram for IGuiContext:
WidgetView EditorWindow WidgetLayer ShaderEditorWindow WidgetDesignerWindow GameEditorWindow MaterialEditor ProjectSelectWindow

Public Member Functions

void Grab (FrameBuffer destination, Rectangle sourceArea, Rectangle destinationArea)
 Renders the user interface to the given RenderTarget2D. Useful for certain widget rendering techniques such as background blurs.
 
IFontFamily GetFallbackFont ()
 

Properties

Application Game [get]
 
int PhysicalWidth [get]
 
int PhysicalHeight [get]
 
int CanvasWidth [get]
 
int CanvasHeight [get]
 
GraphicsDevice GraphicsDevice [get]
 

Member Function Documentation

◆ GetFallbackFont()

IFontFamily GetFallbackFont ( )

Implemented in WidgetView, EditorWindow, and WidgetLayer.

◆ Grab()

void Grab ( FrameBuffer destination,
Rectangle sourceArea,
Rectangle destinationArea )

Renders the user interface to the given RenderTarget2D. Useful for certain widget rendering techniques such as background blurs.

Parameters
destination

Implemented in WidgetView, EditorWindow, and WidgetLayer.

Property Documentation

◆ CanvasHeight

int CanvasHeight
get

Implemented in WidgetView, EditorWindow, and WidgetLayer.

◆ CanvasWidth

int CanvasWidth
get

Implemented in WidgetView, EditorWindow, and WidgetLayer.

◆ Game

Application Game
get

Implemented in WidgetView, EditorWindow, and WidgetLayer.

◆ GraphicsDevice

GraphicsDevice GraphicsDevice
get

Implemented in WidgetView, EditorWindow, and WidgetLayer.

◆ PhysicalHeight

int PhysicalHeight
get

Implemented in WidgetView, EditorWindow, and WidgetLayer.

◆ PhysicalWidth

int PhysicalWidth
get

Implemented in WidgetView, EditorWindow, and WidgetLayer.


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