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.

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