UActorComponent::IsRenderTransformDirty
#include "Components/ActorComponent.h"
Access: public
Specifiers: inlineconst
Description
Returns whether this component's transform has been modified but not yet flushed to the render thread. Used internally to batch render state updates.
Caveats & Gotchas
- • This is an engine-internal flag checked by the rendering pipeline during DoDeferredRenderUpdates_Concurrent — it is not a reliable signal for game logic.
- • The dirty flag is cleared after the render thread receives the update, which happens asynchronously at the end of the frame.
Signature
inline bool IsRenderTransformDirty() const { return bRenderTransformDirty; } Return Type
bool Example
Check dirty state before forcing a render update C++
// Rarely needed in game code — example shows engine-side usage pattern
if (MyComponent->IsRenderTransformDirty())
{
MyComponent->DoDeferredRenderUpdates_Concurrent();
} Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?