C# Class Nez.GraphicsResource

this class exists only so that we can sneak the Batcher through and have it work just like SpriteBatch with regard to resource handling.
Inheritance: IDisposable
Show file Open project: prime31/Nez

Public Methods

Method Description
Dispose ( ) : void
updateResourceReference ( bool shouldAdd ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

The method that derived classes should override to implement disposing of managed and native resources.

Native resources should always be released regardless of the value of the disposing parameter.

Private Methods

Method Description
GraphicsResource ( ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

The method that derived classes should override to implement disposing of managed and native resources.
Native resources should always be released regardless of the value of the disposing parameter.
protected Dispose ( bool disposing ) : void
disposing bool True if managed objects should be disposed.
return void

updateResourceReference() public method

public updateResourceReference ( bool shouldAdd ) : void
shouldAdd bool
return void