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

Method assign

core/renderer/backend/ProgramState.cpp:96–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void TextureInfo::assign(const TextureInfo& other)
97{
98 if (this != &other)
99 {
100 releaseTextures();
101
102 indexs = other.indexs;
103 slots = other.slots;
104 textures = other.textures;
105 retainTextures();
106
107#if AX_ENABLE_CACHE_TEXTURE_DATA
108 location = other.location;
109#endif
110 }
111}
112
113void TextureInfo::assign(TextureInfo&& other)
114{

Callers 3

TextureInfoMethod · 0.95
ProgramState.cppFile · 0.45
setTextureMethod · 0.45

Calls 2

sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected