Inertia's picture

EXT_texture_array

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/EXT/texture_array.txt

Tokens:

Add to OpenTK.Graphics.TextureTarget

TEXTURE_1D_ARRAY_EXT 0x8C18
TEXTURE_2D_ARRAY_EXT 0x8C1A
PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B

Add to OpenTK.Graphics.GetPName

TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF

Add to OpenTK.Graphics.TextureCompareMode

COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E

(Note: COMPARE_REF_DEPTH_TO_TEXTURE_EXT is simply an alias for the
existing COMPARE_R_TO_TEXTURE token in OpenGL 2.0; the alternate name
reflects the fact that the R coordinate is not always used.)

Add to enums:
OpenTK.Graphics.PixelInternalFormat
OpenTK.Graphics.PixelFormat

COMPRESSED_RGB_S3TC_DXT1_EXT
COMPRESSED_RGBA_S3TC_DXT1_EXT
COMPRESSED_RGBA_S3TC_DXT3_EXT
COMPRESSED_RGBA_S3TC_DXT5_EXT

Add to OpenTK.Graphics.FramebufferParameterName

FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4

(Note: FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER is simply an alias for the
FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT token provided in
EXT_framebuffer_object. This extension generalizes the notion of
"" to include layers of an array texture.)

Add to OpenTK.Graphics.ActiveUniformType

SAMPLER_1D_ARRAY_EXT 0x8DC0
SAMPLER_2D_ARRAY_EXT 0x8DC1
SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4

--------

Old: void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.All[] type, [Out] System.Text.StringBuilder name)
New: void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.ActiveUniformType[] type, [Out] System.Text.StringBuilder name)


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 everything apart from the S3TC tokens (they are not in the VERSION_3_0 token list) and the FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER token (will be committed as part of ARB_framebuffer_object).

the Fiddler's picture

#2

Status:fixed» closed

Closing bugs issues in 0.9.4.