Original Post
Hello everyone, been awhile sence I have had a chance to post on here. so here goes. Regarding Render loops what design patterns have you guys found to be effective? My loop is starting to get a bit hairy in my engine here with IF statements doing checks to see if my say Mesh entity class has a shader attached to it, or if it has alpha Blending enabled, ect. Just wondering what you guys do to more effectively manage your loops. or should I just kick out of my loop with IF statements calling other methods to handle those specific rendering types. Well just trying to get some ideas kicked around here so any input would be greatly appreciated. Thanks everyone.