untested texture atlas pipeline system complete.

This commit is contained in:
2018-12-05 02:28:09 -06:00
parent 87823b26d6
commit 4136b1ca22
10 changed files with 162 additions and 51 deletions

View File

@@ -8,16 +8,18 @@ using System.Threading.Tasks;
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
{
class TextureAtlasWriter : ContentTypeWriter<TextureAtlasFile>
[ContentTypeWriter]
class TextureAtlasWriter : ContentTypeWriter<byte[]>
{
public override string GetRuntimeReader(TargetPlatform targetPlatform)
{
throw new NotImplementedException();
return "RecrownedAthenaeum.Pipeline, TextureAtlasDataReader";
}
protected override void Write(ContentWriter output, TextureAtlasFile value)
protected override void Write(ContentWriter output, byte[] value)
{
throw new NotImplementedException();
output.Write(value.Length);
output.Write(value);
}
}
}