fix a few missing renames

pull/17/head
cosmonaut 2022-03-02 11:45:37 -08:00
parent 774028a013
commit 278db7d55b
3 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,7 @@ namespace MoonWorks.Graphics
{ {
protected override Action<IntPtr, IntPtr, IntPtr> QueueDestroyFunction => Refresh.Refresh_QueueDestroyComputePipeline; protected override Action<IntPtr, IntPtr, IntPtr> QueueDestroyFunction => Refresh.Refresh_QueueDestroyComputePipeline;
public ComputeShaderInfo ComputeShaderState { get; } public ComputeShaderInfo ComputeShaderInfo { get; }
public unsafe ComputePipeline( public unsafe ComputePipeline(
GraphicsDevice device, GraphicsDevice device,
@ -29,7 +29,7 @@ namespace MoonWorks.Graphics
refreshComputeShaderInfo refreshComputeShaderInfo
); );
ComputeShaderState = computeShaderInfo; ComputeShaderInfo = computeShaderInfo;
} }
} }
} }

View File

@ -12,8 +12,8 @@ namespace MoonWorks.Graphics
{ {
protected override Action<IntPtr, IntPtr, IntPtr> QueueDestroyFunction => Refresh.Refresh_QueueDestroyGraphicsPipeline; protected override Action<IntPtr, IntPtr, IntPtr> QueueDestroyFunction => Refresh.Refresh_QueueDestroyGraphicsPipeline;
public GraphicsShaderInfo VertexShaderState { get; } public GraphicsShaderInfo VertexShaderInfo { get; }
public GraphicsShaderInfo FragmentShaderState { get; } public GraphicsShaderInfo FragmentShaderInfo { get; }
public unsafe GraphicsPipeline( public unsafe GraphicsPipeline(
GraphicsDevice device, GraphicsDevice device,
@ -21,8 +21,8 @@ namespace MoonWorks.Graphics
) : base(device) ) : base(device)
{ {
DepthStencilState depthStencilState = graphicsPipelineCreateInfo.DepthStencilState; DepthStencilState depthStencilState = graphicsPipelineCreateInfo.DepthStencilState;
GraphicsShaderInfo vertexShaderInfo = graphicsPipelineCreateInfo.VertexShaderState; GraphicsShaderInfo vertexShaderInfo = graphicsPipelineCreateInfo.VertexShaderInfo;
GraphicsShaderInfo fragmentShaderInfo = graphicsPipelineCreateInfo.FragmentShaderState; GraphicsShaderInfo fragmentShaderInfo = graphicsPipelineCreateInfo.FragmentShaderInfo;
MultisampleState multisampleState = graphicsPipelineCreateInfo.MultisampleState; MultisampleState multisampleState = graphicsPipelineCreateInfo.MultisampleState;
RasterizerState rasterizerState = graphicsPipelineCreateInfo.RasterizerState; RasterizerState rasterizerState = graphicsPipelineCreateInfo.RasterizerState;
PrimitiveType primitiveType = graphicsPipelineCreateInfo.PrimitiveType; PrimitiveType primitiveType = graphicsPipelineCreateInfo.PrimitiveType;
@ -123,8 +123,8 @@ namespace MoonWorks.Graphics
viewportHandle.Free(); viewportHandle.Free();
scissorHandle.Free(); scissorHandle.Free();
VertexShaderState = vertexShaderInfo; VertexShaderInfo = vertexShaderInfo;
FragmentShaderState = fragmentShaderInfo; FragmentShaderInfo = fragmentShaderInfo;
} }
} }
} }

View File

@ -3,8 +3,8 @@
public struct GraphicsPipelineCreateInfo public struct GraphicsPipelineCreateInfo
{ {
public DepthStencilState DepthStencilState; public DepthStencilState DepthStencilState;
public GraphicsShaderInfo VertexShaderState; public GraphicsShaderInfo VertexShaderInfo;
public GraphicsShaderInfo FragmentShaderState; public GraphicsShaderInfo FragmentShaderInfo;
public MultisampleState MultisampleState; public MultisampleState MultisampleState;
public RasterizerState RasterizerState; public RasterizerState RasterizerState;
public PrimitiveType PrimitiveType; public PrimitiveType PrimitiveType;