Add preproc so that class compiles

Xcode didn't like the method definition without a declaration.
Removing mipmapping

Mipmaps are slow to create and we are creating textures on the fly in
realtime so it needs to be fast.
Taking out wonky shader retain code