Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Texture ¶
type Texture struct {
// contains filtered or unexported fields
}
Texture represents a 2D texture image.
func New ¶
New Creates and inializes a new texture from the given source, which may be either a local file path or URL to an image. If the path is empty a blank texture is returned. If the path is invalid an error is returned.
Click to show internal directories.
Click to hide internal directories.