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

Method bindAttributes

src/Shaders/CarShader.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void CarShader::bindAttributes() {
36 bindAttribute(0 ,"vertexPosition_modelspace");
37 bindAttribute(1 ,"vertexUV");
38 bindAttribute(2 ,"normal");
39 bindAttribute(3 ,"textureIndex");
40 bindAttribute(4 ,"polygonFlag");
41}
42
43void CarShader::getAllUniformLocations() {
44 // Get handles for uniforms

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected