mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-16 09:25:57 -05:00
2461142fbd
* Minor changes to reduce interdependencies on modules.
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)
|
|
)
|