wrappingX property
RenderTextureWrapping
wrappingX
Implementation
RenderTextureWrapping get wrappingX => _wrappingX;
Implementation
set wrappingX(RenderTextureWrapping wrapping) {
if (_wrappingX == wrapping) return;
_wrappingX = wrapping;
if (_renderContext == null || _texture == null) return;
if (_renderContext!.contextIdentifier != contextIdentifier) return;
_renderContext!.activateRenderTexture(this);
_renderingContext!.texParameteri(
gl.WebGL.TEXTURE_2D, gl.WebGL.TEXTURE_WRAP_S, _wrappingX.value);
}