Files
XCSDD/docs/api/rhi/opengl/texture/bind-image.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00

397 B

OpenGLTexture::BindImage

void BindImage(int slot, bool read, bool write) const

将纹理绑定到图像单元,用于着色器图像访问。

参数:

  • slot - 图像单元槽位
  • read - 是否可读
  • write - 是否可写

示例:

texture.BindImage(0, true, false);  // 只读访问

相关文档