소스 검색

WebGPUTextures: Clean up.

Mugen87 4 년 전
부모
커밋
e1035798b2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      examples/jsm/renderers/webgpu/WebGPUTextures.js

+ 2 - 2
examples/jsm/renderers/webgpu/WebGPUTextures.js

@@ -302,7 +302,7 @@ class WebGPUTextures {
 
 
 		if ( texture.isDataTexture ) {
 		if ( texture.isDataTexture ) {
 
 
-			this.__copyBufferToTexture( image, format, textureGPU );
+			this._copyBufferToTexture( image, format, textureGPU );
 
 
 		} else {
 		} else {
 
 
@@ -340,7 +340,7 @@ class WebGPUTextures {
 
 
 	}
 	}
 
 
-	__copyBufferToTexture( image, format, textureGPU ) {
+	_copyBufferToTexture( image, format, textureGPU ) {
 
 
 		// this code assumes data textures in RGBA format
 		// this code assumes data textures in RGBA format
 		// TODO: Consider to support valid buffer layouts with other formats like RGB
 		// TODO: Consider to support valid buffer layouts with other formats like RGB