irc.libera.chat
6697
#kohi

Bind(Texture0);
Draw();
Bind(Texture1);
Draw();
material.textureIndex = 42;
DrawIndirect();
Texture2D textures[]; // large descriptor array
color = textures[material.textureIndex].Sample(...);
struct Material
{
uint albedoIndex;
uint normalIndex;
uint metallicRoughnessIndex;
};
Material m = Materials[materialIndex];
Texture2D albedo = Textures[m.albedoIndex];