12 : _queueComputeTimer( Time::ADD_TIMER(
"Shader Queue Timer" ) )
41 resDescriptor.waitForReady(
false );
55 constexpr U8 MAX_STEP_PER_FRAME = 15u;
#define PROFILE_SCOPE_AUTO(CATEGORY)
void addToQueueBack(const ShaderQueueElement &element)
void addToQueueFront(const ShaderQueueElement &element)
Time::ProfileTimer & _queueComputeTimer
std::deque< ShaderQueueElement > _shaderComputeQueue
void process(ShaderQueueElement &element)
std::atomic_uint _maxShaderLoadsInFlight
constexpr Optick::Category::Type Streaming
Handle console commands that start with a forward slash.
std::lock_guard< mutex > LockGuard
std::shared_lock< mutex > SharedLock
FORCE_INLINE Handle< T > CreateResource(const ResourceDescriptor< T > &descriptor, bool &wasInCache, std::atomic_uint &taskCounter)
PropertyDescriptor< T > _propertyDescriptor
ShaderProgramDescriptor _shaderDescriptor
Handle< ShaderProgram > * _shaderRef