public class

BlackPawnTextureAtlasBuilder

extends Object
implements ITextureAtlasBuilder<T extends ITextureAtlasSource, A extends ITextureAtlas<T>>
java.lang.Object
   ↳ org.andengine.opengl.texture.atlas.buildable.builder.BlackPawnTextureAtlasBuilder<T extends org.andengine.opengl.texture.atlas.source.ITextureAtlasSource, A extends org.andengine.opengl.texture.atlas.ITextureAtlas<T>>

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

See Also
  • http://www.blackpawn.com/texts/lightmaps/default.html

Summary

Nested Classes
class BlackPawnTextureAtlasBuilder.Node  
class BlackPawnTextureAtlasBuilder.Rect  
Public Constructors
BlackPawnTextureAtlasBuilder(int pTextureAtlasBorderSpacing, int pTextureAtlasSourceSpacing, int pTextureAtlasSourcePadding)
Public Methods
void build(A pTextureAtlas, ArrayList<TextureAtlasSourceWithWithLocationCallback<T>> pTextureAtlasSourcesWithLocationCallback)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.andengine.opengl.texture.atlas.buildable.builder.ITextureAtlasBuilder

Public Constructors

public BlackPawnTextureAtlasBuilder (int pTextureAtlasBorderSpacing, int pTextureAtlasSourceSpacing, int pTextureAtlasSourcePadding)

Parameters
pTextureAtlasBorderSpacing the minimum spacing between the border of the texture and the ITextureAtlasSources.
pTextureAtlasSourceSpacing the spacing between the different ITextureAtlasSources.
pTextureAtlasSourcePadding the transparent padding around each ITextureAtlasSource (prevents texture bleeding).

Public Methods

public void build (A pTextureAtlas, ArrayList<TextureAtlasSourceWithWithLocationCallback<T>> pTextureAtlasSourcesWithLocationCallback)