@@ -357,6 +357,7 @@ ThinEngine.prototype.createRawCubeTexture = function(data: Nullable<ArrayBufferV
this._bindTextureDirectly(gl.TEXTURE_CUBE_MAP, null);
texture.generateMipMaps = generateMipMaps;
+ texture.samplingMode = samplingMode;
return texture;
};
@@ -1508,6 +1508,7 @@ export class WebGPUEngine extends Engine {
texture.width = size;
texture.height = size;
if (!this._doNotHandleContextLost) {
texture._bufferViewArray = data;
}