This topic is now archived and is closed to further replies.

Another stupid question

This topic is 5272 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I recently started learning OpenGL and I have a stupid question that I need an answer for...What exactly means when you say OpenGL is a state machine? I heard this term many times but I don''t really know what It means...I''m very newbie to OpenGL so please don''t flame me for asking this...
The monkeys are listening...

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
Im not real sure but I think it basically means that you set states and they stay that way until you change them

for example

// enable lighting

that lighting state is now set until glDisable(GL_LIGHTING) is called again to change the lighting state to off

Share this post

Link to post
Share on other sites