MaterialOverrideComponent Class Template
Component that stores a replacement material handle. More...
Declaration
template <typename THandle>
class helios::engine::rendering::common::components::MaterialOverrideComponent<THandle> { ... }
Public Constructors Index
template <typename THandle> | |
| MaterialOverrideComponent (const MaterialHandle materialHandle) | |
|
Constructs the component from a material handle. More... | |
Public Member Functions Index
template <typename THandle> | |
| MaterialHandle | materialHandle () const noexcept |
|
Returns the stored override material handle. More... | |
Private Member Attributes Index
template <typename THandle> | |
| MaterialHandle | materialHandle_ {} |
Description
Component that stores a replacement material handle.
- Template Parameters
-
THandle Owning entity handle type.
Definition at line 21 of file MaterialOverrideComponent.ixx.
Public Constructors
MaterialOverrideComponent()
template <typename THandle>
| inline explicit |
Constructs the component from a material handle.
- Parameters
-
materialHandle Override material handle.
Definition at line 34 of file MaterialOverrideComponent.ixx.
34 explicit MaterialOverrideComponent(const MaterialHandle materialHandle)
35 : materialHandle_(materialHandle) {}
Public Member Functions
materialHandle()
template <typename THandle>
| inline noexcept |
Returns the stored override material handle.
Definition at line 38 of file MaterialOverrideComponent.ixx.
Private Member Attributes
materialHandle_
template <typename THandle>
|
Definition at line 24 of file MaterialOverrideComponent.ixx.
24 MaterialHandle materialHandle_{};
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.