MCPcopy Create free account
hub / github.com/g3n/engine / SetWrapT

Method SetWrapT

texture/texture2D.go:255–259  ·  view source on GitHub ↗

SetWrapT set the wrapping mode for texture T coordinate The default value is GL_CLAMP_TO_EDGE;

(wrapT uint32)

Source from the content-addressed store, hash-verified

253// SetWrapT set the wrapping mode for texture T coordinate
254// The default value is GL_CLAMP_TO_EDGE;
255func (t *Texture2D) SetWrapT(wrapT uint32) {
256
257 t.wrapT = wrapT
258 t.updateParams = true
259}
260
261// SetRepeat set the repeat factor
262func (t *Texture2D) SetRepeat(x, y float32) {

Callers 2

NewAnimatorFunction · 0.80
applySamplerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected