File |
The FileShaderBytecodeProvider type exposes the following members.
Name | Description | |
---|---|---|
AddResourceFile(String) | AddResourceFile registers the file specified with fullFileNameWithPath with resource name that is generated from the file name (with extention). This method is thread safe. | |
AddResourceFile(String, String) | AddResourceFile registers the resourceName and associates it with the specified fullFileNameWithPath. This method is thread safe. | |
AddResourceFiles | AddResourceFiles registers files specified in fileNames enumerable collection. This method is thread safe. | |
GetAllResourceNames |
Returns an array of strings that represents the resource names available in this ShaderBytecodeProvider.
(Overrides ShaderBytecodeProviderGetAllResourceNames) | |
GetShaderBytecode |
Gets bytes array of the compiled shader with resourceName or null if this class instance does not have this resource.
(Overrides ShaderBytecodeProviderGetShaderBytecode(String)) |