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.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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