GPUTextureView

class wgpu.GPUTextureView

Bases: GPUObjectBase

Represents a way to represent a GPUTexture.

Create a texture view using GPUTexture.create_view().

property size: tuple[int, int, int]

The texture size (as a 3-tuple).

property texture: GPUTexture

The texture object to which this is a view.