wrappingX property

Implementation

RenderTextureWrapping get wrappingX => _wrappingX;
void wrappingX=(RenderTextureWrapping wrapping)

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