#include <ScopeProducerFunction.h>
Inherits AZ::RHI::ScopeProducer.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (ScopeProducerFunction, SystemAllocator) | |
template<typename UserDataParam > | |
ScopeProducerFunction (const ScopeId &scopeId, UserDataParam &&userData, PrepareFunction prepareFunction, CompileFunction compileFunction=CompileFunction(), ExecuteFunction executeFunction=ExecuteFunction()) | |
UserData & | GetUserData () |
const UserData & | GetUserData () const |
Public Member Functions inherited from AZ::RHI::ScopeProducer | |
ScopeProducer (const ScopeId &scopeId) | |
const ScopeId & | GetScopeId () const |
Returns the scope id associated with this scope producer. | |
const Scope * | GetScope () const |
Returns the scope associated with this scope producer. | |
Additional Inherited Members | |
Protected Member Functions inherited from AZ::RHI::ScopeProducer | |
ScopeProducer () | |
void | SetHardwareQueueClass (HardwareQueueClass hardwareQueueClass) |
Sets the HardwareQueueClass on the scope. | |
void | SetScopeId (const ScopeId &scopeId) |
void | InitScope (const ScopeId &scopeId, HardwareQueueClass hardwareQueueClass=HardwareQueueClass::Graphics) |
This specialized scope producer provides a simple functional model for managing a scope. It may help reduce boilerplate in cases where a very simple scope is required and it becomes impractical to marshal data from a parent class.