gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ATI.SeparateStencil

Synopsis

Extension Support

gl_ATI_separate_stencil :: Bool Source #

Checks that the GL_ATI_separate_stencil extension is available.

GL_ATI_separate_stencil

glStencilFuncSeparateATI :: MonadIO m => GLenum -> GLenum -> GLint -> GLuint -> m () Source #

Usage: glStencilFuncSeparateATI frontfunc backfunc ref mask

The parameter frontfunc is a StencilFunction, one of: GL_ALWAYS, GL_EQUAL, GL_GEQUAL, GL_GREATER, GL_LEQUAL, GL_LESS, GL_NEVER, GL_NOTEQUAL.

The parameter backfunc is a StencilFunction, one of: GL_ALWAYS, GL_EQUAL, GL_GEQUAL, GL_GREATER, GL_LEQUAL, GL_LESS, GL_NEVER, GL_NOTEQUAL.

The parameter ref is a ClampedStencilValue.

The parameter mask is a MaskedStencilValue.

glStencilOpSeparateATI :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m () Source #

Usage: glStencilOpSeparateATI face sfail dpfail dppass

The parameter face is a StencilFaceDirection.

The parameter sfail is a StencilOp, one of: GL_DECR, GL_INCR, GL_INVERT, GL_KEEP, GL_REPLACE, GL_ZERO.

The parameter dpfail is a StencilOp, one of: GL_DECR, GL_INCR, GL_INVERT, GL_KEEP, GL_REPLACE, GL_ZERO.

The parameter dppass is a StencilOp, one of: GL_DECR, GL_INCR, GL_INVERT, GL_KEEP, GL_REPLACE, GL_ZERO.

This command is an alias for glStencilOpSeparate.

pattern GL_STENCIL_BACK_FAIL_ATI :: (Eq a, Num a) => a Source #

pattern GL_STENCIL_BACK_FUNC_ATI :: (Eq a, Num a) => a Source #