FOpenGLBoundShaderState

Combined shader state and vertex definition for rendering geometry.

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...,
    FRHIHullShader * InHullShaderRH...,
    FRHIDomainShader * InDomainShad...
)

Initialization constructor.

Destructors

Name Description

Public function Virtual

~FOpenGLBoundShaderState()

Functions

Name Description

Public function

FOpenGLDomai ...

 

GetDomainShader()

Public function

FOpenGLGeome ...

 

GetGeometryShader()

Public function

FOpenGLHullS ...

 

GetHullShader()

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()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback