mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-07 10:47:19 -05:00
16 lines
389 B
Go
16 lines
389 B
Go
|
package d2common
|
||
|
|
||
|
// Filter represents the type of texture filter to be used when an image is maginified or minified.
|
||
|
type Filter int
|
||
|
|
||
|
const (
|
||
|
// FilterDefault represents the default filter.
|
||
|
FilterDefault Filter = 0
|
||
|
|
||
|
// FilterNearest represents nearest (crisp-edged) filter
|
||
|
FilterNearest Filter = Filter(1)
|
||
|
|
||
|
// FilterLinear represents linear filter
|
||
|
FilterLinear Filter = Filter(2)
|
||
|
)
|