cast
Parameters
- t:Target
- Target
Source
Implementation
pub fn cast(t: Target) Texture {
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 };
}