I'd put this just directly as a member in CGUITextureBase rather than here - you don't need to pass it around at all.