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

Method loadBillboardTexture

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

Source from the content-addressed store, hash-verified

29}
30
31void BillboardShader::loadBillboardTexture(){
32 loadSampler2D(boardTextureLocation, 0);
33 glActiveTexture(GL_TEXTURE0);
34 glBindTexture(GL_TEXTURE_2D, textureID);
35}
36
37void BillboardShader::loadLight(Light board_light) {
38 loadVec4(lightColourLocation, board_light.colour);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected