TBoundShaderStateHistory

A list of the most recently used bound shader states.

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

TBoundShaderStateHistory

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderResource.h

Include

#include "RenderResource.h"

Syntax

template<uint32 Size, bool TThreadSafe>
class TBoundShaderStateHistory : public FRenderResource

Remarks

A list of the most recently used bound shader states. This is used to keep bound shader states that have been used recently from being freed, as they're likely to be used again soon.

Constructors

Name Description

Public function

TBoundShaderStateHistory()

Initialization constructor.

Functions

Name Description

Public function

void

 

Add

(
    FRHIBoundShaderState* BoundSha...
)

Adds a bound shader state to the history.

Public function

FRHIBoundSha...

 

GetLast()

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

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