OpenGL-3.0.3.0: A binding for the OpenGL graphics system

Copyright(c) Sven Panne 2011-2019 Lars Corbijn 2011-2016
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.GL.TransformFeedback

Contents

Description

 
Synopsis

starting and ending

TransformFeedbackBufferMode

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