ISwapChain

Description

interface Tinman.Engine.Rendering.ISwapChain

Derived from

IRenderTarget

A swap chain for rendering in a window.

Public / Methods

Present​Begin


public method PresentBegin → ()

Begins the process that presents the most recent renderings.

This method should be called as soon as possible after IRenderTarget.Finish has been called.

Present​End


public method PresentEnd → ()

Ends the process that presents the most recent renderings.

This method should be called at the latest possible point in time, which is either before beginning to render a new frame or when entering the idle state, where no more frames will be rendered unless an external stimulus occurs.

Validate


public method Validate → ()

returns → bool

true if the swap chain is valid, false if it has become invalid.

Checks if this swap chain is still valid.

If a swap chain has become invalid, it needs to be disposed and recreated. It is not necessary to recreate any other graphics resources in this case.