 |
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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic ShaderModule GetOrCreateShaderModule(
string shaderResourceName
)
Parameters
- shaderResourceName String
- shaderResourceName that is used to get the shader bytecode
Return Value
ShaderModulecreated ShaderModule
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.ShadersManager.GetOrCreateShaderModule(System.String)"]
See Also