mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 18:17:09 +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
588 B
C#
23 lines
588 B
C#
using System;
|
|
using Robust.Client.Graphics;
|
|
using Robust.Client.Graphics.Clyde;
|
|
|
|
namespace Robust.Client.Audio
|
|
{
|
|
public sealed class AudioStream
|
|
{
|
|
public TimeSpan Length { get; }
|
|
internal ClydeHandle? ClydeHandle { get; }
|
|
public string Name { get; }
|
|
public int ChannelCount { get; }
|
|
|
|
internal AudioStream(ClydeHandle handle, TimeSpan length, int channelCount, string name = null)
|
|
{
|
|
ClydeHandle = handle;
|
|
Length = length;
|
|
ChannelCount = channelCount;
|
|
Name = name;
|
|
}
|
|
}
|
|
}
|