mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 19:15:36 +00:00
[GL] Added generic RenderbufferStorage depth-stencil formats
According to the OpenGL 4.4 specification, RenderbufferStorage accepts both generic and sized depth-stencil formats (DepthComponent and DepthStencil). See sections 9.2.4, 9.2.5 and 9.4.
This commit is contained in:
parent
c4fa8dcc44
commit
bfaff0bd66
|
@ -4339,10 +4339,12 @@
|
|||
<use enum="PixelInternalFormat" token="RGBA16UI" />
|
||||
<use enum="PixelInternalFormat" token="RGBA32I" />
|
||||
<use enum="PixelInternalFormat" token="RGBA32UI" />
|
||||
<use enum="PixelFormat" token="DEPTH_COMPONENT" />
|
||||
<use enum="PixelInternalFormat" token="DEPTH_COMPONENT16" />
|
||||
<use enum="PixelInternalFormat" token="DEPTH_COMPONENT24" />
|
||||
<use enum="PixelInternalFormat" token="DEPTH_COMPONENT32" />
|
||||
<use enum="PixelInternalFormat" token="DEPTH_COMPONENT32F" />
|
||||
<use enum="PixelFormat" token="DEPTH_STENCIL" />
|
||||
<use enum="PixelInternalFormat" token="DEPTH24_STENCIL8" />
|
||||
<use enum="PixelInternalFormat" token="DEPTH32F_STENCIL8" />
|
||||
<use enum="ARB_framebuffer_object" token="STENCIL_INDEX1" />
|
||||
|
|
|
@ -48573,6 +48573,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
public enum RenderbufferStorage : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_DEPTH_COMPONENT = 0x1902
|
||||
/// </summary>
|
||||
DepthComponent = ((int)0x1902) ,
|
||||
/// <summary>
|
||||
/// Original was GL_R3_G3_B2 = 0x2A10
|
||||
/// </summary>
|
||||
|
@ -48734,6 +48738,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
Rg32ui = ((int)0x823C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DEPTH_STENCIL = 0x84F9
|
||||
/// </summary>
|
||||
DepthStencil = ((int)0x84F9) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RGBA32F = 0x8814
|
||||
/// </summary>
|
||||
Rgba32f = ((int)0x8814) ,
|
||||
|
|
|
@ -25329,6 +25329,10 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
public enum RenderbufferStorage : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_DEPTH_COMPONENT = 0x1902
|
||||
/// </summary>
|
||||
DepthComponent = ((int)0x1902) ,
|
||||
/// <summary>
|
||||
/// Original was GL_R3_G3_B2 = 0x2A10
|
||||
/// </summary>
|
||||
|
@ -25474,6 +25478,10 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
Rg32ui = ((int)0x823C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DEPTH_STENCIL = 0x84F9
|
||||
/// </summary>
|
||||
DepthStencil = ((int)0x84F9) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RGBA32F = 0x8814
|
||||
/// </summary>
|
||||
Rgba32f = ((int)0x8814) ,
|
||||
|
|
Loading…
Reference in a new issue