FOpenGLBoundShaderState

Combined shader state and vertex definition for rendering geometry.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRHIResource

FRHIBoundShaderState

FOpenGLBoundShaderState

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLResources.h

Include

#include "OpenGLResources.h"

Syntax

class FOpenGLBoundShaderState : public FRHIBoundShaderState

Remarks

Combined shader state and vertex definition for rendering geometry. Each unique instance consists of a vertex decl, vertex shader, and pixel shader.

Variables

Constructors

Name Description

Public function

FOpenGLBoundShaderState

(
    FOpenGLLinkedProgram* InLinked...,
    FRHIVertexDeclaration* InVerte...,
    FRHIVertexShader* InVertexShad...,
    FRHIPixelShader* InPixelShader...,
    FRHIGeometryShader* InGeometry...
)

Initialization constructor.

Destructors

Name Description

Public function Virtual

~FOpenGLBoundShaderState()

Functions

Name Description

Public function

FOpenGLGeome...

 

GetGeometryShader()

Public function

void

 

GetNumUniformBuffers

(
    int32 NumVertexUniformBuffers
)

Public function

FOpenGLPixel...

 

GetPixelShader()

Public function

const TBitAr...

 

GetTextureNeeds

(
    int32& OutMaxTextureStageUsed
)

Public function Const

const TBitAr...

 

GetUAVNeeds

(
    int32& OutMaxUAVUnitUsed
)

Public function

FOpenGLVerte...

 

GetVertexShader()

Public function

int32

 

MaxTextureStageUsed()

Public function

bool

 

NeedsTextureStage

(
    int32 TextureStageIndex
)

Public function

bool

 

RequiresDriverInstantiation()