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

Method add

src/device/graph.cpp:236–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 }
235
236 void add(StringId32 field)
237 {
238 ChannelData cd;
239 cd.field = field;
240 cd.size = 0;
241 cd.head = 0;
242 cd.samples = (Vector3 *)_allocator->allocate(sizeof(Vector3) * ChannelData::MAX_SAMPLES);
243 cd.color = COLOR4_YELLOW;
244
245 array::push_back(_channels, cd);
246 }
247
248 void add(const char *field)
249 {

Callers 4

vertex_layoutFunction · 0.45
initMethod · 0.45
initMethod · 0.45
handle_commandFunction · 0.45

Calls 3

addFunction · 0.50
StringId32Class · 0.50
allocateMethod · 0.45

Tested by

no test coverage detected