Inertia's picture

ARB_depth_buffer_float

Project:The Open Toolkit library
Version:0.9.7
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

Add to enum OpenTK.Graphics.PixelInternalFormat

DEPTH_COMPONENT32F 0x8CAC
DEPTH32F_STENCIL8 0x8CAD

Note: These can also be returned in the parameter of GetTexLevelParameter and GetRenderbufferParameterivEXT, but the same problem as before applies. We have no extra enums for this, user must cast to All or PixelInternalFormat depending on the query parameter.

Add to enum OpenTK.Graphics.PixelType:

FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD

-------------------------------

This change is related to FBO but caught here (spec proves this correct)

Old: void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.All internalformat, Int32 width, Int32 height)
New: void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.PixelInternalFormat
internalformat, Int32 width, Int32 height)


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

Implemented in rev. 1668.

the Fiddler's picture

#2

Version:0.9.x-dev» 0.9.7
Status:fixed» closed

Closing issues fixed in 0.9.7.