MCPcopy Create free account
hub / github.com/comaps/comaps / glTarget

Function glTarget

libs/drape/gpu_buffer.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26glConst glTarget(GPUBuffer::Target t)
27{
28 if (t == GPUBuffer::ElementBuffer)
29 return gl_const::GLArrayBuffer;
30
31 return gl_const::GLElementArrayBuffer;
32}
33} // namespace
34
35GPUBuffer::GPUBuffer(Target t, void const * data, uint8_t elementSize, uint32_t capacity, uint64_t batcherHash)

Callers 7

~GPUBufferMethod · 0.85
UploadDataMethod · 0.85
BindMethod · 0.85
MapMethod · 0.85
UpdateDataMethod · 0.85
UnmapMethod · 0.85
ResizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected