Resource signature load info. More...
#include <RenderStateNotationLoader.h>
Public Attributes | |
| const Char * | Name = nullptr |
| Name of the resource signature to load. | |
| bool | AddToCache = true |
| Flag indicating whether to add the resource signature to the internal cache. | |
| bool | LookupInCache = true |
| Indicates whether to look up the signature in the cache. | |
| void(* | Modify )(PipelineResourceSignatureDesc &, void *) = nullptr |
| void * | pUserData = nullptr |
| A pointer to the user data to pass to the Modify function. | |
Resource signature load info.
| bool Diligent::LoadResourceSignatureInfo::LookupInCache = true |
Indicates whether to look up the signature in the cache.
If the resource signature with the specified name has already been requested, and the AddToCache flag was set to true, the signature will be returned from the cache, unless the LookupInCache flag is set to false.
Disabling cache lookup may be useful when the signature with the same name is already in the cache, but the application wants to load a different signature with the same name by modifying the signature desc.
If LookupInCache is false, and AddToCache is true, the new signature will replace the existing signature in the cache, if any.
| void(* Diligent::LoadResourceSignatureInfo::Modify) (PipelineResourceSignatureDesc &, void *) = nullptr |
An optional function to be called by the render state notation loader to let the application modify the pipeline resource signature descriptor.