textureCreateTarget
Create a dvui.Texture that can be rendered to with renderTarget. The
returned pointer is what will later be passed to drawClippedTriangles.
Parameters
- self:Backend
- Backend
- options:dvui.Texture.CreateOptions
- dvui.Texture.CreateOptions
Source
Implementation
pub fn textureCreateTarget(self: Backend, options: dvui.Texture.CreateOptions) TextureError!dvui.TextureTarget {
return self.renderer().textureCreateTarget(options);
}