Removed unnecessary ShaderSemanticAttribute types
このコミットが含まれているのは:
1 親
ba7088cd25
コミット
9fb1213ba7
1ファイル変更
-81
@@ -1,81 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace DirectX12GameEngine.Shaders
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = false)]
|
||||
public abstract class ShaderSemanticAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
public abstract class ShaderSemanticWithIndexAttribute : ShaderSemanticAttribute
|
||||
{
|
||||
public ShaderSemanticWithIndexAttribute(int index = 0)
|
||||
{
|
||||
Index = index;
|
||||
}
|
||||
|
||||
public int Index { get; }
|
||||
}
|
||||
|
||||
public class PositionSemanticAttribute : ShaderSemanticWithIndexAttribute
|
||||
{
|
||||
public PositionSemanticAttribute(int index = 0) : base(index)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class NormalSemanticAttribute : ShaderSemanticWithIndexAttribute
|
||||
{
|
||||
public NormalSemanticAttribute(int index = 0) : base(index)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class TextureCoordinateSemanticAttribute : ShaderSemanticWithIndexAttribute
|
||||
{
|
||||
public TextureCoordinateSemanticAttribute(int index = 0) : base(index)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class ColorSemanticAttribute : ShaderSemanticWithIndexAttribute
|
||||
{
|
||||
public ColorSemanticAttribute(int index = 0) : base(index)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class TangentSemanticAttribute : ShaderSemanticWithIndexAttribute
|
||||
{
|
||||
public TangentSemanticAttribute(int index = 0) : base(index)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class SystemTargetSemanticAttribute : ShaderSemanticWithIndexAttribute
|
||||
{
|
||||
public SystemTargetSemanticAttribute(int index = 0) : base(index)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class SystemDispatchThreadIdSemanticAttribute : ShaderSemanticAttribute
|
||||
{
|
||||
}
|
||||
|
||||
public class SystemInstanceIdSemanticAttribute : ShaderSemanticAttribute
|
||||
{
|
||||
}
|
||||
|
||||
public class SystemIsFrontFaceSemanticAttribute : ShaderSemanticAttribute
|
||||
{
|
||||
}
|
||||
|
||||
public class SystemPositionSemanticAttribute : ShaderSemanticAttribute
|
||||
{
|
||||
}
|
||||
|
||||
public class SystemRenderTargetArrayIndexSemanticAttribute : ShaderSemanticAttribute
|
||||
{
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする