Files
RobustToolbox/Robust.Client/Graphics/ClydeHandle.cs
T
Pieter-Jan BriersandGitHub 09c36b57cd Shift half of Clyde around to implement better outline rendering. (#830)
* Attempted Clyde cleanup, didn't get far.

* Add negation operator to Vector2i.

* Add RenderOrder to ISpriteComponent.

* Post process shaders.

Adds "post process" shaders to sprite component.
These are executed on the WHOLE sprite component (every layer)
in one draw.

This is necessary to implement functional outlines.
2019-07-06 19:17:33 +02:00

23 lines
433 B
C#

namespace Robust.Client.Graphics
{
internal struct ClydeHandle
{
public ClydeHandle(int handle)
{
Handle = handle;
}
public int Handle { get; }
public static explicit operator ClydeHandle(int x)
{
return new ClydeHandle(x);
}
public static explicit operator int(ClydeHandle h)
{
return h.Handle;
}
}
}