MCPcopy Create free account
hub / github.com/MyGUI/mygui / createTexture

Method createTexture

MyGUIEngine/src/MyGUI_Canvas.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 }
21
22 void Canvas::createTexture(TextureResizeMode _resizeMode, TextureUsage _usage, PixelFormat _format)
23 {
24 int width = std::max(1, getWidth());
25 int height = std::max(1, getHeight());
26
27 createTexture(width, height, _resizeMode, _usage, _format);
28 }
29
30 void Canvas::createTexture(
31 const IntSize& _size,

Callers 9

setCanvasMethod · 0.45
setTextureSizeMethod · 0.45
setTextureSizeMethod · 0.45
checkTextureMethod · 0.45
initialiseFreeTypeMethod · 0.45
createExactTextureMethod · 0.45
loadMethod · 0.45
loadTextureMethod · 0.45

Calls 5

maxFunction · 0.85
getWidthFunction · 0.85
getHeightFunction · 0.85
firstPO2FromFunction · 0.85
IntSizeFunction · 0.50

Tested by

no test coverage detected