Writer for mutable surface-material state. More...
#include <RadientMaterials.h>
Public Member Functions | |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | SetSurfaceMode (RADIENT_MATERIAL_SURFACE_MODE SurfaceMode)=0 |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | SetAlphaCutoff (Float32 AlphaCutoff)=0 |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | SetDoubleSided (Bool DoubleSided)=0 |
| Public Member Functions inherited from Diligent::IRadientMaterialWriter | |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | SetParameter (RadientMaterialParameterHandle Handle, const void *pData, Uint32 DataSize)=0 |
| template<typename ValueType> | |
| RADIENT_STATUS | SetParameter (RadientMaterialParameterHandle Handle, const ValueType &Value) |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | SetTexture (RadientMaterialParameterHandle Handle, Uint32 ArrayIndex, IRadientTextureAsset *pTexture)=0 |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | Commit ()=0 |
| Public Member Functions inherited from Diligent.IObject | |
| virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface. | |
| template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type> | |
| void | QueryInterface (const INTERFACE_ID &IID, DerivedType **ppInterface) |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
| Increments the number of strong references by 1. | |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
| virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
Writer for mutable surface-material state.
|
pure virtual |
Sets the alpha cutoff used by masked surfaces. Returns RADIENT_STATUS_NO_CHANGE only if this writer already has an identical pending assignment.
|
pure virtual |
Controls whether both sides of the surface are rendered. Returns RADIENT_STATUS_NO_CHANGE only if this writer already has an identical pending assignment.
|
pure virtual |
Sets the surface coverage and blending mode. Returns RADIENT_STATUS_NO_CHANGE only if this writer already has an identical pending assignment.