forked from MoonsideGames/MoonWorks
fix a few missing renames
parent
774028a013
commit
278db7d55b
|
@ -8,7 +8,7 @@ namespace MoonWorks.Graphics
|
|||
{
|
||||
protected override Action<IntPtr, IntPtr, IntPtr> QueueDestroyFunction => Refresh.Refresh_QueueDestroyComputePipeline;
|
||||
|
||||
public ComputeShaderInfo ComputeShaderState { get; }
|
||||
public ComputeShaderInfo ComputeShaderInfo { get; }
|
||||
|
||||
public unsafe ComputePipeline(
|
||||
GraphicsDevice device,
|
||||
|
@ -29,7 +29,7 @@ namespace MoonWorks.Graphics
|
|||
refreshComputeShaderInfo
|
||||
);
|
||||
|
||||
ComputeShaderState = computeShaderInfo;
|
||||
ComputeShaderInfo = computeShaderInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@ namespace MoonWorks.Graphics
|
|||
{
|
||||
protected override Action<IntPtr, IntPtr, IntPtr> QueueDestroyFunction => Refresh.Refresh_QueueDestroyGraphicsPipeline;
|
||||
|
||||
public GraphicsShaderInfo VertexShaderState { get; }
|
||||
public GraphicsShaderInfo FragmentShaderState { get; }
|
||||
public GraphicsShaderInfo VertexShaderInfo { get; }
|
||||
public GraphicsShaderInfo FragmentShaderInfo { get; }
|
||||
|
||||
public unsafe GraphicsPipeline(
|
||||
GraphicsDevice device,
|
||||
|
@ -21,8 +21,8 @@ namespace MoonWorks.Graphics
|
|||
) : base(device)
|
||||
{
|
||||
DepthStencilState depthStencilState = graphicsPipelineCreateInfo.DepthStencilState;
|
||||
GraphicsShaderInfo vertexShaderInfo = graphicsPipelineCreateInfo.VertexShaderState;
|
||||
GraphicsShaderInfo fragmentShaderInfo = graphicsPipelineCreateInfo.FragmentShaderState;
|
||||
GraphicsShaderInfo vertexShaderInfo = graphicsPipelineCreateInfo.VertexShaderInfo;
|
||||
GraphicsShaderInfo fragmentShaderInfo = graphicsPipelineCreateInfo.FragmentShaderInfo;
|
||||
MultisampleState multisampleState = graphicsPipelineCreateInfo.MultisampleState;
|
||||
RasterizerState rasterizerState = graphicsPipelineCreateInfo.RasterizerState;
|
||||
PrimitiveType primitiveType = graphicsPipelineCreateInfo.PrimitiveType;
|
||||
|
@ -123,8 +123,8 @@ namespace MoonWorks.Graphics
|
|||
viewportHandle.Free();
|
||||
scissorHandle.Free();
|
||||
|
||||
VertexShaderState = vertexShaderInfo;
|
||||
FragmentShaderState = fragmentShaderInfo;
|
||||
VertexShaderInfo = vertexShaderInfo;
|
||||
FragmentShaderInfo = fragmentShaderInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
public struct GraphicsPipelineCreateInfo
|
||||
{
|
||||
public DepthStencilState DepthStencilState;
|
||||
public GraphicsShaderInfo VertexShaderState;
|
||||
public GraphicsShaderInfo FragmentShaderState;
|
||||
public GraphicsShaderInfo VertexShaderInfo;
|
||||
public GraphicsShaderInfo FragmentShaderInfo;
|
||||
public MultisampleState MultisampleState;
|
||||
public RasterizerState RasterizerState;
|
||||
public PrimitiveType PrimitiveType;
|
||||
|
|
Loading…
Reference in New Issue