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

Method SetUniformMat4Array

Source/Graphics/shaders.cpp:1173–1176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1171}
1172
1173void Shaders::SetUniformMat4Array(const std::string &var_name, const std::vector<mat4> &transforms) {
1174 GLint var_id = returnShaderVariable(var_name, bound_program);
1175 SetUniformMat4Array(var_id, transforms);
1176}
1177
1178void Shaders::SetUniformMat4Array(GLint var_id, const std::vector<mat4> &transforms) {
1179 if (var_id == -1) {

Callers 10

DrawMethod · 0.80
DrawMethod · 0.80
DrawGPUParticleFieldFunction · 0.80
DrawMethod · 0.80
DrawItemMethod · 0.80
DrawRiggedObjectMethod · 0.80
AddWaterCubeMethod · 0.80
DrawTerrainMethod · 0.80
DrawInstancesMethod · 0.80
DrawMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected