mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-02 17:27:23 -04:00
55dc3e42ed
* adding comments to d2interface for linter * moved d2render renderer interfaces and types into d2interface
16 lines
377 B
Go
16 lines
377 B
Go
package d2interface
|
|
|
|
// 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)
|
|
)
|