SPEC-7531 Change Code/CryEngine to Code/Legacy (#1634)
* git mv Code\CryEngine Code\Legacy * redirecting CMakeLists.txt * fixing uic warning * Some more CryEngine mentions * validation scripts Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AzCore/Component/ComponentBus.h>
|
||||
#include <AzCore/std/parallel/mutex.h>
|
||||
|
||||
namespace AZ
|
||||
{
|
||||
/**
|
||||
* Used to queue render commands to be safely executed on the main thread
|
||||
*/
|
||||
class MainThreadRenderQueueEvents
|
||||
: public AZ::EBusTraits
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~MainThreadRenderQueueEvents() {}
|
||||
|
||||
// EBusTraits overrides
|
||||
static const AZ::EBusHandlerPolicy HandlerPolicy = EBusHandlerPolicy::Single;
|
||||
static const bool EnableEventQueue = true;
|
||||
typedef AZStd::mutex EventQueueMutexType;
|
||||
};
|
||||
|
||||
using MainThreadRenderRequestBus = AZ::EBus<MainThreadRenderQueueEvents>;
|
||||
}
|
||||
Reference in New Issue
Block a user