MCPcopy Create free account
hub / github.com/axmolengine/axmol / initWithImage

Method initWithImage

core/renderer/Texture2D.cpp:451–454  ·  view source on GitHub ↗

implementation Texture2D (Image)

Source from the content-addressed store, hash-verified

449
450// implementation Texture2D (Image)
451bool Texture2D::initWithImage(Image* image)
452{
453 return initWithImage(image, g_defaultAlphaPixelFormat);
454}
455
456bool Texture2D::initWithImage(Image* image, backend::PixelFormat format)
457{

Callers 15

addImageAsyncCallBackMethod · 0.80
addImageMethod · 0.80
reloadTextureMethod · 0.80
renameTextureWithKeyMethod · 0.80
reloadAllTexturesMethod · 0.80
setLightMapMethod · 0.80
TerrainMethod · 0.80
setDetailMapMethod · 0.80
initTexturesMethod · 0.80
createSpriteFromBase64Function · 0.80
onEnterMethod · 0.80
onEnterMethod · 0.80

Calls

no outgoing calls

Tested by 2

onEnterMethod · 0.64
onEnterMethod · 0.64