I'm currently trying to teach myself C# and Managed DirectX by converting my pre-existing particle editor over. Although for some reason the simple act of loading a texture is eluding me.
I've seen code snippets for loading using
Texture img = null;
img = TextureLoader.FromFile(filled out variables);
unfortunately I'm getting the error on compile
CS0103 The name TextureLoader does not exist in the current context.
So I looked up error CS0103 and it says that I'm not using the correct "using"s.
But this is what I have for that
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
edit : forgot to mention using VS2005 and April 2006 version of DX:SDK
Thanks in advance,
Adam
[Edited by - AHowell on April 16, 2006 11:30:26 PM]