CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef ODTRGL2EXTENSIONS
26 #define ODTRGL2EXTENSIONS
32 #define GL_BGR_EXT 0x80E0
35 #define GL_BGRA_EXT 0x80E1
40 #define GL_CLAMP 0x2900
44 #ifndef GL_CLAMP_TO_BORDER
45 #define GL_CLAMP_TO_BORDER 0x812D
46 #endif // GL_CLAMP_TO_BORDER
47 #ifndef GL_TEXTURE_BORDER_COLOR
48 #define GL_TEXTURE_BORDER_COLOR 0x1004
49 #endif // GL_TEXTURE_BORDER_COLOR
52 #ifndef GL_DEPTH_COMPONENT
53 #define GL_DEPTH_COMPONENT 0x1902
54 #endif // GL_DEPTH_COMPONENT
57 #ifndef GL_DEPTH_COMPONENT24
58 #define GL_DEPTH_COMPONENT24 0x81A6
59 #endif // GL_DEPTH_COMPONENT24
62 #ifndef GL_DEPTH_STENCIL
63 #define GL_DEPTH_STENCIL 0x84F9
64 #endif // GL_DEPTH_STENCIL
65 #ifndef GL_UNSIGNED_INT_24_8
66 #define GL_UNSIGNED_INT_24_8 0x84FA
67 #endif // GL_UNSIGNED_INT_24_8
68 #ifndef GL_DEPTH24_STENCIL8
69 #define GL_DEPTH24_STENCIL8 0x88F0
70 #endif // GL_DEPTH24_STENCIL8
72 #ifndef GL_DEPTH_STENCIL_ATTACHMENT
73 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
74 #endif // GL_DEPTH_STENCIL_ATTACHMENT
77 #ifndef GL_STENCIL_INDEX
78 #define GL_STENCIL_INDEX 0x1901
79 #endif // GL_STENCIL_INDEX
80 #ifndef GL_STENCIL_INDEX8
81 #define GL_STENCIL_INDEX8 0x8D48
82 #endif // GL_STENCIL_INDEX8
86 #define GL_RGBA16F 0x881A
93 #define GL_HALF_FLOAT 0x8D61
94 #endif // GL_HALF_FLOAT
98 #define GL_RGBA32F 0x8814
106 #ifndef GL_DRAW_BUFFER0
107 #define GL_DRAW_BUFFER0 0x8825
108 #endif // GL_DRAW_BUFFER0
111 #ifndef GL_LINE_SMOOTH
112 #define GL_LINE_SMOOTH 0x0B20
113 #endif // GL_LINE_SMOOTH
114 #ifndef GL_LINE_SMOOTH_HINT
115 #define GL_LINE_SMOOTH_HINT 0x0C52
116 #endif // GL_LINE_SMOOTH_HINT
117 #ifndef GL_SMOOTH_LINE_WIDTH_RANGE
118 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
119 #endif // GL_SMOOTH_LINE_WIDTH_RANGE
122 #ifndef GL_SHADING_LANGUAGE_VERSION
123 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
124 #endif // GL_SHADING_LANGUAGE_VERSION
127 #ifndef GL_POINT_SPRITE
128 #define GL_POINT_SPRITE 0x8861
129 #endif // GL_POINT_SPRITE
131 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE
132 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
133 #endif // GL_VERTEX_PROGRAM_POINT_SIZE
140 #define GL_RGBA8 0x8058
193 #endif // ODTRGL2EXTENSIONS
@ kExtensionTextureMirroredRepeat
@ kExtensionPackedDepthStencil
@ kExtensionElementIndexUInt
bool isFunctionAvailable(FunctionName nFunc)
OdTrGL2ExtensionsRegistry()
OdUInt32 m_extensionChecked[kNumExtensions/32+1]
@ kExtensionTextureBorderClamp
void glDrawBuffers(GLsizei n, const GLenum *bufs)
OdUInt32 m_extensionAvailable[kNumExtensions/32+1]
@ kExtensionTextureHalfFloat
OdTrGL2LocalContext * m_pLocalContext
typedef GLenum(APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target)
@ kExtensionTextureEdgeClamp
void * m_pFunctionPtr[kNumFunctions]
bool isExtensionSupported(ExtensionName nExt)