MCPcopy
hub / github.com/g3n/engine / SetMinFilter

Method SetMinFilter

texture/texture2D.go:239–243  ·  view source on GitHub ↗

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

(minFilter uint32)

Source from the content-addressed store, hash-verified

237// SetMinFilter sets the filter to be applied when the texture element
238// covers less than on pixel. The default value is gls.Linear.
239func (t *Texture2D) SetMinFilter(minFilter uint32) {
240
241 t.minFilter = minFilter
242 t.updateParams = true
243}
244
245// SetWrapS set the wrapping mode for texture S coordinate
246// The default value is GL_CLAMP_TO_EDGE;

Callers 3

SetTextMethod · 0.80
setTextCaretMethod · 0.80
applySamplerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected