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

Method bindTextureArray

src/Shaders/CarShader.cpp:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void CarShader::bindTextureArray(GLuint textureArrayID) {
79 loadSampler2D(carTextureArrayLocation, 0);
80 loadSampler2D(carTextureLocation, 1);
81 glActiveTexture(GL_TEXTURE0);
82 glBindTexture(GL_TEXTURE_2D_ARRAY, textureArrayID);
83}
84
85void CarShader::load_tga_texture() {
86 std::stringstream car_texture_path;

Callers 3

renderTrackMethod · 0.45
renderShadowMapMethod · 0.45
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected