C# Class Frost.DirectX.ExternalSurface

Inheritance: Surface2D.ExternalSurface2D, ISurfaceAtlas
Datei anzeigen Open project: fealty/Frost Class Usage Examples

Public Methods

Method Description
AcquireRegion ( Size dimensions, Canvas target ) : Canvas.ResolvedContext
ExternalSurface ( Description &surfaceDescription ) : System
Forget ( Canvas context ) : void
Purge ( bool isForced, SafeList invalidatedResources ) : void

Private Methods

Method Description
ComputeOffsetRegion ( Size desiredSize, Rectangle &result ) : void

Method Details

AcquireRegion() public method

public AcquireRegion ( Size dimensions, Canvas target ) : Canvas.ResolvedContext
dimensions Size
target Canvas
return Canvas.ResolvedContext

ExternalSurface() public method

public ExternalSurface ( Description &surfaceDescription ) : System
surfaceDescription Description
return System

Forget() public method

public Forget ( Canvas context ) : void
context Canvas
return void

Purge() public method

public Purge ( bool isForced, SafeList invalidatedResources ) : void
isForced bool
invalidatedResources SafeList
return void