ReleaseResourceAndFlush

Sends a message to the rendering thread to release a resource, and spins until the rendering thread has processed the message.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderResource.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderResource.cpp

Syntax

void ReleaseResourceAndFlush
(
    FRenderResource * Resource
)

Remarks

Sends a message to the rendering thread to release a resource, and spins until the rendering thread has processed the message. This is called in the game thread.

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