DVUI

fromPixelsPMA

Parameters

#
pma:[]const Color.PMA
[]const Color.PMA
width:u32
u32
height:u32
u32
interpolation:TextureInterpolation
TextureInterpolation

Source

Implementation

#
pub fn fromPixelsPMA(pma: []const Color.PMA, width: u32, height: u32, interpolation: TextureInterpolation) TextureError!Texture {
    return try dvui.textureCreate(pma, .{ .width = width, .height = height, .interpolation = interpolation });
}