Example #1
0
 public ProceduralMeshFactory32(IVertexFormat <TVertex> format, GraphicsDevice graphicsDevice)
     : base(format, graphicsDevice)
 {
     Contracts.Requires.That(
         graphicsDevice.Supports32BitMeshIndices(),
         "Can't use 32 bit indices on feature level HW <= 9.3");
 }
Example #2
0
        public AbstractProceduralMeshFactory(IVertexFormat <TVertex> format, GraphicsDevice graphicsDevice)
        {
            Contracts.Requires.That(format != null);
            Contracts.Requires.That(graphicsDevice != null);

            this.Format         = format;
            this.GraphicsDevice = graphicsDevice;
        }
Example #3
0
 public ProceduralMeshFactory16(IVertexFormat <TVertex> format, GraphicsDevice graphicsDevice)
     : base(format, graphicsDevice)
 {
 }