i am currently working on an addon for me and my guild to use in raids. currently i have some issues with creating a texture within a frame i have created. i have listed the code i am running within my addon for someone to help me fix this issue ive been having. i am new to lua and coding in general if that makes any diffrence
local dps_frame = CreateFrame("Frame", nil, UIConfig, nil)
dps_frame:SetSize(64, 64)
dps_frame:SetPoint("CENTER")
local DpsTexture = dps_frame:CreateTexture("texture", "background")
DpsTexture:SetPoint("CENTER")
DpsTexture:SetTexture("Interface\\Addons\\RaidGroupManager\\textures\\Damage.blp")
DpsTexture:SetSize(64, 64)
DpsTexture:SetDrawLayer("Background", 0)
DpsTexture:SetAllPoints(dps_frame)
DpsTexture:show()
all this code is doing is creating a green square in the middle of my frame and if i use something like SetVertexColor whatever values i input just make the box black