What's the correct format for texture load.These code doesn't work for me.
and how about the Texture.SaveToFile() 's AQuality ?
Texture.SaveToFile(' ', ??, 0, ZeroIntRect);
Code:
Texture := TextureInit(FDevice, 'c:/MyPic.bmp', TPixelFormat.RGBA8); Texture := TextureInit(FDevice, ExtractFilePath(ParamStr(0)) + 'MyPic.bmp', TPixelFormat.RGBA8);
Texture.SaveToFile(' ', ??, 0, ZeroIntRect);
Comment