DVUI

cast

Parameters

#
t:Texture
Texture

Source

Implementation

#
pub fn cast(t: Texture) Target {
        return .{ .ptr = t.ptr, .width = t.width, .height = t.height, .format = t.format, .interpolation = t.interpolation, .wrap_u = t.wrap_u, .wrap_v = t.wrap_v };
    }