I am launching my first game engine: D. Now I am working on a texture resource manager and I want to do it right.
Is it really bad to just populate all the ActiveTexture blocks that the driver supports? An alternative would be to save these slots and only set the textures when they are really needed, due to more calls to glBindTexture.
As you asked your question, I think that you are suffering from a misunderstanding between texture objects , that is, a texture repository, and texture units , that is, a multitexturing machine.
OpenGL . , , .
, . , , .
, , , GPU VRAM. , , , , - stb_dxt, DXT1/DXT5, ansi C. CompressedTexture2D, , , GPU, 1/8- .
- , DDS, nvidia-texture / .
Source: https://habr.com/ru/post/1796172/More articles:how to simulate a partial view in asp.net? - asp.netPHP Youtube Data Api loading from another domain - phpGood java tokenizers? - javaconfused about self.instance in save () of a child of ModelForm () - djangoSybase stored procedure - how do I create an index on #table? - sqlЗахват SQL-инъекций в классической форме asp-reposting ставит множество тиков - asp-classichttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1796174/how-do-i-clone-a-github-repository-and-auto-overwrite-existing-contents&usg=ALkJrhjb9gMUM_eR3vmUIqYf8Cl0pBTJawWhy does RTTI optimization slow down? - optimizationVisualForce, Apex: repeat, for Javascript Update array - javascriptВыход из полноэкранного режима фильма приводит к тому, что navigationController navigationBar перемещается за панель состояния - iphoneAll Articles