Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []Enum{ None, Nearest, Linear, }
All possible values.
Functions ¶
This section is empty.
Types ¶
type Enum ¶
type Enum int32
Enum holds the type of mipmapping to be done.
const ( None Enum = iota // Ignore mipmap levels, sample from the 'base' Nearest // Sample from the nearest level Linear // Interpolate between the two nearest levels )
Possible values.
func (Enum) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Enum) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Enum) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.