mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 18:17:09 +02:00
20 lines
633 B
C#
20 lines
633 B
C#
namespace Robust.Client.Interfaces.Graphics
|
|
{
|
|
public struct RenderTargetFormatParameters
|
|
{
|
|
public RenderTargetColorFormat ColorFormat { get; set; }
|
|
public bool HasDepthStencil { get; set; }
|
|
|
|
public RenderTargetFormatParameters(RenderTargetColorFormat colorFormat, bool hasDepthStencil = false)
|
|
{
|
|
ColorFormat = colorFormat;
|
|
HasDepthStencil = hasDepthStencil;
|
|
}
|
|
|
|
public static implicit operator RenderTargetFormatParameters(RenderTargetColorFormat colorFormat)
|
|
{
|
|
return new RenderTargetFormatParameters(colorFormat);
|
|
}
|
|
}
|
|
}
|