MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / loadTexture

Method loadTexture

source/rendering/StarAssetTextureGroup.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16TexturePtr AssetTextureGroup::loadTexture(AssetPath const& imagePath) {
17 return loadTexture(imagePath, false);
18}
19
20TexturePtr AssetTextureGroup::tryTexture(AssetPath const& imagePath) {
21 return loadTexture(imagePath, true);

Callers 9

textureSizeMethod · 0.80
drawQuadMethod · 0.80
drawDrawableMethod · 0.80
renderDebrisFieldsMethod · 0.80
renderPlanetHorizonMethod · 0.80
renderParallaxLayersMethod · 0.80
drawOrbiterMethod · 0.80
setupStarsMethod · 0.80
drawDrawableMethod · 0.80

Calls 8

singletonClass · 0.85
assetsMethod · 0.80
tryImageMethod · 0.80
ptrMethod · 0.45
imageMethod · 0.45
valueMethod · 0.45
addMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected