Click or drag to resize
Ab4d.SharpEngine logo

SceneRemoveSpriteBatch Method

Removes the specified SpriteBatch from the list of SpriteBatches associated to this Scene (created by CreateBackgroundSpriteBatch(String) or CreateOverlaySpriteBatch(String) methods).

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public void RemoveSpriteBatch(
	SpriteBatch spriteBatch,
	bool disposeSpriteBatch = true
)

Parameters

spriteBatch  SpriteBatch
SpriteBatch to remove
disposeSpriteBatch  Boolean  (Optional)
when true (by default) the Dispose method is called on the removed SpriteBatch
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Scene.RemoveSpriteBatch(Ab4d.SharpEngine.Utilities.SpriteBatch,System.Boolean)"]

See Also