diff options
Diffstat (limited to 'source/blender/gpu/opengl/gl_state.hh')
-rw-r--r-- | source/blender/gpu/opengl/gl_state.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_state.hh b/source/blender/gpu/opengl/gl_state.hh index 3b4b40b1d10..979644b41c9 100644 --- a/source/blender/gpu/opengl/gl_state.hh +++ b/source/blender/gpu/opengl/gl_state.hh @@ -72,11 +72,17 @@ class GLStateManager : public StateManager { GLStateManager(); void apply_state(void) override; + /** + * Will set all the states regardless of the current ones. + */ void force_state(void) override; void issue_barrier(eGPUBarrier barrier_bits) override; void texture_bind(Texture *tex, eGPUSamplerState sampler, int unit) override; + /** + * Bind the texture to slot 0 for editing purpose. Used by legacy pipeline. + */ void texture_bind_temp(GLTexture *tex); void texture_unbind(Texture *tex) override; void texture_unbind_all(void) override; |