public override bool Write(GH_IWriter writer) { bool rc = base.Write(writer); if (rc) { writer.SetVersion("GLShader", 0, 1, 0); rc = _model.Write(writer); } return(rc); }
public override bool Write(GH_IWriter writer) { bool rc = base.Write(writer); if (rc) { writer.SetVersion("GLShader", _majorVersion, _minorVersion, 0); rc = _model.Write(writer); writer.SetInt32("PreviewSortOrder", PreviewSortOrder); } return(rc); }
public override bool Write(GH_IWriter writer) { bool rc = base.Write(writer); if (rc) { writer.SetVersion(TagVersion, _majorVersion, _minorVersion, 0); writer.SetString(TagPath, RemoteDefinitionLocation); writer.SetBoolean(TagCacheResults, _cacheSolveResults); } return(rc); }
public override bool Write(GH_IWriter writer) { bool rc = base.Write(writer); if (rc) { writer.SetVersion(TagVersion, _version.major, _version.minor, _version.revision); writer.SetString(TagPath, RemoteDefinitionLocation); writer.SetBoolean(TagCacheResultsOnServer, _cacheResultsOnServer); writer.SetBoolean(TagCacheResultsInMemory, _cacheResultsInMemory); } return(rc); }
public override bool Write(GH_IWriter writer) { bool rc = base.Write(writer); if (rc) { writer.SetVersion("GLShader", 0, 1, 0); rc = _model.Write(writer); writer.SetString("ResourceName", _resourceName); writer.SetString("Defines", _defines); } return(rc); }
public override bool Write(GH_IWriter writer) { bool rc = base.Write(writer); if (rc) { writer.SetVersion(TagVersion, _majorVersion, _minorVersion, 0); writer.SetString(TagPath, RemoteDefinitionLocation); writer.SetBoolean(TagCacheResultsOnServer, _cacheResultsOnServer); writer.SetBoolean(TagCacheResultsInMemory, _cacheResultsInMemory); writer.SetBoolean(TagSynchronousSolve, _synchronous); writer.SetBoolean(TagShowEnabled, _showEnabledInput); writer.SetBoolean(TagShowPath, _showPathInput); } return(rc); }