createView method
A view of the whole texture, or of the slice descriptor names.
The descriptor is what makes cube faces and render-to-mip possible.
baseArrayLayer picks a cube face and baseMipLevel picks a level to
attach, and both of those are things the contract asks for —
createCubeRenderTarget and supportsRenderToMip — that OpenGL ES needs
separate machinery for and WebGPU treats as one ordinary attachment.
Implementation
external GPUTextureView createView([GPUTextureViewDescriptor descriptor]);