C# Class Spine.RegionBatcher

Draws batched quads using indices.
Afficher le fichier Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GraphicsDevice device ) : void
NextItem ( ) : RegionItem

Returns a pooled RegionItem.

RegionBatcher ( ) : System

Private Methods

Méthode Description
EnsureArrayCapacity ( int itemCount ) : void

Resize and recreate the indices and vertex position color buffers.

FlushVertexArray ( GraphicsDevice device, int count ) : void

Sends the triangle list to the graphics device.

Method Details

Draw() public méthode

public Draw ( GraphicsDevice device ) : void
device GraphicsDevice
Résultat void

NextItem() public méthode

Returns a pooled RegionItem.
public NextItem ( ) : RegionItem
Résultat RegionItem

RegionBatcher() public méthode

public RegionBatcher ( ) : System
Résultat System