MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ApplyIndividualUniforms

Method ApplyIndividualUniforms

Source/Graphics/drawbatch.cpp:466–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466void DrawBatch::ApplyIndividualUniforms() const {
467 for (const auto &uniform : uniforms) {
468 if (uniform.individual) {
469 uniform.Apply();
470 }
471 }
472}
473
474void DrawBatch::SetUniformVec3(std::string _name, const vec3 &_data) {
475 for (auto &uniform : uniforms) {

Callers

nothing calls this directly

Calls 1

ApplyMethod · 0.45

Tested by

no test coverage detected