Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BabylonJS/BabylonNative
/ GetTextureUnit
Function
GetTextureUnit
Dependencies/xr/Source/ARCore/XR.cpp:166–169 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
164
}
165
166
constexpr GLint GetTextureUnit(GLenum texture)
167
{
168
return texture - GL_TEXTURE0;
169
}
170
171
namespace GLTransactions
172
{
Callers
1
DrawFrame
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected