MCPcopy Create free account
hub / github.com/crownengine/crown / writeUniformHandle

Method writeUniformHandle

3rdparty/bgfx/src/bgfx.cpp:1491–1496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1489 }
1490
1491 void UniformBuffer::writeUniformHandle(uint8_t _type, uint16_t _loc, UniformHandle _handle, uint16_t _num)
1492 {
1493 const uint32_t opcode = encodeOpcode(_type, _loc, _num, false);
1494 write(opcode);
1495 write(&_handle, sizeof(UniformHandle) );
1496 }
1497
1498 void UniformBuffer::writeMarker(const bx::StringView& _name)
1499 {

Callers 4

initMethod · 0.80
createMethod · 0.80
createMethod · 0.80
createMethod · 0.80

Calls 1

writeFunction · 0.70

Tested by

no test coverage detected