|
RavEngine
|
#include <Material.hpp>
Public Member Functions | |
| auto | GetPriority () const |
| virtual const RGL::untyped_span | GetPushConstantData () const |
| const auto & | GetBufferBindings () const |
| const auto & | GetTextureBindings () const |
| auto | GetMat () |
Static Public Attributes | |
| static constexpr uint8_t | maxBindingSlots = 12 |
Protected Member Functions | |
| MaterialInstance (const decltype(mat)&m, const decltype(priority) p=0) | |
Protected Attributes | |
| std::array< RGLBufferPtr, maxBindingSlots > | bufferBindings |
| std::array< Ref< Texture >, maxBindingSlots > | textureBindings |
| const uint32_t | priority |
| MaterialVariant | mat |
Represents the settings of a material. Subclass to expose more properties.
|
inlinevirtual |
Reimplemented in RavEngine::PBRMaterialInstance.