use in for graphicspipelinecreateinfo
parent
addea0f810
commit
c65485a31c
|
@ -14,7 +14,7 @@ namespace MoonWorks.Graphics
|
||||||
|
|
||||||
public unsafe GraphicsPipeline(
|
public unsafe GraphicsPipeline(
|
||||||
GraphicsDevice device,
|
GraphicsDevice device,
|
||||||
GraphicsPipelineCreateInfo graphicsPipelineCreateInfo
|
in GraphicsPipelineCreateInfo graphicsPipelineCreateInfo
|
||||||
) : base(device)
|
) : base(device)
|
||||||
{
|
{
|
||||||
ColorBlendState colorBlendState = graphicsPipelineCreateInfo.ColorBlendState;
|
ColorBlendState colorBlendState = graphicsPipelineCreateInfo.ColorBlendState;
|
||||||
|
|
|
@ -123,7 +123,10 @@ namespace MoonWorks.Graphics
|
||||||
return new Texture(device, textureCreateInfo);
|
return new Texture(device, textureCreateInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Texture(GraphicsDevice device, in TextureCreateInfo textureCreateInfo) : base(device)
|
public Texture(
|
||||||
|
GraphicsDevice device,
|
||||||
|
in TextureCreateInfo textureCreateInfo
|
||||||
|
) : base(device)
|
||||||
{
|
{
|
||||||
Handle = Refresh.Refresh_CreateTexture(
|
Handle = Refresh.Refresh_CreateTexture(
|
||||||
device.Handle,
|
device.Handle,
|
||||||
|
|
Loading…
Reference in New Issue