Copyright | (c) Sven Panne 2006-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module contains functions related to shader limits.
Synopsis
- maxVertexTextureImageUnits :: GettableStateVar GLsizei
- maxTextureImageUnits :: GettableStateVar GLsizei
- maxCombinedTextureImageUnits :: GettableStateVar GLsizei
- maxTextureCoords :: GettableStateVar GLsizei
- maxVertexUniformComponents :: GettableStateVar GLsizei
- maxFragmentUniformComponents :: GettableStateVar GLsizei
- maxVertexAttribs :: GettableStateVar GLsizei
- maxVaryingFloats :: GettableStateVar GLsizei
Documentation
maxVertexTextureImageUnits :: GettableStateVar GLsizei Source #
Contains the number of hardware units that can be used to access texture maps from the vertex processor. The minimum legal value is 0.
maxTextureImageUnits :: GettableStateVar GLsizei Source #
Contains the total number of hardware units that can be used to access texture maps from the fragment processor. The minimum legal value is 2.
maxCombinedTextureImageUnits :: GettableStateVar GLsizei Source #
Contains the total number of hardware units that can be used to access texture maps from the vertex processor and the fragment processor combined. Note: If the vertex shader and the fragment processing stage access the same texture image unit, then that counts as using two texture image units. The minimum legal value is 2.
maxTextureCoords :: GettableStateVar GLsizei Source #
Contains the number of texture coordinate sets that are available. The minimum legal value is 2.
maxVertexUniformComponents :: GettableStateVar GLsizei Source #
Contains the number of individual components (i.e., floating-point, integer or boolean values) that are available for vertex shader uniform variables. The minimum legal value is 512.
maxFragmentUniformComponents :: GettableStateVar GLsizei Source #
Contains the number of individual components (i.e., floating-point, integer or boolean values) that are available for fragment shader uniform variables. The minimum legal value is 64.
maxVertexAttribs :: GettableStateVar GLsizei Source #
Contains the number of active vertex attributes that are available. The minimum legal value is 16.
maxVaryingFloats :: GettableStateVar GLsizei Source #
Contains the number of individual floating-point values available for varying variables. The minimum legal value is 32.