Copyright | (c) Sven Panne, Lars Corbijn 2011-2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- beginTransformFeedback :: PrimitiveMode -> IO ()
- endTransformFeedback :: IO ()
- data TransformFeedbackBufferMode
- marshalTransformFeedbackBufferMode :: TransformFeedbackBufferMode -> GLenum
- unmarshalTransformFeedbackBufferMode :: GLenum -> TransformFeedbackBufferMode
- transformFeedbackBufferMode :: Program -> GettableStateVar TransformFeedbackBufferMode
- transformFeedbackVaryings :: Program -> GettableStateVar [(GLint, DataType, String)]
- setTransformFeedbackVaryings :: Program -> [String] -> TransformFeedbackBufferMode -> IO ()
- maxTransformFeedbackSeparateAttribs :: GettableStateVar GLint
- maxTransformFeedbackInterleavedComponents :: GettableStateVar GLint
- maxTransformFeedbackSeparateComponents :: GettableStateVar GLint
starting and ending
beginTransformFeedback :: PrimitiveMode -> IO () Source #
endTransformFeedback :: IO () Source #
TransformFeedbackBufferMode
data TransformFeedbackBufferMode Source #
InterleavedAttribs | |
SeparateAttribs | |
SeperateAttribs | Deprecated: Use |
Shader related
transformFeedbackBufferMode :: Program -> GettableStateVar TransformFeedbackBufferMode Source #
Get the currently used transformFeedbackBufferMode
transformFeedbackVaryings :: Program -> GettableStateVar [(GLint, DataType, String)] Source #
The name, datatype and size of the transform feedback varyings.
setTransformFeedbackVaryings :: Program -> [String] -> TransformFeedbackBufferMode -> IO () Source #
Set all the transform feedbacks varyings for this program it overwrites any previous call to this function
limits
maxTransformFeedbackSeparateAttribs :: GettableStateVar GLint Source #
Max number of seprate atributes or varyings than can be captured in transformfeedback, initial value 4
maxTransformFeedbackInterleavedComponents :: GettableStateVar GLint Source #
Max number of components to write to a single buffer in interleaved mod, initial value 64
maxTransformFeedbackSeparateComponents :: GettableStateVar GLint Source #
Max number of components per attribute or varying in seperate mode initial value 4