![]() |
Open 3D Engine Atom Gem API Reference
22.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <Object.h>
Inherits intrusive_refcount< AZStd::atomic_uint, ObjectDeleter >.
Inherited by AZ::RHI::Device, AZ::RHI::DeviceObject, AZ::RHI::IndirectBufferWriter, AZ::RHI::PhysicalDevice, and AZ::RHI::Scope.
Public Member Functions | |
AZ_RTTI (Object, "{E43378F1-2331-4173-94B8-990ED20E6003}") | |
void | SetName (const Name &name) |
const Name & | GetName () const |
Friends | |
struct | ObjectDeleter |
Friended to allow private call to Shutdown. | |
Base class for any persistent resource in the RHI library. Provides a name, reference counting, and a common RTTI base class for all objects in the RHI.
const Name& AZ::RHI::Object::GetName | ( | ) | const |
Returns the name set on the object by SetName
void AZ::RHI::Object::SetName | ( | const Name & | name | ) |
Sets the name of the object.