Skip to main content
gamedev.net
🔒 Locked

glBlendFunc()?

Started by colinisinhere Nov 28, 2004 at 8:53 PM 0 replies 550+ views
Original Post
colinisinhere
colinisinhere
Is it slow to call glBlendFunc() multiple times in one frame? Also is there a way to check what the current function is? to see wether or not i need to call it again? Thanks!
HopeDagger
HopeDagger
Quote:
Original post by colinisinhere
Is it slow to call glBlendFunc() multiple times in one frame?


This shouldn't cause any more slowdown than calling any other function, since OpenGL is merely storing what type of function to perform on the next blended fragment. By retrieving the current blend function, you'd probably be using more CPU time than to just constantly set it. ;)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.