Navigation
API > API/Runtime > API/Runtime/OpenGLDrv
Inheritance Hierarchy
References
| Module | OpenGLDrv |
| Header | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGL.h |
| Include | #include "OpenGL.h" |
Syntax
class FOpenGLBase
Remarks
Base static class.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | BeginQuery
(
GLenum QueryType, |
||
| void | BindBufferBase
(
GLenum Target, |
||
| void | BindBufferRange
(
GLenum Target, |
||
| void | BindFragDataLocation
(
GLuint Program, |
||
| void | BindImageTexture
(
GLuint Unit, |
||
| void | BindProgramPipeline
(
GLuint Pipeline |
||
| 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 | |||
| void | ClearBufferData
(
GLenum Target, |
||
| void | ClearBufferfi
(
GLenum Buffer, |
||
| void | ClearBufferfv
(
GLenum Buffer, |
||
| void | ClearBufferiv
(
GLenum Buffer, |
||
| void | ClearDepth
(
GLdouble Depth |
||
| EFenceResult | ClientWaitSync
(
UGLsync Sync, |
||
| void | ColorMaskIndexed
(
GLuint Index, |
||
| void | CompressedTexImage3D
(
GLenum Target, |
||
| void | CompressedTexSubImage3D
(
GLenum Target, |
||
| void | CopyBufferSubData
(
GLenum ReadTarget, |
||
| void | CopyImageSubData
(
GLuint SrcName, |
||
| void | CopyTexSubImage2D
(
GLenum Target, |
||
| void | CopyTexSubImage3D
(
GLenum Target, |
||
| FPlatformOpenGLContext * | CreateContext
(
FPlatformOpenGLDevice* Device, |
||
| FPlatformOpenGLDevice * | CreateDevice () |
||
| GLuint | |||
| GLuint | CreateShader
(
GLenum Type |
||
| void | DeleteBuffers
(
GLsizei Number, |
||
| void | DeleteProgramPipelines
(
GLsizei Number, |
||
| void | DeleteQueries
(
GLsizei NumQueries, |
||
| void | DeleteSamplers
(
GLsizei Count, |
||
| void | DeleteShader
(
GLuint Program |
||
| void | DeleteSync
(
UGLsync Sync |
||
| void | DeleteTextures
(
GLsizei Number, |
||
| void | DepthBounds
(
GLfloat Min, |
||
| void | DepthRange
(
GLdouble Near, |
||
| void | DisableIndexed
(
GLenum Parameter, |
||
| bool | Calling glBufferData() to discard-reupload is slower than calling glBufferSubData() on some platforms, because changing glBufferData() with a different size (from before) may incur extra validation. | ||
| 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 | DrawRangeElements
(
GLenum Mode, |
||
| void | EnableIndexed
(
GLenum Parameter, |
||
| void | |||
| void | EndQuery
(
GLenum QueryType |
||
| UGLsync | FenceSync
(
GLenum Condition, |
||
| void | Flush () |
||
| void | |||
| void | FramebufferRenderbuffer
(
GLenum Target, |
||
| 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 | GenerateMipmap
(
GLenum Target |
||
| void | GenProgramPipelines
(
GLsizei Number, |
||
| void | GenQueries
(
GLsizei NumQueries, |
||
| void | GenSamplers
(
GLsizei Count, |
||
| FString | |||
| void | GetCompressedTexImage
(
GLenum Target, |
||
| GLenum | |||
| ERHIFeatureLevel::Type | |||
| GLint | |||
| GLint | Image load/store units. | ||
| GLint | |||
| GLint | Indices per unit are set in this order [Pixel, Vertex, Geometry]. | ||
| GLint | |||
| GLint | |||
| GLint | |||
| GLsizei | GetLabelObject
(
GLenum Type, |
||
| GLuint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLint | |||
| GLuint | |||
| GLenum | |||
| void | GetProgramBinary
(
GLuint Program, |
||
| void | GetProgramPipelineInfoLog
(
GLuint Pipeline, |
||
| void | GetProgramPipelineiv
(
GLuint Pipeline, |
||
| void | GetQueryObject
(
GLuint QueryId, |
||
| void | GetQueryObject
(
GLuint QueryId, |
||
| int32 | |||
| EShaderPlatform | |||
| GLenum | |||
| const ANSICHAR * | GetStringIndexed
(
GLenum Name, |
||
| void | GetTexImage
(
GLenum Target, |
||
| GLint | |||
| GLuint64 | GetTextureHandle
(
GLuint Texture |
||
| GLuint64 | GetTextureSamplerHandle
(
GLuint Texture, |
||
| GLuint | GetUniformBlockIndex
(
GLuint Program, |
||
| uint64 | |||
| bool | |||
| void | |||
| void | InvalidateFramebuffer
(
GLenum Target, |
||
| bool | |||
| bool | IsProgramPipeline
(
GLuint Pipeline |
||
| bool | IsSync
(
UGLsync Sync |
||
| void | LabelObject
(
GLenum Type, |
||
| void | MakeTextureHandleNonResident
(
GLuint64 TextureHandle |
||
| void | MakeTextureHandleResident
(
GLuint64 TextureHandle |
||
| void * | MapBufferRange
(
GLenum Type, |
Will assert at run-time if not implemented: | |
| void | MemoryBarrier
(
GLbitfield Barriers |
||
| void | PatchParameteri
(
GLenum Pname, |
||
| void | PE_GetCurrentOpenGLShaderDeviceCapabilities
(
FOpenGLShaderDeviceCapabilities& Capabilities |
For platform extensions | |
| bool | PE_GLSLToDeviceCompatibleGLSL
(
FAnsiCharArray& GlslCodeOriginal, |
||
| void | PE_SetupTextureFormat
(
void(*)(EPixelFormat, const FOpenGLTextureFormat&) SetupTextureFormat |
||
| void | PolygonMode
(
GLenum Face, |
||
| void | |||
| EPixelFormat | PreferredPixelFormatHint
(
EPixelFormat PreferredPixelFormat |
||
| void | ProcessExtensions
(
const FString& ExtensionsString |
||
| void | |||
| void | ProgramBinary
(
GLuint Program, |
||
| void | ProgramParameter
(
GLuint Program, |
||
| void | ProgramUniform1i
(
GLuint Program, |
||
| void | ProgramUniform4fv
(
GLuint Program, |
||
| void | ProgramUniform4iv
(
GLuint Program, |
||
| void | ProgramUniform4uiv
(
GLuint Program, |
||
| void | PushGroupMarker
(
const ANSICHAR* Name |
||
| void | QueryTimestampCounter
(
GLuint QueryID |
Silently ignored if not implemented: | |
| void | ReadBuffer
(
GLenum Mode |
||
| void | RenderbufferStorageMultisample
(
GLenum Target, |
||
| void | SetSamplerParameter
(
GLuint Sampler, |
||
| void | SetupDefaultGLContextState
(
const FString& ExtensionsString |
||
| bool | SupportsASTC () |
||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | SupportsDXT () |
||
| bool | SupportsETC2 () |
||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| void | TexBuffer
(
GLenum Target, |
||
| void | TexBufferRange
(
GLenum Target, |
||
| void | TexImage2DMultisample
(
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, |
||
| void | TextureRange
(
GLenum Target, |
||
| void | TextureView
(
GLuint ViewName, |
||
| bool | |||
| void | Uniform4uiv
(
GLint Location, |
||
| void | UniformBlockBinding
(
GLuint Program, |
||
| void | UniformHandleui64
(
GLint Location, |
||
| void | UnmapBuffer
(
GLenum Type |
||
| void | UnmapBufferRange
(
GLenum Type, |
||
| void | UseProgramStages
(
GLuint Pipeline, |
||
| void | ValidateProgramPipeline
(
GLuint Pipeline |
||
| void | VertexAttrib4bv
(
GLuint AttributeIndex, |
||
| void | VertexAttrib4dv
(
GLuint AttributeIndex, |
||
| void | VertexAttrib4Nbv
(
GLuint AttributeIndex, |
||
| void | VertexAttrib4Nsv
(
GLuint AttributeIndex, |
||
| void | VertexAttrib4Nubv
(
GLuint AttributeIndex, |
||
| void | VertexAttrib4sv
(
GLuint AttributeIndex, |
||
| void | VertexAttrib4ubv
(
GLuint AttributeIndex, |
||
| void | VertexAttribBinding
(
GLuint AttribIndex, |
||
| void | VertexAttribDivisor
(
GLuint Index, |
||
| void | VertexAttribFormat
(
GLuint AttribIndex, |
||
| void | VertexAttribI4bv
(
GLuint AttributeIndex, |
||
| void | VertexAttribI4iv
(
GLuint AttributeIndex, |
||
| void | VertexAttribI4sv
(
GLuint AttributeIndex, |
||
| void | VertexAttribI4ubv
(
GLuint AttributeIndex, |
||
| void | VertexAttribI4uiv
(
GLuint AttributeIndex, |
||
| void | VertexAttribI4usv
(
GLuint AttributeIndex, |
||
| void | VertexAttribIFormat
(
GLuint AttribIndex, |
||
| void | VertexAttribIPointer
(
GLuint Index, |
||
| void | VertexAttribPointer
(
GLuint Index, |
||
| void | VertexBindingDivisor
(
GLuint BindingIndex, |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EFenceResult | |||
| EQueryMode | |||
| EResourceLockMode |
Constants
| Name | Description |
|---|---|
| bAmdWorkaround | Workaround AMD driver issues. |
| bSupportsASTC | GL_KHR_texture_compression_astc_ldr |
| bSupportsASTCHDR | GL_KHR_texture_compression_astc_hdr |
| bSupportsClipControl | GL_ARB_clip_control |
| bSupportsDrawBuffersBlend | GL_ARB_draw_buffers_blend |
| bSupportsSeamlessCubemap | GL_ARB_seamless_cube_map |
| bSupportsTextureFilterAnisotropic | GL_EXT_texture_filter_anisotropic Can we use anisotropic filtering? |
| bSupportsVolumeTextureRendering | Can we render to texture 2D array or 3D |
| MaxCombinedTextureImageUnits | |
| MaxComputeTextureImageUnits | |
| MaxGeometryTextureImageUnits | |
| MaxGeometryUniformComponents | |
| MaxPixelUniformComponents | |
| MaxTextureImageUnits | |
| MaxVaryingVectors | |
| MaxVertexTextureImageUnits | |
| MaxVertexUniformComponents | |
| TextureBufferAlignment |