 |
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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic ShaderModule GetOrCreateShaderModule(
string shaderResourceName
)
Parameters
- shaderResourceName String
- shaderResourceName that is used to get the shader bytecode
Return Value
ShaderModulecreated ShaderModule
See Also