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

Function DynamicSetTextureData

engine/gui/src/test/test_gui.cpp:223–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223static void DynamicSetTextureData(dmGui::HScene scene, dmhash_t path_hash, uint32_t width, uint32_t height, dmImage::Type type, dmImage::CompressionType compression_type, const void* buffer, uint32_t buffer_size)
224{
225 dmGuiTest* self = (dmGuiTest*) scene->m_UserData;
226 self->m_DynamicTextures.Set(path_hash, width, height, type, buffer);
227}
228
229void GetURLCallback(dmGui::HScene scene, dmMessage::URL* url)
230{

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected