Inertia's picture

ARB_color_buffer_float

Project:The Open Toolkit library
Version:0.9.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt

C: void ClampColorARB(enum target, enum clamp);
Old: static void ClampColor(OpenTK.Graphics.All target, OpenTK.Graphics.All clamp);
New: static void ClampColor(OpenTK.Graphics.X target, OpenTK.Graphics.Y clamp);

enum X
{
CLAMP_VERTEX_COLOR_ARB 0x891A
CLAMP_FRAGMENT_COLOR_ARB 0x891B
CLAMP_READ_COLOR_ARB 0x891C
}

enum Y
{
FIXED_ONLY_ARB 0x891D
FALSE
TRUE
}

Additions to OpenTK.Graphics.GetPName enum:

RGBA_FLOAT_MODE_ARB 0x8820

CLAMP_VERTEX_COLOR_ARB 0x891A
CLAMP_FRAGMENT_COLOR_ARB 0x891B
CLAMP_READ_COLOR_ARB 0x891C

Citation for context creation related tokens:

Accepted as a value in the and
parameter arrays of wglChoosePixelFormatARB, and returned in the
parameter array of wglGetPixelFormatAttribivARB, and the
parameter array of wglGetPixelFormatAttribfvARB:

WGL_TYPE_RGBA_FLOAT_ARB 0x21A0

Accepted as values of the arguments in the
glXCreateNewContext and glXCreateContext functions

GLX_RGBA_FLOAT_TYPE 0x20B9

Accepted as a bit set in the GLX_RENDER_TYPE variable

GLX_RGBA_FLOAT_BIT 0x00000004


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» fixed

Committed to gl3 branch.

You cannot create a context with floating-point color front-/backbuffers at this point, but this belongs to a different issue.

the Fiddler's picture

#2

Status:fixed» closed

Closing bugs issues in 0.9.4.