Click or drag to resize
Ab4d.SharpEngine logo

FileShaderBytecodeProvider Methods

The FileShaderBytecodeProvider type exposes the following members.

Methods
 NameDescription
Public methodAddResourceFile(String) AddResourceFile registers the file specified with fullFileNameWithPath with resource name that is generated from the file name (with extension). This method is thread safe.
Public methodAddResourceFile(String, String) AddResourceFile registers the resourceName and associates it with the specified fullFileNameWithPath. This method is thread safe.
Public methodAddResourceFiles AddResourceFiles registers files specified in fileNames enumerable collection. This method is thread safe.
Public methodGetAllResourceNames Returns an array of strings that represents the resource names available in this ShaderBytecodeProvider.
(Overrides ShaderBytecodeProviderGetAllResourceNames)
Public methodGetShaderBytecode Gets bytes array of the compiled shader with resourceName or null if this class instance does not have this resource.
(Overrides ShaderBytecodeProviderGetShaderBytecode(String))
Top
See Also