Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNameDup = errors.New("ErrNameDup") ErrTypeNotSupport = errors.New("ErrTypeNotSupport") )
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct { ID int Loaded bool Name string Type AssetType Data interface{} // type-dependant Resource Resource // type-dependant }
Asset is where you can get a resource which is the real thing to use. When you get a resource, you don't need a asset.
type AsssetManager ¶
type AsssetManager struct {
// contains filtered or unexported fields
}
func NewAsssetManager ¶
func NewAsssetManager() *AsssetManager
func (*AsssetManager) FindByName ¶
func (am *AsssetManager) FindByName(name string) *Asset
func (*AsssetManager) PrintAllAsset ¶
func (am *AsssetManager) PrintAllAsset()
type ModelDataType ¶
type ModelDataType struct {
FilePath string
}
type ShaderDataType ¶
Click to show internal directories.
Click to hide internal directories.