Removed unnecessary shader method attributes
このコミットが含まれているのは:
1 親
0957d6eaa3
コミット
5899b4769b
2ファイル変更
+3
-28
検索条件に一致するファイルはありません
@@ -200,7 +200,7 @@ namespace DirectX12GameEngine.Shaders
|
||||
|
||||
if (memberInfo is MethodInfo methodInfo)
|
||||
{
|
||||
if (type.IsInterface || resourceType is ShaderMethodAttribute)
|
||||
if (type.IsInterface)
|
||||
{
|
||||
CollectMethod(methodInfo);
|
||||
}
|
||||
@@ -269,7 +269,7 @@ namespace DirectX12GameEngine.Shaders
|
||||
|
||||
if (memberInfo is MethodInfo methodInfo)
|
||||
{
|
||||
if (type.IsInterface || resourceType is ShaderMethodAttribute)
|
||||
if (type.IsInterface)
|
||||
{
|
||||
WriteMethod(methodInfo);
|
||||
}
|
||||
@@ -576,8 +576,7 @@ namespace DirectX12GameEngine.Shaders
|
||||
{
|
||||
private static readonly HashSet<string> allowedAttributes = new HashSet<string>()
|
||||
{
|
||||
typeof(NumThreadsAttribute).FullName,
|
||||
typeof(ShaderAttribute).FullName
|
||||
typeof(NumThreadsAttribute).FullName
|
||||
};
|
||||
|
||||
public static bool Contains(string name)
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする