mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-05 19:14:14 -04:00
Typos located using misspell: https://github.com/client9/misspell Formatting done using goimports: https://godoc.org/golang.org/x/tools/cmd/goimports
16 lines
374 B
Go
16 lines
374 B
Go
package d2render
|
|
|
|
// Filter represents the type of texture filter to be used when an image is magnified or minified.
|
|
type Filter int
|
|
|
|
const (
|
|
// FilterDefault represents the default filter.
|
|
FilterDefault Filter = 0
|
|
|
|
// FilterNearest represents nearest (crisp-edged) filter
|
|
FilterNearest = Filter(1)
|
|
|
|
// FilterLinear represents linear filter
|
|
FilterLinear = Filter(2)
|
|
)
|