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

Method init

core/2d/DrawNode.cpp:122–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122bool DrawNode::init()
123{
124 _blendFunc = BlendFunc::ALPHA_PREMULTIPLIED;
125 updateShader();
126
127 _trianglesDirty = true;
128 _pointsDirty = true;
129 _linesDirty = true;
130
131 return true;
132}
133
134void DrawNode::updateShader()
135{

Callers 2

createMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected