forked from MoonsideGames/MoonWorks
use in for graphicspipelinecreateinfo
parent
addea0f810
commit
c65485a31c
|
@ -14,7 +14,7 @@ namespace MoonWorks.Graphics
|
|||
|
||||
public unsafe GraphicsPipeline(
|
||||
GraphicsDevice device,
|
||||
GraphicsPipelineCreateInfo graphicsPipelineCreateInfo
|
||||
in GraphicsPipelineCreateInfo graphicsPipelineCreateInfo
|
||||
) : base(device)
|
||||
{
|
||||
ColorBlendState colorBlendState = graphicsPipelineCreateInfo.ColorBlendState;
|
||||
|
|
|
@ -123,7 +123,10 @@ namespace MoonWorks.Graphics
|
|||
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(
|
||||
device.Handle,
|
||||
|
|
Loading…
Reference in New Issue