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

Function NewTexture

engine/graphics/src/graphics.cpp:2329–2332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2327 return g_functions.m_IsTextureFormatSupported(context, format);
2328 }
2329 HTexture NewTexture(HContext context, const TextureCreationParams& params)
2330 {
2331 return g_functions.m_NewTexture(context, params);
2332 }
2333 void DeleteTexture(HContext context, HTexture t)
2334 {
2335 g_functions.m_DeleteTexture(context, t);

Callers 15

MakeDummyTextureFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
RecreateTextureFunction · 0.85
CompGuiNewWorldFunction · 0.85
CompModelNewWorldFunction · 0.85
CreateMorphTargetTextureFunction · 0.85
AcquireResourcesFunction · 0.85
CreateTextureAsyncFunction · 0.85
InitializeFrameBuffersFunction · 0.85
DX12NewRenderTargetFunction · 0.85
NullNewRenderTargetFunction · 0.85

Calls

no outgoing calls

Tested by 6

MakeDummyTextureFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
NewTextureMethod · 0.68
CreateTexturesMethod · 0.68