TexFormat.dpr 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. {: Showcases some of the standard texture formats & compression.
  2. TextureFormat and Compression are directly controled by the similarly named
  3. properties of a TGLTexture. You can also control this globally though
  4. the "default" values.
  5. For texture compression to work... it must be supported by your 3D card,
  6. so older boards may not see any change when applying texture compression
  7. (the setting is ignored by GLScene if unsupported).
  8. Alternatively, some OpenGL ICD will use only one or two compression formats,
  9. and you may not see any difference between the standard/fastest/nicest
  10. compression modes.
  11. Texture compression is fast, saves memory and helps maintaining a good
  12. fillrate (by reduceing texture trashing and required bandwidth), so,
  13. as long as the compression artifacts do not show up too much on your
  14. textures, use it!
  15. }
  16. program TexFormat;
  17. uses
  18. Forms,
  19. fTexFormat in 'fTexFormat.pas' {FormTexFormat};
  20. {$R *.RES}
  21. begin
  22. Application.Initialize;
  23. Application.CreateForm(TFormTexFormat, FormTexFormat);
  24. Application.Run;
  25. end.