Click or drag to resize
AB4D logo

DXSceneCreateSpriteBatch(RenderSpritesRenderingStep, String) Method

Creates a SpriteBatch that will be added to the specified RenderSpritesRenderingStep. When renderSpritesRenderingStep is not specified, then the created SpriteBatch is added to a the DefaultRenderSpritesRenderingStep rendering step (if this is the first sprite batch then the DefaultRenderSpritesRenderingStep is added to RenderingSteps).

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public SpriteBatch CreateSpriteBatch(
	RenderSpritesRenderingStep renderSpritesRenderingStep,
	string name = null
)

Parameters

renderSpritesRenderingStep  RenderSpritesRenderingStep
custom RenderSpritesRenderingStep where the created SpriteBatch will be added to. When renderSpritesRenderingStep is not specified, then the created SpriteBatch is added to a the DefaultRenderSpritesRenderingStep rendering step.
name  String  (Optional)
name of the created SpriteBatch (optional)

Return Value

SpriteBatch
created SpriteBatch
See Also