Rename GPUContext::ClearState to ResetState for constentency

This commit is contained in:
Wojtek Figat
2025-12-10 13:00:59 +01:00
parent 3b9b49950c
commit 43665aa7eb
12 changed files with 23 additions and 14 deletions

View File

@@ -618,7 +618,16 @@ public:
/// <summary>
/// Clears the context state.
/// </summary>
API_FUNCTION() virtual void ClearState() = 0;
DEPRECATED("Use ResetState instead")
API_FUNCTION() void ClearState()
{
ResetState();
}
/// <summary>
/// Resets the context state.
/// </summary>
API_FUNCTION() virtual void ResetState() = 0;
/// <summary>
/// Flushes the internal cached context state with a command buffer.