public static ITexture Construct(SingleColorTexture metaResource) { var r = new Texel.A8R8G8B8[1, 1]; r[0, 0] = metaResource.Texel; return(new Texture <Texel.A8R8G8B8>(r)); }
public SingleColorTexture(SingleColorTexture copy) { Texel = copy.Texel; }
public static ITexture Construct(SingleColorTexture metaResource) { var r = new Texel.A8R8G8B8[1, 1]; r[0, 0] = metaResource.Texel; return new Texture<Texel.A8R8G8B8>(r); }