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

Function createVertexBuffer

3rdparty/bgfx/src/bgfx.cpp:4284–4289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4282 }
4283
4284 VertexBufferHandle createVertexBuffer(const Memory* _mem, const VertexLayout& _layout, uint16_t _flags)
4285 {
4286 BX_ASSERT(NULL != _mem, "_mem can't be NULL");
4287 BX_ASSERT(isValid(_layout), "Invalid VertexLayout.");
4288 return s_ctx->createVertexBuffer(_mem, _layout, _flags);
4289 }
4290
4291 void setName(VertexBufferHandle _handle, const char* _name, int32_t _len)
4292 {

Callers 1

onlineFunction · 0.85

Calls 2

isValidFunction · 0.70
createVertexBufferMethod · 0.45

Tested by

no test coverage detected