/// <summary> /// Flushes any queued ubo updates. /// </summary> private void FlushUboDirty() { if (_ubFollowUpAddress != 0) { BufferManager.ForceDirty(_ubFollowUpAddress - _ubByteCount, _ubByteCount); _ubFollowUpAddress = 0; } }