- Home /
Another draw call question
I'm a little confused by the draw calls incurred by "GUI.Button" vs "GUILayout.Button". Both elements seem to issue two draw calls. I was under the impression that "GUI.Button" would have been one call and that "GUILayout.Button" would have been two calls (one for layout metrics and one for the button itself.)
So, is it correct to say that a Button (regardless of GUI or GUILayout) uses one call for the button itself and the other call for the button contents?
And that, the extra draw calls incurred by using GUILayout have more to do with the additional container elements used than the actual base elements (Button, Toggle, etc)?
Your answer
Follow this Question
Related Questions
GUILayout.Buttons overlap but only can click the bottom one 0 Answers
GUI Button Text in upper left? 2 Answers
Hair and Skin Color Buttons 0 Answers