glFeedbackBuffer - controls feedback mode
GLenum type, GLfloat *buffer )
feedbackList <- feedbackItem feedbackList | feedbackItem
feedbackItem <- point | lineSegment | polygon | bitmap | pixelRectangle | passThru
point <- GL_POINT_TOKEN vertex
lineSegment <- GL_LINE_TOKEN vertex vertex | GL_LINE_RESET_TOKEN vertex vertex
polygon <- GL_POLYGON_TOKEN n polySpec
polySpec <- polySpec vertex | vertex vertex vertex
bitmap <- GL_BITMAP_TOKEN vertex
pixelRectangle <- GL_DRAW_PIXEL_TOKEN vertex | GL_COPY_PIXEL_TOKEN vertex
passThru <- GL_PASS_THROUGH_TOKEN value
vertex <- 2d | 3d | 3dColor | 3dColorTexture | 4dColorTexture
2d <- value value
3d <- value value value
3dColor <- value value value color
3dColorTexture <- value value value color tex
4dColorTexture <- value value value value color tex
color <- rgba | index
rgba <- value value value value
index <- value
tex <- value value value value
Type | Coordinates | Color | Texture | Total Number of Values |
GL_2D | x, y | 2 | ||
GL_3D | x, y, z | 3 | ||
GL_3D_COLOR | x, y, z | $k$ | $3 ~+~ k$ | |
GL_3D_COLOR_TEXTURE | x, y, z, | $k$ | 4 | $7 ~+~ k$ |
GL_4D_COLOR_TEXTURE | x, y, z, w | $k$ | 4 | $8 ~+~ k$ |
Feedback vertex coordinates are in window coordinates, except w, which is in clip coordinates. Feedback colors are lighted, if lighting is enabled. Feedback texture coordinates are generated, if texture coordinate generation is enabled. They are always transformed by the texture matrix.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |