Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ GetStructSize
Function
GetStructSize
engine/dlib/src/dlib/buffer.cpp:128–135 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
126
127
128
uint32_t GetStructSize(HBuffer hbuffer)
129
{
130
Buffer* buffer = g_BufferContext->Get(hbuffer);
131
if (!buffer) {
132
return 0;
133
}
134
return buffer->m_Stride;
135
}
136
137
uint32_t GetSizeForValueType(ValueType value_type)
138
{
Callers
5
TEST_P
Function · 0.85
BuildBuffer
Function · 0.85
BuildVertexDeclaration
Function · 0.85
CreateBuffer
Function · 0.85
SetBuffer
Function · 0.85
Calls
1
Get
Method · 0.45
Tested by
1
TEST_P
Function · 0.68