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

Method add

COLLADAStreamWriter/src/COLLADASWInstanceEffect.cpp:18–31  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

16
17 // -----------------------------------
18 void TechniqueHint::add( StreamWriter* sw )
19 {
20 sw->openElement( CSWC::CSW_ELEMENT_TECHNIQUE_HINT );
21
22 if ( !mPlatform.empty() )
23 sw->appendAttribute ( CSWC::CSW_ATTRIBUTE_PLATFORM, mPlatform );
24
25 sw->appendAttribute ( CSWC::CSW_ATTRIBUTE_REF, mRefNC );
26
27 if ( !mProfileNC.empty() )
28 sw->appendAttribute ( CSWC::CSW_ATTRIBUTE_PROFILE, mProfileNC );
29
30 sw->closeElement ();
31 }
32
33 // -----------------------------------
34 InstanceEffect::InstanceEffect(

Callers 1

addTechniqueHintMethod · 0.45

Calls 4

openElementMethod · 0.80
emptyMethod · 0.45
appendAttributeMethod · 0.45
closeElementMethod · 0.45

Tested by

no test coverage detected