Documentation ¶
Overview ¶
Package texture implements different types of textures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker represents a checker board pattern texture.
func NewChecker ¶
NewChecker returns a new instance of the Checker texture.
type Constant ¶
type Constant struct {
// contains filtered or unexported fields
}
Constant represents a constant texture.
func NewConstant ¶
NewConstant returns an instance of the constant texture.
type ImageTxt ¶
type ImageTxt struct {
// contains filtered or unexported fields
}
ImageTxt represents an image-based texture.
func NewFromPNG ¶
NewFromPNG returns a new ImageTxt instance by using the supplied PNG data.
Click to show internal directories.
Click to hide internal directories.