mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
* 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.
23 lines
433 B
C#
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;
|
|
}
|
|
}
|
|
}
|