Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextLoader ¶
type TextLoader struct { }
func NewTextLoader ¶
func NewTextLoader() *TextLoader
func (*TextLoader) Load ¶
func (l *TextLoader) Load(mapping *TextMapping, scale float32, grid string) (geometry *render.Geometry, err error)
type TextMapping ¶
type TextMapping struct {
// contains filtered or unexported fields
}
func NewTextMapping ¶
func NewTextMapping(sheet *sprites.Sheet, defaultSprite string) (out *TextMapping, err error)
func (*TextMapping) Get ¶
func (m *TextMapping) Get(r rune) (index int)
type TexturePackerLoader ¶
type TexturePackerLoader struct { }
func NewTexturePackerLoader ¶
func NewTexturePackerLoader() *TexturePackerLoader
func (*TexturePackerLoader) Load ¶
func (l *TexturePackerLoader) Load(jsonPath string, smoothing core.TextureSmoothing) (sheet *sprites.Sheet, err error)
Click to show internal directories.
Click to hide internal directories.