C# Class WaveEngine.Components.Graphics2D.SpriteAtlasRenderer

Inheritance: Drawable2D
Datei anzeigen Open project: WaveEngine/Components

Private Properties

Property Type Description

Public Methods

Method Description
Draw ( System.TimeSpan gameTime ) : void

Allows to perform custom drawing.

This method will only be called if all the following points are true: The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible. The Drawable is active. The owner Entity of the Drawable is active and visible.

SpriteAtlasRenderer ( ) : System

Initializes a new instance of the SpriteAtlasRenderer class.

SpriteAtlasRenderer ( Type layerType, AddressMode samplerMode = AddressMode.LinearClamp ) : System

Initializes a new instance of the SpriteAtlasRenderer class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

Draw() public method

Allows to perform custom drawing.
This method will only be called if all the following points are true: The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible. The Drawable is active. The owner Entity of the Drawable is active and visible.
public Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The elapsed game time.
return void

SpriteAtlasRenderer() public method

Initializes a new instance of the SpriteAtlasRenderer class.
public SpriteAtlasRenderer ( ) : System
return System

SpriteAtlasRenderer() public method

Initializes a new instance of the SpriteAtlasRenderer class.
public SpriteAtlasRenderer ( Type layerType, AddressMode samplerMode = AddressMode.LinearClamp ) : System
layerType System.Type Type of the layer.
samplerMode AddressMode The sampler mode.
return System