#include <RadientMaterials.h>
Public Attributes | |
| RADIENT_SURFACE_SHADING_MODEL | ShadingModel = RADIENT_SURFACE_SHADING_MODEL_METALLIC_ROUGHNESS |
| Surface shading model. | |
| RADIENT_SURFACE_MATERIAL_FEATURE_FLAGS | Features = RADIENT_SURFACE_MATERIAL_FEATURE_FLAG_NONE |
| Optional surface features provided by the definition. | |
| Public Attributes inherited from Diligent::RadientMaterialDefinitionDesc | |
| RADIENT_MATERIAL_DEFINITION_TYPE | Type = RADIENT_MATERIAL_DEFINITION_TYPE_COUNT |
| const Char * | Name = nullptr |
| Definition name used for diagnostics. | |
| RadientAssetReference | Reference = {} |
| Optional persistent asset identity. The definition copies the URI. | |
| Uint32 | ParameterCount = 0 |
| Number of elements in pParameters. May be zero. | |
| const RadientMaterialParameterDesc * | pParameters = nullptr |
Surface material definition description.
ShadingModel and Features describe the surface closure exposed to every renderer. Built-in and future programmable surface definitions use the same contract even when they produce its inputs differently.