Documentation
¶
Index ¶
- Variables
- type TextureManager
- func (self *TextureManager) Enable()
- func (self *TextureManager) GetLightTextureNumber() int32
- func (self *TextureManager) Init(resolution int, lightsFile string, mergeLitTexture, useAnyLitTexture bool) (err error)
- func (self *TextureManager) LoadTexture(textureFile string, forceMaxResolution bool) (int32, int32, error)
- func (self *TextureManager) UseLitTexture() bool
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 (*TextureManager) UseLitTexture ¶
func (self *TextureManager) UseLitTexture() bool
Click to show internal directories.
Click to hide internal directories.