DVUI

textureFromTarget

Convert target made with textureCreateTarget into return texture as if made by textureCreate. target will be destroyed.

Parameters

#
self:Backend
Backend
target:dvui.TextureTarget
dvui.TextureTarget

Source

Implementation

#
pub fn textureFromTarget(self: Backend, target: dvui.TextureTarget) TextureError!dvui.Texture {
    return self.renderer().textureFromTarget(target);
}