21.06.2014 Views

OpenGL 4.2 (Compatibility Profile) - April 27, 2012

OpenGL 4.2 (Compatibility Profile) - April 27, 2012

OpenGL 4.2 (Compatibility Profile) - April 27, 2012

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.4. TIMER QUERIES 463<br />

feedback-list:<br />

feedback-item feedback-list<br />

feedback-item<br />

feedback-item:<br />

point<br />

line-segment<br />

polygon<br />

bitmap<br />

pixel-rectangle<br />

passthrough<br />

point:<br />

POINT_TOKEN vertex<br />

line-segment:<br />

LINE_TOKEN vertex vertex<br />

LINE_RESET_TOKEN vertex vertex<br />

polygon:<br />

POLYGON_TOKEN n polygon-spec<br />

polygon-spec:<br />

polygon-spec vertex<br />

vertex vertex vertex<br />

bitmap:<br />

BITMAP_TOKEN vertex<br />

pixel-rectangle:<br />

DRAW_PIXEL_TOKEN vertex<br />

COPY_PIXEL_TOKEN vertex<br />

passthrough:<br />

PASS_THROUGH_TOKEN f<br />

vertex:<br />

2D:<br />

f f<br />

3D:<br />

f f f<br />

3D_COLOR:<br />

f f f color<br />

3D_COLOR_TEXTURE:<br />

f f f color tex<br />

4D_COLOR_TEXTURE:<br />

f f f f color tex<br />

color:<br />

tex:<br />

f f f f<br />

f<br />

f f f f<br />

Figure 5.2: Feedback syntax. f is a floating-point number. n is a floating-point<br />

integer giving the number of vertices in a polygon. The symbols ending with<br />

_TOKEN are symbolic floating-point constants. The labels under the “vertex”<br />

rule show the different data returned for vertices depending on the feedback type.<br />

LINE_TOKEN and LINE_RESET_TOKEN are identical except that the latter is returned<br />

only when the line stipple is reset for that line segment.<br />

<strong>OpenGL</strong> <strong>4.2</strong> (<strong>Compatibility</strong> <strong>Profile</strong>) - <strong>April</strong> <strong>27</strong>, <strong>2012</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!