Widget API: Frame:CreateTexture
← Widget API ← Frame < CreateTexture
Good for solid color backgrounds instead of using the SetBackdrop function.
FRAME.texture = FRAME:CreateTexture() FRAME.texture:SetAllPoints(FRAME) FRAME.texture:SetTexture(r,g,b[,a])