MCPcopy Create free account
hub / github.com/defold/defold / IsBufferValid

Function IsBufferValid

engine/dlib/src/dlib/buffer.cpp:289–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 }
288
289 bool IsBufferValid(HBuffer hbuffer)
290 {
291 Buffer* buffer = g_BufferContext->Get(hbuffer);
292 return buffer != 0 && ValidateBuffer(buffer) == RESULT_OK;
293 }
294
295 Result Create(uint32_t count, const StreamDeclaration* streams_decl, uint8_t streams_decl_count, HBuffer* out_buffer)
296 {

Callers 6

FreeBufferFunction · 0.85
CheckStreamNoErrorFunction · 0.85
CheckStreamFunction · 0.85
GetBufferFunction · 0.85
ScriptSysGameSysFinalizeFunction · 0.85

Calls 2

ValidateBufferFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected