mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 19:15:39 +00:00
Added support for PixelInternalFormat. This is used in all *Tex(Sub)Image* functions.
This commit is contained in:
parent
c45f2d97e4
commit
f7a8108458
|
@ -1961,6 +1961,17 @@ PixelInternalFormat enum:
|
||||||
use SGIX_icc_texture INTENSITY16_ICC_SGIX
|
use SGIX_icc_texture INTENSITY16_ICC_SGIX
|
||||||
use SGIX_icc_texture LUMINANCE16_ALPHA8_ICC_SGIX
|
use SGIX_icc_texture LUMINANCE16_ALPHA8_ICC_SGIX
|
||||||
|
|
||||||
|
# Revision 2
|
||||||
|
ONE = 1
|
||||||
|
TWO = 2
|
||||||
|
THREE = 3
|
||||||
|
FOUR = 4
|
||||||
|
use PixelFormat ALPHA
|
||||||
|
use PixelFormat LUMINANCE
|
||||||
|
use PixelFormat LUMINANCE_ALPHA
|
||||||
|
use PixelFormat RGB
|
||||||
|
use PixelFormat RGBA
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
InterleavedArrayFormat enum:
|
InterleavedArrayFormat enum:
|
||||||
|
|
|
@ -2000,11 +2000,12 @@ TexParameteriv(target, pname, params)
|
||||||
wglflags small-data
|
wglflags small-data
|
||||||
offset 181
|
offset 181
|
||||||
|
|
||||||
|
# Revision 2
|
||||||
TexImage1D(target, level, internalformat, width, border, format, type, pixels)
|
TexImage1D(target, level, internalformat, width, border, format, type, pixels)
|
||||||
return void
|
return void
|
||||||
param target TextureTarget in value
|
param target TextureTarget in value
|
||||||
param level CheckedInt32 in value
|
param level CheckedInt32 in value
|
||||||
param internalformat TextureComponentCount in value
|
param internalformat PixelInternalFormat in value # TextureComponentCount in value
|
||||||
param width SizeI in value
|
param width SizeI in value
|
||||||
param border CheckedInt32 in value
|
param border CheckedInt32 in value
|
||||||
param format PixelFormat in value
|
param format PixelFormat in value
|
||||||
|
@ -2020,11 +2021,12 @@ TexImage1D(target, level, internalformat, width, border, format, type, pixels)
|
||||||
wglflags client-handcode server-handcode
|
wglflags client-handcode server-handcode
|
||||||
offset 182
|
offset 182
|
||||||
|
|
||||||
|
# Revision 2
|
||||||
TexImage2D(target, level, internalformat, width, height, border, format, type, pixels)
|
TexImage2D(target, level, internalformat, width, height, border, format, type, pixels)
|
||||||
return void
|
return void
|
||||||
param target TextureTarget in value
|
param target TextureTarget in value
|
||||||
param level CheckedInt32 in value
|
param level CheckedInt32 in value
|
||||||
param internalformat TextureComponentCount in value
|
param internalformat PixelInternalFormat in value # TextureComponentCount in value
|
||||||
param width SizeI in value
|
param width SizeI in value
|
||||||
param height SizeI in value
|
param height SizeI in value
|
||||||
param border CheckedInt32 in value
|
param border CheckedInt32 in value
|
||||||
|
@ -4430,13 +4432,13 @@ ResetMinmax(target)
|
||||||
offset 370
|
offset 370
|
||||||
|
|
||||||
# OpenGL 1.2 (EXT_texture3D) commands
|
# OpenGL 1.2 (EXT_texture3D) commands
|
||||||
|
# Revision 2
|
||||||
# Arguably TexelInternalFormat, not PixelInternalFormat
|
# Arguably TexelInternalFormat, not PixelInternalFormat
|
||||||
TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels)
|
TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels)
|
||||||
return void
|
return void
|
||||||
param target TextureTarget in value
|
param target TextureTarget in value
|
||||||
param level CheckedInt32 in value
|
param level CheckedInt32 in value
|
||||||
param internalformat TextureComponentCount in value
|
param internalformat PixelInternalFormat in value # TextureComponentCount in value
|
||||||
param width SizeI in value
|
param width SizeI in value
|
||||||
param height SizeI in value
|
param height SizeI in value
|
||||||
param depth SizeI in value
|
param depth SizeI in value
|
||||||
|
|
|
@ -20,6 +20,8 @@ GLdouble, Double
|
||||||
GLclampd, Double
|
GLclampd, Double
|
||||||
GLstring, String
|
GLstring, String
|
||||||
|
|
||||||
|
PixelInternalFormat, PixelInternalFormat
|
||||||
|
|
||||||
# ARB and NV types.
|
# ARB and NV types.
|
||||||
GLsizeiptrARB, IntPtr
|
GLsizeiptrARB, IntPtr
|
||||||
GLintptrARB, IntPtr
|
GLintptrARB, IntPtr
|
||||||
|
|
Loading…
Reference in a new issue