FOpenGLRHIState

Windows
MacOS
Linux

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

Name Description

Public variable

bool

 

bAlphaToCoverageEnabled

Public variable

bool

 

bAnyDirtyGraphicsUniformBuffers

Bit array to track which uniform buffers have changed since the last draw call.

Public variable

bool

 

bFramebufferSetupInvalid

Public variable

FOpenGLBlendSta...

 

BlendState

Public variable

TRefCountPtr< F...

 

BoundShaderState

Public variable

FUniformBufferR...

 

BoundUniformBuffers

Track the currently bound uniform buffers.

Public variable

bool

 

bScissorEnabled

Public variable

FComputeShaderR...

 

CurrentComputeShader

Public variable

float

 

DepthMaxZ

Public variable

float

 

DepthMinZ

Public variable

FOpenGLTextureB...

 

DepthStencil

Public variable

FOpenGLDepthSte...

 

DepthStencilState

Public variable

uint32

 

DepthTargetHeight

Public variable

uint32

 

DepthTargetWidth

Public variable

uint16[SF_NumSt...

 

DirtyUniformBuffers

Public variable

FOpenGLStream

 

DynamicVertexStream

Information about pending BeginDraw[Indexed]PrimitiveUP calls.

Public variable

int32

 

FirstNonzeroRenderTarget

Pending framebuffer setup.

Public variable

GLuint

 

Framebuffer

Public variable

uint32

 

IndexDataStride

Public variable

FOpenGLLinkedPr...

 

LinkedProgramAndDirtyFlag

We null this when the we dirty PackedGlobalUniformDirty. Thus we can skip all of CommitNonComputeShaderConstants if it matches the current program

Public variable

uint32

 

MinVertexIndex

Public variable

uint32

 

NumPrimitives

Public variable

uint32

 

NumVertices

Public variable

uint32

 

PrimitiveType

Public variable

FOpenGLRasteriz...

 

RasterizerState

Public variable

uint32[MaxSimul...

 

RenderTargetArrayIndex

Public variable

uint32

 

RenderTargetHeight

Public variable

uint32[MaxSimul...

 

RenderTargetMipmapLevels

Public variable

FOpenGLTextureB...

 

RenderTargets

Public variable

uint32

 

RenderTargetWidth

Public variable

GLuint

 

RunningOcclusionQuery

Public variable

FIntRect

 

Scissor

Public variable

FOpenGLShaderPa...

 

ShaderParameters

Public variable

uint32

 

StencilRef

Public variable

ERenderTargetSt...

 

StencilStoreAction

Public variable

FOpenGLStream[1...

 

Streams

Public variable

void *

 

UpIndexBuffer

Public variable

uint32

 

UpIndexBufferBytes

Public variable

uint32

 

UpStride

Public variable

void *

 

UpVertexBuffer

Public variable

uint32

 

UpVertexBufferBytes

Used for if(!FOpenGL::SupportsFastBufferData())

Public variable

FIntRect

 

Viewport

Public variable

GLuint

 

ZeroFilledDummyUniformBuffer

Constructors

Name Description

Public function

FOpenGLRHIState()

Destructors

Name Description

Public function

~FOpenGLRHIState()

Overridden from FOpenGLCommonState

Name Description

Public function Virtual

void

 

CleanupResources()

Public function Virtual

void

 

InitializeResources

(
    int32 NumCombinedTextures,
    int32 NumComputeUAVUnits
)

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss