336 return createManual(name, group, texType, width, height, 1,
337 num_mips, format, usage, loader, hwGammaCorrection, fsaa, fsaaHint);
Class for loading & managing textures.
ushort mPreferredFloatBitDepth
size_t mDefaultNumMipmaps
ushort mPreferredIntegerBitDepth
TexturePtr createManual(const String &name, const String &group, TextureType texType, uint width, uint height, int num_mips, PixelFormat format, int usage=TU_DEFAULT, ManualResourceLoader *loader=0, bool hwGammaCorrection=false, uint fsaa=0, const String &fsaaHint=StringUtil::BLANK)
Create a manual texture with a depth of 1 (not loaded from a file).
Specialisation of SharedPtr to allow SharedPtr to be assigned to TexturePtr.
virtual size_t getDefaultNumMipmaps()
Gets the default number of mipmaps to be used for loaded textures.