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