15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci OES_depth_texture_cube_map 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_OES_depth_texture_cube_map 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContact 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Daniel Koch (daniel 'at' transgaming 'dot' com) 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciNotice 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci Copyright (c) 2012-2013 The Khronos Group Inc. Copyright terms at 165bd8deadSopenharmony_ci http://www.khronos.org/registry/speccopyright.html 175bd8deadSopenharmony_ci 185bd8deadSopenharmony_ciSpecification Update Policy 195bd8deadSopenharmony_ci 205bd8deadSopenharmony_ci Khronos-approved extension specifications are updated in response to 215bd8deadSopenharmony_ci issues and bugs prioritized by the Khronos OpenGL ES Working Group. For 225bd8deadSopenharmony_ci extensions which have been promoted to a core Specification, fixes will 235bd8deadSopenharmony_ci first appear in the latest version of that core Specification, and will 245bd8deadSopenharmony_ci eventually be backported to the extension document. This policy is 255bd8deadSopenharmony_ci described in more detail at 265bd8deadSopenharmony_ci https://www.khronos.org/registry/OpenGL/docs/update_policy.php 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ciStatus 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ci Recommended by the OpenGL ES Working Group, September 12, 2012 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ciVersion 335bd8deadSopenharmony_ci 345bd8deadSopenharmony_ci Last Modifed Date: January 29, 2012 355bd8deadSopenharmony_ci Version 1 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ciNumber 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ci OpenGL ES Extension #136 405bd8deadSopenharmony_ci 415bd8deadSopenharmony_ciDependencies 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ci OpenGL ES 2.0 is required. 445bd8deadSopenharmony_ci 455bd8deadSopenharmony_ci OES_depth_texture is required. 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ci This extension is written against the OpenGL ES 2.0 specification 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ci OES_packed_depth_stencil affects the definition of this extension. 505bd8deadSopenharmony_ci 515bd8deadSopenharmony_ciOverview 525bd8deadSopenharmony_ci 535bd8deadSopenharmony_ci This extension extends OES_depth_texture and OES_packed_depth_stencil 545bd8deadSopenharmony_ci to support depth and depth-stencil cube-map textures. 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ciIssues 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ci None 595bd8deadSopenharmony_ci 605bd8deadSopenharmony_ciNew Procedures and Functions 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ci None 635bd8deadSopenharmony_ci 645bd8deadSopenharmony_ciNew Tokens 655bd8deadSopenharmony_ci 665bd8deadSopenharmony_ci Accepted by the <format> parameter of TexImage2D and TexSubImage2D and 675bd8deadSopenharmony_ci <internalFormat> parameter of TexImage2D when <target> is one of the 685bd8deadSopenharmony_ci TEXTURE_CUBE_MAP_* targets: 695bd8deadSopenharmony_ci 705bd8deadSopenharmony_ci DEPTH_COMPONENT 0x1902 715bd8deadSopenharmony_ci DEPTH_STENCIL_OES 0x84F9 725bd8deadSopenharmony_ci 735bd8deadSopenharmony_ci Accepted by the <type> parameter of TexImage2D, TexSubImage2D when 745bd8deadSopenharmony_ci <target> is one of the TEXTURE_CUBE_MAP_* targets: 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ci UNSIGNED_SHORT 0x1403 775bd8deadSopenharmony_ci UNSIGNED_INT 0x1405 785bd8deadSopenharmony_ci DEPTH24_STENCIL8_OES 0x88F0 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ciAdditions to Chapter 2 of the OpenGL ES 2.0 Specification (OpenGL Operation) 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ci None 835bd8deadSopenharmony_ci 845bd8deadSopenharmony_ciModifications to Chapter 3, section 3.8 of the OpenGL ES 2.0 specification 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ci Delete the following paragraph which was added by OES_depth_texture: 875bd8deadSopenharmony_ci 885bd8deadSopenharmony_ci "Textures with a base internal format of DEPTH_COMPONENT are supported 895bd8deadSopenharmony_ci by texture image specification commands only if <target> is TEXTURE_2D. 905bd8deadSopenharmony_ci Using this format in conjunction with any other <target> will result in 915bd8deadSopenharmony_ci an INVALID_OPERATION error." 925bd8deadSopenharmony_ci 935bd8deadSopenharmony_ci Delete the following paragraph which was added by OES_packed_depth_stencil: 945bd8deadSopenharmony_ci 955bd8deadSopenharmony_ci "Textures with a base internal format of DEPTH_COMPONENT or DEPTH_STENCIL_OES 965bd8deadSopenharmony_ci are supported by texture image specification commands only if <target> is 975bd8deadSopenharmony_ci TEXTURE_2D. Using this format in conjunction with any other <target> will 985bd8deadSopenharmony_ci result in an INVALID_OPERATION error." 995bd8deadSopenharmony_ci 1005bd8deadSopenharmony_ciAdditions to Chapter 4, of the OpenGL ES 2.0 specification 1015bd8deadSopenharmony_ci 1025bd8deadSopenharmony_ci None 1035bd8deadSopenharmony_ci 1045bd8deadSopenharmony_ciInteractions with OES_packed_depth_stencil 1055bd8deadSopenharmony_ci 1065bd8deadSopenharmony_ci If OES_packed_depth_stencil is not available, any modifications based on 1075bd8deadSopenharmony_ci OES_packed_depth_stencil and any mention of DEPTH_STENCIL_OES 1085bd8deadSopenharmony_ci and DEPTH24_STENCIL8_OES are omitted. 1095bd8deadSopenharmony_ci 1105bd8deadSopenharmony_ciErrors 1115bd8deadSopenharmony_ci 1125bd8deadSopenharmony_ci Change the error for <targets> accepted by TexImage2D and TexSubImage2D to: 1135bd8deadSopenharmony_ci 1145bd8deadSopenharmony_ci "The error INVALID_OPERATION is generated if <target> is not TEXTURE_2D, or 1155bd8deadSopenharmony_ci one of the TEXTURE_CUBE_MAP_* targets." 1165bd8deadSopenharmony_ci 1175bd8deadSopenharmony_ciNew State 1185bd8deadSopenharmony_ci 1195bd8deadSopenharmony_ci None. 1205bd8deadSopenharmony_ci 1215bd8deadSopenharmony_ciRevision History 1225bd8deadSopenharmony_ci 1235bd8deadSopenharmony_ci 01/29/2012 First Draft, split from OES_depth_texture. 124