MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / ~GLSLProgram

Method ~GLSLProgram

cpp/5_Domain_Specific/smokeParticles/GLSLProgram.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41GLSLProgram::~GLSLProgram()
42{
43 if (mProg) {
44 glDeleteProgram(mProg);
45 }
46}
47
48void GLSLProgram::enable() { glUseProgram(mProg); }
49

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected