Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProperties ¶
func NewProperties() *vmt.Properties
Types ¶
type Material ¶
type Material struct {
Props *vmt.Properties
Textures struct {
// Albedo
Albedo texture.ITexture
// Normal
Normal texture.ITexture
}
// contains filtered or unexported fields
}
Material
func NewMaterial ¶
func NewMaterial(filePath string, props *vmt.Properties) *Material
func (*Material) EvictTextures ¶
func (mat *Material) EvictTextures()
func (*Material) FilePath ¶
FilePath returns this materials location in whatever filesystem it was found
Click to show internal directories.
Click to hide internal directories.