MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / bindTextureArray

Method bindTextureArray

src/Shaders/TrackShader.cpp:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void TrackShader::bindTextureArray(GLuint textureArrayID) {
49 glActiveTexture(GL_TEXTURE0);
50 glBindTexture(GL_TEXTURE_2D_ARRAY, textureArrayID);
51 glUniform1i(trackTextureArrayLocation, 0);
52}
53
54void TrackShader::loadLights(std::vector<Light> lights) {
55 for(int i = 0; i < MAX_LIGHTS; ++i){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected