texture

package
v0.0.0-...-9c16395 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2015 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TextureManagerInstance = &TextureManager{make(map[string][2]int32), 0, "", false, false, -1, nil, false, task.NewTaskManager(10)}

Functions

This section is empty.

Types

type TextureManager

type TextureManager struct {
	// contains filtered or unexported fields
}

func (*TextureManager) Enable

func (self *TextureManager) Enable()

func (*TextureManager) GetLightTextureNumber

func (self *TextureManager) GetLightTextureNumber() int32

func (*TextureManager) Init

func (self *TextureManager) Init(resolution int, lightsFile string, mergeLitTexture, useAnyLitTexture bool) (err error)

func (*TextureManager) LoadTexture

func (self *TextureManager) LoadTexture(textureFile string, forceMaxResolution bool) (int32, int32, error)

func (*TextureManager) UseLitTexture

func (self *TextureManager) UseLitTexture() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL