demo · v132

Texture view usage — live builder

Pick a usage mask for the parent texture, pick a (narrower) usage mask for the view, and the page calls createView() with those flags. The result — success or validation error — is reported live.

click run to request a GPUDevice…

parent texture usage

view usage (must be subset)

configure and click createView()

  

see also