 |
ShadersManagerGetOrCreateShaderModule Method |
GetOrCreateShaderModule method first tries to gets the shader with shaderResourceName from the cache.
If it does not exist in the cache, then a new a shader is created from the specified shaderResourceName.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic ShaderModule GetOrCreateShaderModule(
string shaderResourceName
)
Parameters
- shaderResourceName String
- shaderResourceName that is used to get the shader bytecode
Return Value
ShaderModulecreated ShaderModule
See Also