Navigation
API > API/Runtime > API/Runtime/OpenGLDrv
Inheritance Hierarchy
- FOpenGLCommonState
- FOpenGLRHIState
References
| Module | OpenGLDrv |
| Header | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGLState.h |
| Include | #include "OpenGLState.h" |
Syntax
struct FOpenGLRHIState : public FOpenGLCommonState
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAlphaToCoverageEnabled | ||
| bool | bAnyDirtyGraphicsUniformBuffers | Bit array to track which uniform buffers have changed since the last draw call. | |
| bool[SF_NumStandardFrequencies] | bAnyDirtyRealUniformBuffers | Array to track if any real (not emulated) uniform buffers have been bound since the last draw call | |
| bool | bFramebufferSetupInvalid | ||
| FOpenGLBlendStateData | BlendState | ||
| TRefCountPtr< FOpenGLBoundShaderState > | BoundShaderState | ||
| FRHIUniformBuffer *[SF_NumStandardFrequencies][MAX_UNIFORM_BUFFERS_PER_SHADER_STAGE] | BoundUniformBuffers | Track the currently bound uniform buffers. | |
| bool | bScissorEnabled | ||
| FComputeShaderRHIRef | CurrentComputeShader | ||
| float | DepthMaxZ | ||
| float | DepthMinZ | ||
| FOpenGLTexture * | DepthStencil | ||
| FOpenGLDepthStencilStateData | DepthStencilState | ||
| uint32 | DepthTargetHeight | ||
| uint32 | DepthTargetWidth | ||
| uint16[SF_NumStandardFrequencies] | DirtyUniformBuffers | ||
| FOpenGLStream | DynamicVertexStream | Information about pending BeginDraw[Indexed]PrimitiveUP calls. | |
| int32 | FirstNonzeroRenderTarget | ||
| GLuint | Framebuffer | ||
| uint32 | IndexDataStride | ||
| FOpenGLLinkedProgram * | LinkedProgramAndDirtyFlag | We null this when the we dirty PackedGlobalUniformDirty. Thus we can skip all of CommitNonComputeShaderConstants if it matches the current program | |
| uint32 | MinVertexIndex | ||
| uint32 | NumPrimitives | ||
| int32 | NumRenderingSamples | Pending framebuffer setup. | |
| uint32 | NumVertices | ||
| uint32 | PrimitiveType | ||
| FOpenGLRasterizerStateData | RasterizerState | ||
| uint32[MaxSimultaneousRenderTargets] | RenderTargetArrayIndex | ||
| uint32 | RenderTargetHeight | ||
| uint32[MaxSimultaneousRenderTargets] | RenderTargetMipmapLevels | ||
| FOpenGLTexture *[MaxSimultaneousRenderTargets] | RenderTargets | ||
| uint32 | RenderTargetWidth | ||
| GLuint | RunningOcclusionQuery | ||
| FIntRect | Scissor | ||
| FOpenGLShaderParameterCache * | ShaderParameters | ||
| uint32 | StencilRef | ||
| ERenderTargetStoreAction | StencilStoreAction | ||
| FOpenGLStream[16] | Streams | ||
| void * | UpIndexBuffer | ||
| uint32 | UpIndexBufferBytes | ||
| uint32 | UpStride | ||
| void * | UpVertexBuffer | ||
| uint32 | UpVertexBufferBytes | Used for if(!FOpenGL::SupportsFastBufferData()) | |
| FIntRect | Viewport | ||
| GLuint | ZeroFilledDummyUniformBuffer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FOpenGLCommonState
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | InitializeResources
(
int32 NumCombinedTextures, |
AB: moved from the header, since it was causing linker error when the header is included externally. |
Constants
| Name | Description |
|---|---|
| MAX_UNIFORM_BUFFERS_PER_SHADER_STAGE | The RHI does not allow more than 14 constant buffers per shader stage due to D3D11 limits. |