MCPcopy Create free account
hub / github.com/beefytech/Beef / Gfx_CreateDynTexture

Function Gfx_CreateDynTexture

BeefySysLib/BeefySysLib.cpp:457–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457BF_EXPORT TextureSegment* BF_CALLTYPE Gfx_CreateDynTexture(int width, int height)
458{
459 Texture* texture = gBFApp->mRenderDevice->CreateDynTexture(width, height);
460
461 TextureSegment* aTextureSegment = new TextureSegment();
462 aTextureSegment->InitFromTexture(texture);
463 return aTextureSegment;
464}
465
466BF_EXPORT TextureSegment* BF_CALLTYPE Gfx_LoadTexture(const char* fileName, int flags)
467{

Callers

nothing calls this directly

Calls 2

InitFromTextureMethod · 0.80
CreateDynTextureMethod · 0.45

Tested by

no test coverage detected