Navigation
API > API/Runtime > API/Runtime/OpenGLDrv
Inheritance Hierarchy
- FOpenGLCommonState
- FOpenGLContextState
References
| Module | OpenGLDrv |
| Header | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGLState.h |
| Include | #include "OpenGLState.h" |
Syntax
struct FOpenGLContextState : public FOpenGLCommonState
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | ActiveStreamMask | ||
| GLenum | ActiveTexture | ||
| uint32 | ActiveUAVMask | ||
| GLuint | ArrayBufferBound | ||
| bool | bAlphaToCoverageEnabled | ||
| FOpenGLBlendStateData | BlendState | ||
| bool | bScissorEnabled | ||
| TArray< FOpenGLSamplerState * > | CachedSamplerStates | ||
| FLinearColor | ClearColor | ||
| float | ClearDepth | ||
| uint16 | ClearStencil | ||
| float | DepthMaxZ | ||
| float | DepthMinZ | ||
| FOpenGLDepthStencilStateData | DepthStencilState | ||
| GLuint | ElementArrayBufferBound | ||
| int32 | FirstNonzeroRenderTarget | ||
| GLuint | Framebuffer | ||
| GLuint | OcclusionQuery | ||
| GLuint | PixelUnpackBufferBound | ||
| GLuint | Program | ||
| FOpenGLRasterizerStateData | RasterizerState | ||
| uint32 | RenderTargetHeight | ||
| uint32 | RenderTargetWidth | ||
| FIntRect | Scissor | ||
| uint32 | StencilRef | ||
| GLuint | StorageBufferBound | ||
| GLuint | UniformBufferBound | ||
| GLuint[CrossCompiler::NUM_SHADER_STAGES *OGL_MAX_UNIFORM_BUFFER_BINDINGS] | UniformBufferOffsets | ||
| GLuint[CrossCompiler::NUM_SHADER_STAGES *OGL_MAX_UNIFORM_BUFFER_BINDINGS] | UniformBuffers | ||
| FOpenGLCachedAttr[16] | VertexAttrs | ||
| uint32 | VertexAttrs_EnabledBits | ||
| FOpenGLVertexDeclaration * | VertexDecl | ||
| FOpenGLStream[16] | VertexStreams | ||
| FIntRect | Viewport |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetVertexAttrEnabled
(
int32 Index |
||
| void | SetVertexAttrEnabled
(
int32 Index, |
Overridden from FOpenGLCommonState
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | InitializeResources
(
int32 NumCombinedTextures, |
NumCombinedTextures must be greater than or equal to FOpenGL::GetMaxCombinedTextureImageUnits() NumCombinedUAVUnits must be greater than or equal to FOpenGL::GetMaxCombinedUAVUnits() |