@@ -11,7 +11,7 @@
public update(data: ArrayBufferView): void {
this.getScene().getEngine().updateRawTexture(this._texture, data, this.format, this._invertY);
- };
+ }
// Statics
public static CreateLuminanceTexture(data: ArrayBufferView, width: number, height: number, scene: Scene, generateMipMaps: boolean = true, invertY: boolean = false, samplingMode: number = Texture.TRILINEAR_SAMPLINGMODE): RawTexture {
@@ -1648,7 +1648,7 @@
this._gl.bindTexture(this._gl.TEXTURE_2D, null);
this._activeTexturesCache = [];
texture.isReady = true;
public createRawTexture(data: ArrayBufferView, width: number, height: number, format: number, generateMipMaps: boolean, invertY: boolean, samplingMode: number): WebGLTexture {
var texture = this._gl.createTexture();