DVUI

Target

A texture held by the backend that can be drawn onto. See dvui.Picture.

Fields

#
ptr:*anyopaque
*anyopaque
width:u32
u32
height:u32
u32
format:TexturePixelFormat
TexturePixelFormat
interpolation:TextureInterpolation
TextureInterpolation
wrap_u:dvui.enums.TextureWrap
dvui.enums.TextureWrap
wrap_v:dvui.enums.TextureWrap
dvui.enums.TextureWrap

Functions

#
create

Create a texture that can be rendered with renderTexture and drawn to

destroyLater

Destroy target from Target.create at the end of the frame.

clear

Clear to transparent (all zero).