public IsSyntaxSupported ( string syntaxCode ) : bool | ||
syntaxCode | string | |
return | bool |
public bool IsSyntaxSupported( string syntaxCode )
{
// Use the current render system
var rs = Root.Instance.RenderSystem;
// Get the supported syntaxed from RenderSystemCapabilities
return rs.Capabilities.IsShaderProfileSupported(syntaxCode);
}