• Advertisement
Sign in to follow this  

what is scene state set

This topic is 684 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

what is scene state set ? what it has?  how it work? 

how it work with shaders? 

Edited by poigwym

Share this post


Link to post
Share on other sites
Advertisement

It's hard to say without more context, but you're probably talking about the collection of rendering API state required to draw a scene. Your rendering API is generally OpenGL or Direct3D, and the "state" refers to all the various things you can configure or twiddle in the rendering of a scene. This includes but is not limited to:

 

- which shader is active at each stage of the pipeline (vertex, geometry, fragment, et cetera)

- which textures are active

- which buffers are active

- how blending is configured

- which color, depth, stencil, et cetera writes are active, and which related tests are active

- which target or targets to render to

 

and so on.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement