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

Method initWithWidthAndHeight

core/2d/RenderTexture.cpp:150–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150bool RenderTexture::initWithWidthAndHeight(int w, int h, backend::PixelFormat eFormat, bool sharedRenderTarget)
151{
152 return initWithWidthAndHeight(w, h, eFormat, PixelFormat::NONE, sharedRenderTarget);
153}
154
155bool RenderTexture::initWithWidthAndHeight(int w,
156 int h,

Callers 1

createMethod · 0.80

Calls 15

getInstanceFunction · 0.85
nextPOTFunction · 0.85
supportsNPOTMethod · 0.80
getRendererMethod · 0.80
newRenderTargetMethod · 0.80
getBackendTextureMethod · 0.80
hasPremultipliedAlphaMethod · 0.80
RectClass · 0.70
Vec2Class · 0.70
retainMethod · 0.45

Tested by

no test coverage detected