SetImageData method

void SetImageData(
  1. Object data
)

Implementation

void SetImageData(Object data) {
  _cgl.bindTexture(_textureType, _texture);
  _cgl.texImage2Dweb(
      _textureType, 0, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, data);
}