 |
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.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic 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
SpriteBatchcreated SpriteBatch
See Also