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

Method render

src/Scene/Sound.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void Sound::render() {
56 if (enabled){
57 glBindVertexArray(VertexArrayID);
58 glDrawArrays(GL_TRIANGLES, 0, (GLsizei) m_vertices.size());
59 glBindVertexArray(0);
60 }
61}
62
63bool Sound::genBuffers() {
64 glGenVertexArrays(1, &VertexArrayID);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected