#include <PassDescriptor.h>
Public Member Functions | |
| AZ_TYPE_INFO (PassDescriptor, "{71E0E3D4-58FC-4254-BA7B-5A7ADFE15FE7}") | |
| PassDescriptor (Name name, const AZStd::shared_ptr< const PassTemplate > passTemplate=nullptr, const PassRequest *passRequest=nullptr) | |
Public Attributes | |
| Name | m_passName |
| Required: Every PassDescriptor must have a valid name before being used as an input for Pass construction. | |
| AZStd::shared_ptr< const PassTemplate > | m_passTemplate = nullptr |
| Optional: The PassTemplate used to construct a Pass. | |
| AZStd::shared_ptr< PassRequest > | m_passRequest |
| AZStd::shared_ptr< PassData > | m_passData = nullptr |
Single struct that serves as the input for pass constructors. A PassDescriptor must always have a valid name. It has optional pointers to a PassTemplate and a PassRequest If the PassRequest is valid then the PassTemplate must also be valid and point to the PassTemplate used by the PassRequest.
| AZStd::shared_ptr<PassData> AZ::RPI::PassDescriptor::m_passData = nullptr |
Optional: Custom data used for pass initialization. This data usually comes from the pass template or pass request. Only use this if you are initializing a pass without either of those.
| AZStd::shared_ptr<PassRequest> AZ::RPI::PassDescriptor::m_passRequest |
Optional: The PassRequest used to construct a Pass. If this is valid then m_passTemplate cannot be null and m_passTemplate must point to the same template used by the PassRequest.