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

Method bindAttributes

src/Shaders/TrackShader.cpp:15–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void TrackShader::bindAttributes() {
16 bindAttribute(0 ,"vertexPosition_modelspace");
17 bindAttribute(1 ,"vertexUV");
18 bindAttribute(2 ,"textureIndex");
19 bindAttribute(3 ,"nfsData");
20 bindAttribute(4 ,"normal");
21 bindAttribute(5 ,"debugData");
22}
23
24void TrackShader::getAllUniformLocations() {
25 // Get handles for uniforms

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected