mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-13 03:00:42 +00:00
ff4f0b0bfa
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)
|
|
)
|