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

Method bindTextureArray

src/Shaders/DepthShader.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void DepthShader::bindTextureArray(GLuint textureArrayID) {
32 glActiveTexture(GL_TEXTURE0);
33 glBindTexture(GL_TEXTURE_2D_ARRAY, textureArrayID);
34 glUniform1i(textureArrayLocation, 0);
35}
36
37void DepthShader::loadLightSpaceMatrix(const glm::mat4 &lightSpaceMatrix) {
38 loadMat4(lightSpaceMatrixLocation, &lightSpaceMatrix[0][0]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected