MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / open

Method open

COLLADAStreamWriter/src/COLLADASWInstanceEffect.cpp:46–57  ·  view source on GitHub ↗

-----------------------------------

Source from the content-addressed store, hash-verified

44
45 // -----------------------------------
46 void InstanceEffect::open ( )
47 {
48 mTagCloser = mSW->openElement ( CSWC::CSW_ELEMENT_INSTANCE_EFFECT );
49
50 if ( !mSid.empty() )
51 mSW->appendAttribute ( CSWC::CSW_ATTRIBUTE_SID, mSid );
52
53 if ( !mName.empty() )
54 mSW->appendAttribute ( CSWC::CSW_ATTRIBUTE_NAME, mName );
55
56 mSW->appendURIAttribute ( CSWC::CSW_ATTRIBUTE_URL, mTargetURI );
57 }
58
59 // -----------------------------------
60 void InstanceEffect::addTechniqueHint( const String &refe, const String &platform /*= "" */ )

Callers

nothing calls this directly

Calls 4

openElementMethod · 0.80
appendURIAttributeMethod · 0.80
emptyMethod · 0.45
appendAttributeMethod · 0.45

Tested by

no test coverage detected