mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* Removed the Interfaces folder. * All objects inside the GameObjects subfolders are now in the GameObjects namespace. * Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces. * Simplified Robust.client.Graphics namespace. * Automated remove redundant using statements.
20 lines
593 B
C#
20 lines
593 B
C#
namespace Robust.Client.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(colorFormat);
|
|
}
|
|
}
|
|
}
|