feat: implement multi-layer texture binding

This commit is contained in:
daoge_cmd
2026-03-03 21:20:10 +08:00
parent 5422191ed4
commit d2bc3342dc
12 changed files with 38 additions and 12 deletions

View File

@@ -145,6 +145,7 @@ public:
int TextureCreate();
void TextureFree(int idx);
void TextureBind(int idx);
void TextureBind(int layer, int idx);
void TextureBindVertex(int idx);
void TextureSetTextureLevels(int levels);
int TextureGetTextureLevels();
@@ -300,3 +301,4 @@ const int GL_TRIANGLE_STRIP = C4JRender::PRIMITIVE_TYPE_TRIANGLE_STRIP;
extern C4JRender RenderManager;