mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
* 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.
34 lines
753 B
C#
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
|
|
}
|
|
}
|