Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-25-10, 05:27 AM   #1
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 96
i have yet another question ( best title i could think of )

alUI.texture = "Interface\\AddOns\\texture"
--[[ lets say this is going on up here ]]--

very @n4l question here. (hope i'm allowed to say @n4l). gently caress it.

So I've been looking through the code of many minimal UIs (rec, cael, nc, clean, etcc). I'm just wondering what effect on CPU performance does or even memory

Code:
example:SetTexture(alUI.Texture)
in comparison to
Code:
example:SetTexture("Interface\\AddOns\\texture")
Imagine this @ a larger scale ofc. taking in fonts, various integer sizes etc.

hopefully you understand what I mean. But yeah, I'm just wondering, is it simply convenience or are there reasons beyond my noob understanding?
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » i have yet another question ( best title i could think of )


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off