EasyManuals Logo
Home>HP>Desktop>b2600

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #386 background imageLoading...
Page #386 background image
R
glRenderMode
Chapter 16
386
glRenderMode
glRenderMode: set rasterization mode.
C Specification
GLint glRenderMode(
GLenum mode)
Parameters
mode Specifies the rasterization mode. Three values are accepted:
GL_RENDER, GL_SELECT, and GL_FEEDBACK. The initial value is
GL_RENDER.
Description
glRenderMode sets the rasterization mode. It takes one argument, mode, which can
assume one of three predefined values:
GL_RENDER
Render mode. Primitives are rasterized, producing pixel fragments, which are written
into the frame buffer. This is the normal mode and also the default mode.
GL_SELECT
Selection mode. No pixel fragments are produced, and no change to the frame buffer
contents is made. Instead, a record of the names of primitives that would have been
drawn if the render mode had been GL_RENDER is returned in a select buffer, which
must be created (see glSelectBuffer) before selection mode is entered.
GL_FEEDBACK
Feedback mode. No pixel fragments are produced, and no change to the frame buffer
contents is made. Instead, the coordinates and attributes of vertices that would have
been drawn if the render mode had been GL_RENDER is returned in a feedback buffer,
which must be created (see glFeedbackBuffer) before feedback mode is entered.
The return value of glRenderMode is determined by the render mode at the time
glRenderMode is called, rather than by mode. The values returned for the three render
modes are as follows:
GL_RENDER
0.
GL_SELECT
The number of hit records transferred to the select buffer.
GL_FEEDBACK
The number of values (not vertices) transferred to the feedback buffer.
See the glSelectBuffer and glFeedbackBuffer reference pages for more details
concerning selection and feedback operation.

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals