CryEngine.Rendering.Renderer

CryEngine.Rendering.Renderer

Provides CryEngine's output resolution and sends event if resolution changed. More...

Inherits CryEngine.IGameUpdateReceiver.

Public Member Functions

void OnUpdate ()
Called by framework. Do not call directly. More...

Properties

static int ScreenWidth [get]
Render Output Width More...
static int ScreenHeight [get]
Render Output Height More...

Events

static Action< int, int > ResolutionChanged
Event fired if resolution changed More...

Detailed Description

Provides CryEngine's output resolution and sends event if resolution changed.

Member Function Documentation

◆ OnUpdate()

void CryEngine.Rendering.Renderer.OnUpdate ( )
inline

Called by framework. Do not call directly.

Implements CryEngine.IGameUpdateReceiver.

Property Documentation

◆ ScreenHeight

int CryEngine.Rendering.Renderer.ScreenHeight
static
get

Render Output Height

The height of the screen.

◆ ScreenWidth

int CryEngine.Rendering.Renderer.ScreenWidth
static
get

Render Output Width

The width of the screen.

Event Documentation

◆ ResolutionChanged

Action CryEngine.Rendering.Renderer.ResolutionChanged
static

Event fired if resolution changed