@@ -27,11 +27,11 @@ export type CopyBufferToTextureOptions = {
2727 byteOffset ?: number ;
2828 destinationTexture : Texture ;
2929 mipLevel ?: number ; // = 0;
30- origin ?: [ number , number , number ] | number [ ] ;
30+ origin ?: [ number , number , number ] ;
3131 aspect ?: 'all' | 'stencil-only' | 'depth-only' ;
3232 bytesPerRow : number ;
3333 rowsPerImage : number ;
34- size : [ number , number , number ] | number [ ] ;
34+ size : [ number , number , number ] ;
3535} ;
3636
3737export type CopyTextureToBufferOptions = {
@@ -49,7 +49,7 @@ export type CopyTextureToBufferOptions = {
4949 width ?: number ;
5050 height ?: number ;
5151 depthOrArrayLayers ?: number ;
52- origin ?: number [ ] ;
52+ origin ?: [ number , number , number ] ;
5353
5454 /** Destination buffer */
5555 destinationBuffer : Buffer ;
@@ -74,7 +74,7 @@ export type CopyTextureToTextureOptions = {
7474 /** Mip-map level of the texture to copy to/from. (Default 0) */
7575 mipLevel ?: number ;
7676 /** Defines the origin of the copy - the minimum corner of the texture sub-region to copy from. */
77- origin ?: number [ ] ;
77+ origin ?: [ number , number , number ] ;
7878 /** Defines which aspects of the {@link GPUImageCopyTexture#texture} to copy to/from. */
7979 aspect ?: 'all' | 'stencil-only' | 'depth-only' ;
8080
@@ -83,7 +83,7 @@ export type CopyTextureToTextureOptions = {
8383 /** Mip-map level of the texture to copy to/from. (Default 0) */
8484 destinationMipLevel ?: number ;
8585 /** Defines the origin of the copy - the minimum corner of the texture sub-region to copy to. */
86- destinationOrigin ?: number [ ] ;
86+ destinationOrigin ?: [ number , number , number ] ;
8787 /** Defines which aspects of the {@link GPUImageCopyTexture#texture} to copy to/from. */
8888 destinationAspect ?: 'all' | 'stencil-only' | 'depth-only' ;
8989
0 commit comments