Files
RobustToolbox/SS14.Client/Graphics/Shaders/Params.cs
Pieter-Jan Briers c058c2e3d4 Outlines & Custom non-entity drawing. (#592)
* Shader work WiP

* Probably implement basic shader param support.

* Really rough and hacky version

* Fix dumb exception.

* Custom fullscreen drawing API prototype.

* Significantly optimize debug colliders drawing.

* Fix drawdepths on clothing & overlays.

* Re-add license to outline shader.

* Update .editorconfig for .gdsl files.

* Fix unit tests.
2018-06-03 14:38:56 +02:00

34 lines
753 B
C#

namespace SS14.Client.Graphics.Shaders
{
public enum ShaderParamType
{
// Can this even happen?
Void = 0,
Bool,
BVec2,
BVec3,
BVec4,
UInt,
/// <summary>
/// While Godot supports all (u)int vectors,
/// It doesn't specify which is used from get params.
/// So ivec2, ivec3, ivec4... are all this guy.
/// </summary>
IntVec,
Int,
Float,
Vec2,
Vec3,
Vec4,
Mat2,
Mat3,
Mat4,
/// <summary>
/// Godot supports u, i and b samplers too,
/// but we can't tell in code.
/// </summary>
Sampler2D,
SamplerCube
}
}