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.
Public Member Functions | Friends | List of all members
AZ::RHI::Object Class Reference

#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.
 

Detailed Description

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.

Member Function Documentation

◆ GetName()

const Name& AZ::RHI::Object::GetName ( ) const

Returns the name set on the object by SetName

◆ SetName()

void AZ::RHI::Object::SetName ( const Name &  name)

Sets the name of the object.


The documentation for this class was generated from the following file: