46 bool operator== (
const RtMaterial& other )
const;
47 bool operator!= (
const RtMaterial& other )
const;
80 inline RtMaterial::RtMaterial( RtMaterialHandle::Type type )
81 : m_instance{ RtMaterialInstance::create( type ) }
86 : m_instance{ instance }
92 return m_instance.
handle !=
nullptr;
102 return !( (*this) == other );
112 return m_instance.
type;
Base type for all surface, and transmission, materials used in raytracing.
RtMaterial()
Construct an invalid material.
RtMaterialHandle::Type getType() const
bool operator!=(const RtMaterial &other) const
RtMaterialHandleRef getHandle() const
bool operator==(const RtMaterial &other) const
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
std::shared_ptr< RtMaterialHandle > RtMaterialHandleRef
Material handle of implicit type in the raytrace environment.
Material instance in the raytrace environment, containing handle and type.
RtMaterialHandleRef handle
RtMaterialHandle::Type type