Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/android/ndk-samples
/ DisablePointLight
Method
DisablePointLight
endless-tunnel/app/src/main/cpp/our_shader.cpp:91–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
void OurShader::DisablePointLight() {
92
MY_ASSERT(mPreparedVertexBuf != NULL);
93
glUniform4f(mPointLightColorLoc, 0.0f, 0.0f, 0.0f, 0.0f);
94
}
95
96
void OurShader::BeginRender(VertexBuf* geom) {
97
// let superclass begin the render
Callers
1
RenderTunnel
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected