I am new to Open GL.
Is there a need for texture compression at runtime?
Sure, the way it works is a large texture file, compressed at build time. At run time, you expand parts of the compressed texture file, if necessary, to apply to the surface.
Are there any (trustworthy) circumstances when you expanded the texture data and you need to compress it at runtime?
Thank!
(, JPEG zip , ) (, DXT1 ..)? (, DXT), , " ", .
, , - DXT (), ( , ..) . , , , , (, - ) , .
EDIT:
, DXT , glTexImage2D, (GL_RGBA ..) "format" " ", GL_COMPRESSED_RGBA_S3TC_DXT1_EXT DXT1, gl_ext_texture_compression_s3tc.
, glCompressedTexImage2D.
Source: https://habr.com/ru/post/1783309/More articles:templates, typename, lambda - → dependent names are independent? - c ++Creating a bookmark browser from an application - androidHow can I get / bookmark each account on Android - androidWhere to find problems with homework in Android - androidEntangled text fields - windowsDownloading files from http server in python - pythonHow to create a web bookmark with thumbnails of Android widgets? - androidheroku db: push error uninitialized constant Continued :: Postgres :: PGError - ruby | fooobar.comMicrosoft Access UPDATE Team Using C # OleDbConnection and Command NOT working - ms-accessInability to count C # parameters when trying to add AsyncCallback to BeginInvoke () - multithreadingAll Articles