MCPcopy Create free account
hub / github.com/carbonengine/trinity / Save

Method Save

shadercompiler/EffectData.h:575–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573{
574 template <typename T>
575 void Save( T& stream )
576 {
577 stream.Save( type );
578 if( type == ANNOTATION_TYPE_STRING )
579 {
580 stream.Save( stringValue );
581 }
582 else
583 {
584 stream.Save( floatValue );
585 }
586 }
587
588 PackAs<AnnotationType, uint8_t> type;
589 union

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.45

Tested by

no test coverage detected