Navigation
API > API/Runtime > API/Runtime/OpenGLDrv
Inheritance Hierarchy
- FOpenGLBase
- FOpenGLES
References
| Module | OpenGLDrv |
| Header | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGLES.h |
| Include | #include "OpenGLES.h" |
Syntax
struct FOpenGLES : public FOpenGLBase
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginQuery
(
GLenum QueryType, |
Optional. | |
| void | BindBufferBase
(
GLenum Target, |
||
| void | BindBufferRange
(
GLenum Target, |
||
| void | BindImageTexture
(
GLuint Unit, |
||
| void | BindSampler
(
GLuint Unit, |
||
| void | BindVertexBuffer
(
GLuint BindingIndex, |
||
| void | BlendEquationi
(
GLuint Buf, |
||
| void | BlendEquationSeparatei
(
GLuint Buf, |
||
| void | BlendFunci
(
GLuint Buf, |
||
| void | BlendFuncSeparatei
(
GLuint Buf, |
||
| void | BlitFramebuffer
(
GLint SrcX0, |
||
| void | BufferStorage
(
GLenum Target, |
||
| void | BufferSubData
(
GLenum Target, |
||
| void | ClearBufferfi
(
GLenum Buffer, |
||
| void | ClearBufferfv
(
GLenum Buffer, |
||
| void | ClearBufferiv
(
GLenum Buffer, |
||
| void | ClearDepth
(
GLdouble Depth |
||
| void | ColorMaskIndexed
(
GLuint Index, |
||
| void | CompressedTexImage3D
(
GLenum Target, |
||
| void | CompressedTexSubImage3D
(
GLenum Target, |
||
| void | CopyBufferSubData
(
GLenum ReadTarget, |
||
| void | CopyImageSubData
(
GLuint SrcName, |
||
| void | CopyTexSubImage1D
(
GLenum Target, |
||
| void | CopyTexSubImage2D
(
GLenum Target, |
||
| void | CopyTexSubImage3D
(
GLenum Target, |
||
| FPlatformOpenGLContext * | CreateContext
(
FPlatformOpenGLDevice* Device, |
||
| FPlatformOpenGLDevice * | CreateDevice () |
||
| void | DeleteQueries
(
GLsizei NumQueries, |
||
| void | DeleteSamplers
(
GLsizei Count, |
||
| void | DepthRange
(
GLdouble Near, |
||
| void | DisableIndexed
(
GLenum Parameter, |
||
| void | DispatchCompute
(
GLuint NumGroupsX, |
||
| void | DispatchComputeIndirect
(
GLintptr Offset |
||
| void | DrawArraysIndirect
(
GLenum Mode, |
||
| void | DrawArraysInstanced
(
GLenum Mode, |
||
| void | DrawBuffer
(
GLenum Mode |
||
| void | DrawBuffers
(
GLsizei NumBuffers, |
||
| void | DrawElementsIndirect
(
GLenum Mode, |
||
| void | DrawElementsInstanced
(
GLenum Mode, |
||
| void | EnableIndexed
(
GLenum Parameter, |
||
| void | EndQuery
(
GLenum QueryType |
||
| void | FramebufferTexture
(
GLenum Target, |
||
| void | FramebufferTexture2D
(
GLenum Target, |
||
| void | FramebufferTexture2DMultisample
(
GLenum Target, |
||
| void | FramebufferTexture3D
(
GLenum Target, |
||
| void | FramebufferTextureLayer
(
GLenum Target, |
||
| void | FramebufferTextureMultisampleMultiviewOVR
(
GLenum Target, |
||
| void | FramebufferTextureMultiviewOVR
(
GLenum Target, |
||
| void | GenBuffers
(
GLsizei n, |
||
| void | GenerateMipmap
(
GLenum Target |
||
| void | GenQueries
(
GLsizei NumQueries, |
||
| void | GenSamplers
(
GLsizei Count, |
||
| void | GenTextures
(
GLsizei n, |
||
| FString | |||
| GLenum | |||
| ERHIFeatureLevel::Type | |||
| GLsizei | GetLabelObject
(
GLenum Type, |
||
| GLuint | |||
| GLint | |||
| GLuint | |||
| void | GetProgramBinary
(
GLuint Program, |
||
| void | GetQueryObject
(
GLuint QueryId, |
||
| int32 | Adreno doesn't support HALF_FLOAT. | ||
| EShaderPlatform | |||
| GLenum | |||
| GLuint | GetUniformBlockIndex
(
GLuint Program, |
||
| bool | |||
| void | InvalidateFramebuffer
(
GLenum Target, |
||
| bool | IsES31Usable () |
||
| bool | IsES32Usable () |
||
| void | LabelObject
(
GLenum Type, |
||
| void * | MapBufferRange
(
GLenum Type, |
||
| void | MemoryBarrier
(
GLbitfield Barriers |
||
| void | |||
| void | ProcessExtensions
(
const FString& ExtensionsString |
||
| void | |||
| void | ProgramBinary
(
GLuint Program, |
||
| void | ProgramParameter
(
GLuint Program, |
||
| void | ProgramUniform4uiv
(
GLuint Program, |
||
| void | PushGroupMarker
(
const ANSICHAR* Name |
||
| void | ReadBuffer
(
GLenum Mode |
||
| void | RenderbufferStorageMultisample
(
GLenum Target, |
||
| bool | |||
| bool | |||
| bool | |||
| void | SetSamplerParameter
(
GLuint Sampler, |
||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | MLCHANGES END. | ||
| bool | |||
| bool | |||
| bool | SupportsDXT () |
||
| bool | SupportsETC2 () |
||
| bool | |||
| bool | On iOS both glMapBufferOES() and glBufferSubData() for immediate vertex and index data is the slow path (they both hit GPU sync and data cache flush in driver according to profiling in driver symbols). | ||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | MLCHANGES BEGIN changed to use bSupportsDisjointTimeQueries. | ||
| bool | |||
| bool | |||
| bool | |||
| void | TexBuffer
(
GLenum Target, |
||
| void | TexBufferRange
(
GLenum Target, |
||
| void | TexImage3D
(
GLenum Target, |
||
| void | TexParameter
(
GLenum Target, |
||
| bool | TexStorage2D
(
GLenum Target, |
||
| bool | TexStorage2DMultisample
(
GLenum Target, |
||
| void | TexStorage3D
(
GLenum Target, |
||
| void | TexSubImage3D
(
GLenum Target, |
||
| bool | |||
| void | UniformBlockBinding
(
GLuint Program, |
||
| void | UnmapBuffer
(
GLenum Type |
||
| void | UnmapBufferRange
(
GLenum Type, |
||
| void | VertexAttribBinding
(
GLuint AttribIndex, |
||
| void | VertexAttribDivisor
(
GLuint Index, |
||
| void | VertexAttribFormat
(
GLuint AttribIndex, |
||
| void | VertexAttribIFormat
(
GLuint AttribIndex, |
||
| void | VertexAttribIPointer
(
GLuint Index, |
||
| void | VertexAttribPointer
(
GLuint Index, |
||
| void | VertexBindingDivisor
(
GLuint BindingIndex, |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EFeatureLevelSupport |
Constants
| Name | Description |
|---|---|
| bBinaryProgramRetrievalFailed | This indicates failure when attempting to retrieve driver's binary representation of the hack program |
| bHasHardwareHiddenSurfaceRemoval | Whether device supports Hidden Surface Removal |
| bRequiresARMShaderFramebufferFetchDepthStencilUndef | This is to avoid a bug in Adreno drivers that define GL_ARM_shader_framebuffer_fetch_depth_stencil even when device does not support this extension |
| bRequiresDisabledEarlyFragmentTests | Some Mali devices do not work correctly with early_fragment_test enabled |
| bRequiresReadOnlyBuffersWorkaround | This is a workaround for a Mali bug where read-only buffers do not work when passed to functions |
| bSupportsASTCDecodeMode | GL_EXT_texture_compression_astc_decode_mode |
| bSupportsBGRA8888 | GL_APPLE_texture_format_BGRA8888 |
| bSupportsBufferStorage | GL_EXT_buffer_storage |
| bSupportsColorBufferFloat | GL_EXT_color_buffer_float |
| bSupportsColorBufferHalfFloat | GL_EXT_color_buffer_half_float |
| bSupportsDepthClamp | GL_EXT_depth_clamp |
| bSupportsDisjointTimeQueries | GL_EXT_disjoint_timer_query |
| bSupportsDXT | GL_NV_texture_compression_s3tc, GL_EXT_texture_compression_s3tc |
| bSupportsETC2 | OpenGL ES 3.0 profile |
| bSupportsMobileMultiView | Whether device supports mobile multi-view |
| bSupportsMultisampledRenderToTexture | GL_EXT_MULTISAMPLED_RENDER_TO_TEXTURE |
| bSupportsNVFrameBufferBlit | GL_NV_framebuffer_blit |
| bSupportsPixelLocalStorage | Workaround for GL_EXT_shader_pixel_local_storage |
| bSupportsProgramBinary | GL_OES_get_program_binary |
| bSupportsRGB10A2 | GL_OES_vertex_type_10_10_10_2 |
| bSupportsShaderDepthStencilFetch | GL_ARM_shader_framebuffer_fetch_depth_stencil |
| bSupportsShaderFramebufferFetch | GL_EXT_shader_framebuffer_fetch |
| bSupportsShaderMRTFramebufferFetch | GL_EXT_shader_framebuffer_fetch (MRT's) |
| bSupportsStandardDerivativesExtension | GL_OES_standard_derivations |
| bTimerQueryCanBeDisjoint | Some timer query implementations are never disjoint |
| CurrentFeatureLevelSupport | Describes which feature level is currently being supported |
| MaxCombinedUAVUnits | |
| MaxComputeUAVUnits | |
| MaxComputeUniformComponents | |
| MaxMSAASamplesTileMem | Maximum number of MSAA samples supported on chip in tile memory, or 1 if not available |
| MaxPixelUAVUnits | |
| ShaderHighPrecision | GL_FRAGMENT_SHADER, GL_HIGH_FLOAT |
| ShaderLowPrecision | GL_FRAGMENT_SHADER, GL_LOW_FLOAT |
| ShaderMediumPrecision | GL_FRAGMENT_SHADER, GL_MEDIUM_FLOAT |