WebGLGPUTextureView

View source

WebGL representation of a GPUTextureView.

WebGL does not have a separate native texture-view object. The view keeps the texture it was created from so bind groups and render-pass attachments can use the view while uploads and copies continue to use the texture.

Constructor


Properties


readonly aspect : "all" | "depth-only" | "stencil-only"

View source