コード例 #1
0
 /// <summary>
 /// Parses the specified enum name.
 /// </summary>
 /// <param name="enumName">
 /// Name of the enum.
 /// </param>
 /// <returns>
 /// A qualifier
 /// </returns>
 public static ConstantBufferType Parse(string enumName)
 {
     return(Map.ParseEnumFromName <ConstantBufferType>(enumName));
 }
コード例 #2
0
 /// <summary>
 /// Parses the specified enum name.
 /// </summary>
 /// <param name="enumName">
 /// Name of the enum.
 /// </param>
 /// <returns>
 /// A qualifier
 /// </returns>
 public static new SiliconStudio.Shaders.Ast.StorageQualifier Parse(string enumName)
 {
     return(Map.ParseEnumFromName <SiliconStudio.Shaders.Ast.StorageQualifier>(enumName));
 }
コード例 #3
0
 /// <summary>
 /// Parses the specified enum name.
 /// </summary>
 /// <param name="enumName">
 /// Name of the enum.
 /// </param>
 /// <returns>
 /// A qualifier
 /// </returns>
 public static new SiliconStudio.Shaders.Ast.Hlsl.ConstantBufferType Parse(string enumName)
 {
     return(Map.ParseEnumFromName <SiliconStudio.Shaders.Ast.Hlsl.ConstantBufferType>(enumName));
 }
コード例 #4
0
ファイル: ParameterQualifier.cs プロジェクト: rohitshe/Code
 /// <summary>
 /// Parses the specified enum name.
 /// </summary>
 /// <param name="enumName">
 /// Name of the enum.
 /// </param>
 /// <returns>
 /// A parameter qualifier
 /// </returns>
 public static new Ast.ParameterQualifier Parse(string enumName)
 {
     return(Map.ParseEnumFromName <Ast.ParameterQualifier>(enumName));
 }
コード例 #5
0
 /// <summary>
 /// Parses the specified enum name.
 /// </summary>
 /// <param name="enumName">
 /// Name of the enum.
 /// </param>
 /// <returns>
 /// A qualifier
 /// </returns>
 public static FloatQualifier Parse(string enumName)
 {
     return(Map.ParseEnumFromName <FloatQualifier>(enumName));
 }
コード例 #6
0
 /// <summary>
 /// Parses the specified enum name.
 /// </summary>
 /// <param name="enumName">
 /// Name of the enum.
 /// </param>
 /// <returns>
 /// A storage qualifier
 /// </returns>
 public static StorageQualifier Parse(string enumName)
 {
     return(Map.ParseEnumFromName <StorageQualifier>(enumName));
 }