Texture

A handle to a texture on the GPU.

Members

Functions

createDefaultView
TextureView createDefaultView()

Creates a default view of this whole texture.

createView
TextureView createView(TextureViewDescriptor descriptor)

Creates a view of this texture.

destroy
void destroy()

Release the given handle.

Variables

descriptor
TextureDescriptor descriptor;

Describes this Texture.

id
WgpuId id;

Handle identifier.

See Also

Meta