|
| virtual bool DILIGENT_CALL_TYPE | Load (IDataBlob *pData)=0 |
| | Loads the cache data from the binary blob.
|
| |
| virtual void DILIGENT_CALL_TYPE | GetBytecode (const ShaderCreateInfo &ShaderCI, IDataBlob **ppByteCode)=0 |
| | Returns the byte code for the requested shader create parameters.
|
| |
| virtual void DILIGENT_CALL_TYPE | AddBytecode (const ShaderCreateInfo &ShaderCI, IDataBlob *pByteCode)=0 |
| | Adds the byte code to the cache.
|
| |
| virtual void DILIGENT_CALL_TYPE | RemoveBytecode (const ShaderCreateInfo &ShaderCI)=0 |
| | Removes the byte code from the cache.
|
| |
| virtual void DILIGENT_CALL_TYPE | Store (IDataBlob **ppDataBlob)=0 |
| | Writes the cache data to the binary data blob.
|
| |
|
virtual void DILIGENT_CALL_TYPE | Clear ()=0 |
| | Clears the cache and resets it to default state.
|
| |
| 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 |
| |
Byte code cache interface.