Replaced the old VS templates with ones that offer more flexiblity. Started replacing the Content Project for the samples with our custom project type. Inlcuded a basic not yet working AssimpImporter.
31 lines
781 B
C#
31 lines
781 B
C#
#region Using Statements
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ANX.Framework.Graphics;
|
|
|
|
#endregion
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
namespace ANX.Framework.Content.Pipeline.Graphics
|
|
{
|
|
public class Dxt5BitmapContent : DxtBitmapContent
|
|
{
|
|
public Dxt5BitmapContent(int width, int height)
|
|
: base(16, width, height)
|
|
{
|
|
|
|
}
|
|
|
|
public override bool TryGetFormat(out SurfaceFormat format)
|
|
{
|
|
format = SurfaceFormat.Dxt5;
|
|
return true;
|
|
}
|
|
}
|
|
}
|