Export to GitHub

glextensions - GL_IBM_rasterpos_clip.wiki


Contents

  • Dependencies
  • Overview
  • New Procedures and Functions
  • New Tokens
  • Errors
  • New State
  • New Implementation Dependent State

Dependencies

None

Overview

IBM_rasterpos_clip extends the semantics of the RasterPos functions. It provides an enable that allows a raster position that would normally be clipped to be treated as a valid (albeit out-of-viewport) position.

This extension allows applications to specify geometry-aligned pixel primitives that may be partially off-screen. These primitives are tested on a pixel-by-pixel basis without being rejected completely because of an invalid raster position.

New Procedures and Functions

None

New Tokens

Accepted by the

<target>

parameter of Enable and Disable and the

<value>

parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:

|RASTER_POSITION_UNCLIPPED_IBM | 103010 | |:--------------------------------|:-------|

The enum is subject to change if this proposal attracts interest from other vendors and becomes an EXT extension.

Errors

None

New State

| Get Value | Type | Get Command | Value | |:--------------|:---------|:----------------|:----------| |RASTER_POSITION_UNCLIPPED_IBM | B |IsEnabled |False |

New Implementation Dependent State

None