mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 08:25:37 +00:00
Added support for PixelInternalFormat. This is used in all *Tex(Sub)Image* functions.
This commit is contained in:
parent
a98f46524e
commit
ad95bea24d
|
@ -1961,6 +1961,17 @@ PixelInternalFormat enum:
|
|||
use SGIX_icc_texture INTENSITY16_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:
|
||||
|
|
|
@ -2000,11 +2000,12 @@ TexParameteriv(target, pname, params)
|
|||
wglflags small-data
|
||||
offset 181
|
||||
|
||||
# Revision 2
|
||||
TexImage1D(target, level, internalformat, width, border, format, type, pixels)
|
||||
return void
|
||||
param target TextureTarget 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 border CheckedInt32 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
|
||||
offset 182
|
||||
|
||||
# Revision 2
|
||||
TexImage2D(target, level, internalformat, width, height, border, format, type, pixels)
|
||||
return void
|
||||
param target TextureTarget 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 height SizeI in value
|
||||
param border CheckedInt32 in value
|
||||
|
@ -4430,13 +4432,13 @@ ResetMinmax(target)
|
|||
offset 370
|
||||
|
||||
# OpenGL 1.2 (EXT_texture3D) commands
|
||||
|
||||
# Revision 2
|
||||
# Arguably TexelInternalFormat, not PixelInternalFormat
|
||||
TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels)
|
||||
return void
|
||||
param target TextureTarget 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 height SizeI in value
|
||||
param depth SizeI in value
|
||||
|
|
|
@ -20,6 +20,8 @@ GLdouble, Double
|
|||
GLclampd, Double
|
||||
GLstring, String
|
||||
|
||||
PixelInternalFormat, PixelInternalFormat
|
||||
|
||||
# ARB and NV types.
|
||||
GLsizeiptrARB, IntPtr
|
||||
GLintptrARB, IntPtr
|
||||
|
|
Loading…
Reference in a new issue