MCPcopy Index your code
hub / github.com/g3n/engine / SetMagFilter

Method SetMagFilter

texture/texture2D.go:231–235  ·  view source on GitHub ↗

SetMagFilter sets the filter to be applied when the texture element covers more than on pixel. The default value is gls.Linear.

(magFilter uint32)

Source from the content-addressed store, hash-verified

229// SetMagFilter sets the filter to be applied when the texture element
230// covers more than on pixel. The default value is gls.Linear.
231func (t *Texture2D) SetMagFilter(magFilter uint32) {
232
233 t.magFilter = magFilter
234 t.updateParams = true
235}
236
237// SetMinFilter sets the filter to be applied when the texture element
238// covers less than on pixel. The default value is gls.Linear.

Callers 3

SetTextMethod · 0.80
setTextCaretMethod · 0.80
applySamplerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected