This website requires JavaScript.
Explore
Help
Register
Sign In
xuanchi
/
XCEngine
Watch
1
Star
1
Fork
0
You've already forked XCEngine
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
bb0f4afe7d856cae6e4c91f72257b43bc89a924e
XCEngine
/
docs
/
api
/
XCEngine
/
RHI
/
OpenGL
/
OpenGLTextureUnitAllocator
/
IsAllocated.md
ssdfasd
6d0a61e70d
docs(api): deepen OpenGL helper backend docs
2026-03-27 23:44:21 +08:00
322 B
Raw
Blame
History
OpenGLTextureUnitAllocator::IsAllocated
bool
IsAllocated
(
int32_t
unit
)
const
;
作用
检查指定纹理单元是否已被分配。
当前实现行为
非法
unit
返回
false
。
合法
unit
直接返回
m_allocated[unit]
。
相关文档
Allocate
Free
Reference in New Issue
View Git Blame
Copy Permalink