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

Method bindAttributes

src/Shaders/BillboardShader.cpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void BillboardShader::bindAttributes() {
17 bindAttribute(0 ,"vertexPosition_modelspace");
18 bindAttribute(1 ,"vertexUV");
19 bindAttribute(2 ,"normal");
20}
21
22void BillboardShader::getAllUniformLocations() {
23 transformationMatrixLocation = getUniformLocation("transformationMatrix");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected