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)
|
|
)
|