• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    OES_depth_texture_cube_map
4
5Name Strings
6
7    GL_OES_depth_texture_cube_map
8
9Contact
10
11    Daniel Koch (daniel 'at' transgaming 'dot' com)
12
13Notice
14
15    Copyright (c) 2012-2013 The Khronos Group Inc. Copyright terms at
16        http://www.khronos.org/registry/speccopyright.html
17
18Specification Update Policy
19
20    Khronos-approved extension specifications are updated in response to
21    issues and bugs prioritized by the Khronos OpenGL ES Working Group. For
22    extensions which have been promoted to a core Specification, fixes will
23    first appear in the latest version of that core Specification, and will
24    eventually be backported to the extension document. This policy is
25    described in more detail at
26        https://www.khronos.org/registry/OpenGL/docs/update_policy.php
27
28Status
29
30    Recommended by the OpenGL ES Working Group, September 12, 2012
31
32Version
33
34    Last Modifed Date: January 29, 2012
35    Version 1
36
37Number
38
39    OpenGL ES Extension #136
40
41Dependencies
42
43    OpenGL ES 2.0 is required.
44
45    OES_depth_texture is required.
46
47    This extension is written against the OpenGL ES 2.0 specification
48
49    OES_packed_depth_stencil affects the definition of this extension.
50
51Overview
52
53    This extension extends OES_depth_texture and OES_packed_depth_stencil
54    to support depth and depth-stencil cube-map textures.
55
56Issues
57
58    None
59
60New Procedures and Functions
61
62    None
63
64New Tokens
65
66    Accepted by the <format> parameter of TexImage2D and TexSubImage2D and
67    <internalFormat> parameter of TexImage2D when <target> is one of the
68    TEXTURE_CUBE_MAP_* targets:
69
70        DEPTH_COMPONENT          0x1902
71        DEPTH_STENCIL_OES        0x84F9
72
73    Accepted by the <type> parameter of TexImage2D, TexSubImage2D when
74    <target> is one of the TEXTURE_CUBE_MAP_* targets:
75
76        UNSIGNED_SHORT           0x1403
77        UNSIGNED_INT             0x1405
78        DEPTH24_STENCIL8_OES     0x88F0
79
80Additions to Chapter 2 of the OpenGL ES 2.0 Specification (OpenGL Operation)
81
82    None
83
84Modifications to Chapter 3, section 3.8 of the OpenGL ES 2.0 specification
85
86    Delete the following paragraph which was added by OES_depth_texture:
87
88    "Textures with a base internal format of DEPTH_COMPONENT are supported
89    by texture image specification commands only if <target> is TEXTURE_2D.
90    Using this format in conjunction with any other <target> will result in
91    an INVALID_OPERATION error."
92
93    Delete the following paragraph which was added by OES_packed_depth_stencil:
94
95    "Textures with a base internal format of DEPTH_COMPONENT or DEPTH_STENCIL_OES
96    are supported by texture image specification commands only if <target> is
97    TEXTURE_2D.  Using this format in conjunction with any other <target> will
98    result in an INVALID_OPERATION error."
99
100Additions to Chapter 4, of the OpenGL ES 2.0 specification
101
102    None
103
104Interactions with OES_packed_depth_stencil
105
106    If OES_packed_depth_stencil is not available, any modifications based on
107    OES_packed_depth_stencil and any mention of DEPTH_STENCIL_OES
108    and DEPTH24_STENCIL8_OES are omitted.
109
110Errors
111
112    Change the error for <targets> accepted by TexImage2D and TexSubImage2D to:
113
114    "The error INVALID_OPERATION is generated if <target> is not TEXTURE_2D, or
115    one of the TEXTURE_CUBE_MAP_* targets."
116
117New State
118
119    None.
120
121Revision History
122
123    01/29/2012   First Draft, split from OES_depth_texture.
124