Inherits AZ::RHI::DevicePipelineLibrary.
|
|
| AZ_CLASS_ALLOCATOR (PipelineLibrary, AZ::SystemAllocator) |
| |
|
| AZ_DISABLE_COPY_MOVE (PipelineLibrary) |
| |
|
id< MTLBinaryArchive > | GetNativePipelineCache () const |
| |
|
id< MTLRenderPipelineState > | CreateGraphicsPipelineState (uint64_t hash, MTLRenderPipelineDescriptor *pipelineStateDesc, NSError **error) |
| |
|
id< MTLComputePipelineState > | CreateComputePipelineState (uint64_t hash, MTLComputePipelineDescriptor *pipelineStateDesc, NSError **error) |
| |
|
| AZ_RTTI (DevicePipelineLibrary, "{843579BE-57E4-4527-AB00-C0217885AEA9}") |
| |
| ResultCode | Init (Device &device, const DevicePipelineLibraryDescriptor &descriptor) |
| |
| ResultCode | MergeInto (AZStd::span< const DevicePipelineLibrary *const > librariesToMerge) |
| |
| ConstPtr< PipelineLibraryData > | GetSerializedData () const |
| |
|
bool | SaveSerializedData (const AZStd::string &filePath) const |
| | Saves the platform-specific data to disk using the filePath provided. This is done through RHI backend drivers.
|
| |
|
| AZ_RTTI (DeviceObject, "{17D34F71-944C-4AF5-9823-627474C4C0A6}", Object) |
| |
|
bool | IsInitialized () const |
| | Returns whether the device object is initialized.
|
| |
| Device & | GetDevice () const |
| |
|
| AZ_RTTI (Object, "{E43378F1-2331-4173-94B8-990ED20E6003}") |
| |
|
void | SetName (const Name &name) |
| | Sets the name of the object.
|
| |
|
const Name & | GetName () const |
| | Returns the name set on the object by SetName.
|
| |
|
uint32_t | use_count () |
| | Returns the current use count of the object.
|
| |
|
|
void | Init (Device &device) |
| | The derived class should call this method to assign the device.
|
| |
|
void | add_ref () const |
| |
| void | release () const |
| |
|
AZStd::atomic_int | m_useCount = 0 |
| |
The documentation for this class was generated from the following file:
- Gems/Atom/RHI/Metal/Code/Source/RHI/PipelineLibrary.h