Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/material.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/material.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fmaterial_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fmaterial_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/color.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fmaterial_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
53  static const ::google::protobuf::internal::ParseTableField entries[];
54  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55  static const ::google::protobuf::internal::ParseTable schema[3];
56  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57  static const ::google::protobuf::internal::SerializationTable serialization_table[];
58  static const ::google::protobuf::uint32 offsets[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2fmaterial_2eproto
62 namespace ignition {
63 namespace msgs {
64 class Material;
65 class MaterialDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern MaterialDefaultTypeInternal _Material_default_instance_;
67 class Material_PBR;
68 class Material_PBRDefaultTypeInternal;
69 IGNITION_MSGS_VISIBLE extern Material_PBRDefaultTypeInternal _Material_PBR_default_instance_;
70 class Material_Script;
71 class Material_ScriptDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern Material_ScriptDefaultTypeInternal _Material_Script_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 namespace google {
76 namespace protobuf {
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Material* Arena::CreateMaybeMessage<::ignition::msgs::Material>(Arena*);
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Material_PBR* Arena::CreateMaybeMessage<::ignition::msgs::Material_PBR>(Arena*);
79 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Material_Script* Arena::CreateMaybeMessage<::ignition::msgs::Material_Script>(Arena*);
80 } // namespace protobuf
81 } // namespace google
82 namespace ignition {
83 namespace msgs {
84 
91 };
92 IGNITION_MSGS_VISIBLE bool Material_PBR_WorkflowType_IsValid(int value);
96 
97 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Material_PBR_WorkflowType_descriptor();
98 inline const ::std::string& Material_PBR_WorkflowType_Name(Material_PBR_WorkflowType value) {
99  return ::google::protobuf::internal::NameOfEnum(
101 }
103  const ::std::string& name, Material_PBR_WorkflowType* value) {
104  return ::google::protobuf::internal::ParseNamedEnum<Material_PBR_WorkflowType>(
105  Material_PBR_WorkflowType_descriptor(), name, value);
106 }
114 };
115 IGNITION_MSGS_VISIBLE bool Material_ShaderType_IsValid(int value);
119 
120 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Material_ShaderType_descriptor();
121 inline const ::std::string& Material_ShaderType_Name(Material_ShaderType value) {
122  return ::google::protobuf::internal::NameOfEnum(
124 }
126  const ::std::string& name, Material_ShaderType* value) {
127  return ::google::protobuf::internal::ParseNamedEnum<Material_ShaderType>(
128  Material_ShaderType_descriptor(), name, value);
129 }
130 // ===================================================================
131 
132 class IGNITION_MSGS_VISIBLE Material_Script : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Material.Script) */ {
133  public:
134  Material_Script();
135  virtual ~Material_Script();
136 
137  Material_Script(const Material_Script& from);
138 
140  CopyFrom(from);
141  return *this;
142  }
143  #if LANG_CXX11
144  Material_Script(Material_Script&& from) noexcept
145  : Material_Script() {
146  *this = ::std::move(from);
147  }
148 
149  inline Material_Script& operator=(Material_Script&& from) noexcept {
150  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
151  if (this != &from) InternalSwap(&from);
152  } else {
153  CopyFrom(from);
154  }
155  return *this;
156  }
157  #endif
158  static const ::google::protobuf::Descriptor* descriptor();
159  static const Material_Script& default_instance();
160 
161  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
163  return reinterpret_cast<const Material_Script*>(
165  }
166  static constexpr int kIndexInFileMessages =
167  0;
168 
169  void Swap(Material_Script* other);
170  friend void swap(Material_Script& a, Material_Script& b) {
171  a.Swap(&b);
172  }
173 
174  // implements Message ----------------------------------------------
175 
176  inline Material_Script* New() const final {
177  return CreateMaybeMessage<Material_Script>(NULL);
178  }
179 
180  Material_Script* New(::google::protobuf::Arena* arena) const final {
181  return CreateMaybeMessage<Material_Script>(arena);
182  }
183  void CopyFrom(const ::google::protobuf::Message& from) final;
184  void MergeFrom(const ::google::protobuf::Message& from) final;
185  void CopyFrom(const Material_Script& from);
186  void MergeFrom(const Material_Script& from);
187  void Clear() final;
188  bool IsInitialized() const final;
189 
190  size_t ByteSizeLong() const final;
191  bool MergePartialFromCodedStream(
192  ::google::protobuf::io::CodedInputStream* input) final;
193  void SerializeWithCachedSizes(
194  ::google::protobuf::io::CodedOutputStream* output) const final;
195  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
196  bool deterministic, ::google::protobuf::uint8* target) const final;
197  int GetCachedSize() const final { return _cached_size_.Get(); }
198 
199  private:
200  void SharedCtor();
201  void SharedDtor();
202  void SetCachedSize(int size) const final;
203  void InternalSwap(Material_Script* other);
204  private:
205  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
206  return NULL;
207  }
208  inline void* MaybeArenaPtr() const {
209  return NULL;
210  }
211  public:
212 
213  ::google::protobuf::Metadata GetMetadata() const final;
214 
215  // nested types ----------------------------------------------------
216 
217  // accessors -------------------------------------------------------
218 
219  // repeated string uri = 1;
220  int uri_size() const;
221  void clear_uri();
222  static const int kUriFieldNumber = 1;
223  const ::std::string& uri(int index) const;
224  ::std::string* mutable_uri(int index);
225  void set_uri(int index, const ::std::string& value);
226  #if LANG_CXX11
227  void set_uri(int index, ::std::string&& value);
228  #endif
229  void set_uri(int index, const char* value);
230  void set_uri(int index, const char* value, size_t size);
231  ::std::string* add_uri();
232  void add_uri(const ::std::string& value);
233  #if LANG_CXX11
234  void add_uri(::std::string&& value);
235  #endif
236  void add_uri(const char* value);
237  void add_uri(const char* value, size_t size);
238  const ::google::protobuf::RepeatedPtrField< ::std::string>& uri() const;
239  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_uri();
240 
241  // string name = 2;
242  void clear_name();
243  static const int kNameFieldNumber = 2;
244  const ::std::string& name() const;
245  void set_name(const ::std::string& value);
246  #if LANG_CXX11
247  void set_name(::std::string&& value);
248  #endif
249  void set_name(const char* value);
250  void set_name(const char* value, size_t size);
251  ::std::string* mutable_name();
252  ::std::string* release_name();
253  void set_allocated_name(::std::string* name);
254 
255  // @@protoc_insertion_point(class_scope:ignition.msgs.Material.Script)
256  private:
257 
258  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
259  ::google::protobuf::RepeatedPtrField< ::std::string> uri_;
260  ::google::protobuf::internal::ArenaStringPtr name_;
261  mutable ::google::protobuf::internal::CachedSize _cached_size_;
262  friend struct ::protobuf_ignition_2fmsgs_2fmaterial_2eproto::TableStruct;
263 };
264 // -------------------------------------------------------------------
265 
266 class IGNITION_MSGS_VISIBLE Material_PBR : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Material.PBR) */ {
267  public:
268  Material_PBR();
269  virtual ~Material_PBR();
270 
271  Material_PBR(const Material_PBR& from);
272 
273  inline Material_PBR& operator=(const Material_PBR& from) {
274  CopyFrom(from);
275  return *this;
276  }
277  #if LANG_CXX11
278  Material_PBR(Material_PBR&& from) noexcept
279  : Material_PBR() {
280  *this = ::std::move(from);
281  }
282 
283  inline Material_PBR& operator=(Material_PBR&& from) noexcept {
284  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
285  if (this != &from) InternalSwap(&from);
286  } else {
287  CopyFrom(from);
288  }
289  return *this;
290  }
291  #endif
292  static const ::google::protobuf::Descriptor* descriptor();
293  static const Material_PBR& default_instance();
294 
295  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
296  static inline const Material_PBR* internal_default_instance() {
297  return reinterpret_cast<const Material_PBR*>(
299  }
300  static constexpr int kIndexInFileMessages =
301  1;
302 
303  void Swap(Material_PBR* other);
304  friend void swap(Material_PBR& a, Material_PBR& b) {
305  a.Swap(&b);
306  }
307 
308  // implements Message ----------------------------------------------
309 
310  inline Material_PBR* New() const final {
311  return CreateMaybeMessage<Material_PBR>(NULL);
312  }
313 
314  Material_PBR* New(::google::protobuf::Arena* arena) const final {
315  return CreateMaybeMessage<Material_PBR>(arena);
316  }
317  void CopyFrom(const ::google::protobuf::Message& from) final;
318  void MergeFrom(const ::google::protobuf::Message& from) final;
319  void CopyFrom(const Material_PBR& from);
320  void MergeFrom(const Material_PBR& from);
321  void Clear() final;
322  bool IsInitialized() const final;
323 
324  size_t ByteSizeLong() const final;
325  bool MergePartialFromCodedStream(
326  ::google::protobuf::io::CodedInputStream* input) final;
327  void SerializeWithCachedSizes(
328  ::google::protobuf::io::CodedOutputStream* output) const final;
329  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
330  bool deterministic, ::google::protobuf::uint8* target) const final;
331  int GetCachedSize() const final { return _cached_size_.Get(); }
332 
333  private:
334  void SharedCtor();
335  void SharedDtor();
336  void SetCachedSize(int size) const final;
337  void InternalSwap(Material_PBR* other);
338  private:
339  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
340  return NULL;
341  }
342  inline void* MaybeArenaPtr() const {
343  return NULL;
344  }
345  public:
346 
347  ::google::protobuf::Metadata GetMetadata() const final;
348 
349  // nested types ----------------------------------------------------
350 
352  static const WorkflowType NONE =
354  static const WorkflowType METAL =
356  static const WorkflowType SPECULAR =
358  static inline bool WorkflowType_IsValid(int value) {
359  return Material_PBR_WorkflowType_IsValid(value);
360  }
361  static const WorkflowType WorkflowType_MIN =
363  static const WorkflowType WorkflowType_MAX =
365  static const int WorkflowType_ARRAYSIZE =
367  static inline const ::google::protobuf::EnumDescriptor*
370  }
371  static inline const ::std::string& WorkflowType_Name(WorkflowType value) {
372  return Material_PBR_WorkflowType_Name(value);
373  }
374  static inline bool WorkflowType_Parse(const ::std::string& name,
375  WorkflowType* value) {
376  return Material_PBR_WorkflowType_Parse(name, value);
377  }
378 
379  // accessors -------------------------------------------------------
380 
381  // string albedo_map = 2;
382  void clear_albedo_map();
383  static const int kAlbedoMapFieldNumber = 2;
384  const ::std::string& albedo_map() const;
385  void set_albedo_map(const ::std::string& value);
386  #if LANG_CXX11
387  void set_albedo_map(::std::string&& value);
388  #endif
389  void set_albedo_map(const char* value);
390  void set_albedo_map(const char* value, size_t size);
391  ::std::string* mutable_albedo_map();
392  ::std::string* release_albedo_map();
393  void set_allocated_albedo_map(::std::string* albedo_map);
394 
395  // string normal_map = 3;
396  void clear_normal_map();
397  static const int kNormalMapFieldNumber = 3;
398  const ::std::string& normal_map() const;
399  void set_normal_map(const ::std::string& value);
400  #if LANG_CXX11
401  void set_normal_map(::std::string&& value);
402  #endif
403  void set_normal_map(const char* value);
404  void set_normal_map(const char* value, size_t size);
405  ::std::string* mutable_normal_map();
406  ::std::string* release_normal_map();
407  void set_allocated_normal_map(::std::string* normal_map);
408 
409  // string metalness_map = 5;
410  void clear_metalness_map();
411  static const int kMetalnessMapFieldNumber = 5;
412  const ::std::string& metalness_map() const;
413  void set_metalness_map(const ::std::string& value);
414  #if LANG_CXX11
415  void set_metalness_map(::std::string&& value);
416  #endif
417  void set_metalness_map(const char* value);
418  void set_metalness_map(const char* value, size_t size);
419  ::std::string* mutable_metalness_map();
420  ::std::string* release_metalness_map();
421  void set_allocated_metalness_map(::std::string* metalness_map);
422 
423  // string roughness_map = 7;
424  void clear_roughness_map();
425  static const int kRoughnessMapFieldNumber = 7;
426  const ::std::string& roughness_map() const;
427  void set_roughness_map(const ::std::string& value);
428  #if LANG_CXX11
429  void set_roughness_map(::std::string&& value);
430  #endif
431  void set_roughness_map(const char* value);
432  void set_roughness_map(const char* value, size_t size);
433  ::std::string* mutable_roughness_map();
434  ::std::string* release_roughness_map();
435  void set_allocated_roughness_map(::std::string* roughness_map);
436 
437  // string glossiness_map = 9;
438  void clear_glossiness_map();
439  static const int kGlossinessMapFieldNumber = 9;
440  const ::std::string& glossiness_map() const;
441  void set_glossiness_map(const ::std::string& value);
442  #if LANG_CXX11
443  void set_glossiness_map(::std::string&& value);
444  #endif
445  void set_glossiness_map(const char* value);
446  void set_glossiness_map(const char* value, size_t size);
447  ::std::string* mutable_glossiness_map();
448  ::std::string* release_glossiness_map();
449  void set_allocated_glossiness_map(::std::string* glossiness_map);
450 
451  // string specular_map = 10;
452  void clear_specular_map();
453  static const int kSpecularMapFieldNumber = 10;
454  const ::std::string& specular_map() const;
455  void set_specular_map(const ::std::string& value);
456  #if LANG_CXX11
457  void set_specular_map(::std::string&& value);
458  #endif
459  void set_specular_map(const char* value);
460  void set_specular_map(const char* value, size_t size);
461  ::std::string* mutable_specular_map();
462  ::std::string* release_specular_map();
463  void set_allocated_specular_map(::std::string* specular_map);
464 
465  // string environment_map = 11;
466  void clear_environment_map();
467  static const int kEnvironmentMapFieldNumber = 11;
468  const ::std::string& environment_map() const;
469  void set_environment_map(const ::std::string& value);
470  #if LANG_CXX11
471  void set_environment_map(::std::string&& value);
472  #endif
473  void set_environment_map(const char* value);
474  void set_environment_map(const char* value, size_t size);
475  ::std::string* mutable_environment_map();
476  ::std::string* release_environment_map();
477  void set_allocated_environment_map(::std::string* environment_map);
478 
479  // string ambient_occlusion_map = 12;
480  void clear_ambient_occlusion_map();
481  static const int kAmbientOcclusionMapFieldNumber = 12;
482  const ::std::string& ambient_occlusion_map() const;
483  void set_ambient_occlusion_map(const ::std::string& value);
484  #if LANG_CXX11
485  void set_ambient_occlusion_map(::std::string&& value);
486  #endif
487  void set_ambient_occlusion_map(const char* value);
488  void set_ambient_occlusion_map(const char* value, size_t size);
489  ::std::string* mutable_ambient_occlusion_map();
490  ::std::string* release_ambient_occlusion_map();
491  void set_allocated_ambient_occlusion_map(::std::string* ambient_occlusion_map);
492 
493  // string emissive_map = 13;
494  void clear_emissive_map();
495  static const int kEmissiveMapFieldNumber = 13;
496  const ::std::string& emissive_map() const;
497  void set_emissive_map(const ::std::string& value);
498  #if LANG_CXX11
499  void set_emissive_map(::std::string&& value);
500  #endif
501  void set_emissive_map(const char* value);
502  void set_emissive_map(const char* value, size_t size);
503  ::std::string* mutable_emissive_map();
504  ::std::string* release_emissive_map();
505  void set_allocated_emissive_map(::std::string* emissive_map);
506 
507  // string light_map = 14;
508  void clear_light_map();
509  static const int kLightMapFieldNumber = 14;
510  const ::std::string& light_map() const;
511  void set_light_map(const ::std::string& value);
512  #if LANG_CXX11
513  void set_light_map(::std::string&& value);
514  #endif
515  void set_light_map(const char* value);
516  void set_light_map(const char* value, size_t size);
517  ::std::string* mutable_light_map();
518  ::std::string* release_light_map();
519  void set_allocated_light_map(::std::string* light_map);
520 
521  // double metalness = 4;
522  void clear_metalness();
523  static const int kMetalnessFieldNumber = 4;
524  double metalness() const;
525  void set_metalness(double value);
526 
527  // double roughness = 6;
528  void clear_roughness();
529  static const int kRoughnessFieldNumber = 6;
530  double roughness() const;
531  void set_roughness(double value);
532 
533  // double glossiness = 8;
534  void clear_glossiness();
535  static const int kGlossinessFieldNumber = 8;
536  double glossiness() const;
537  void set_glossiness(double value);
538 
539  // .ignition.msgs.Material.PBR.WorkflowType type = 1;
540  void clear_type();
541  static const int kTypeFieldNumber = 1;
543  void set_type(::ignition::msgs::Material_PBR_WorkflowType value);
544 
545  // uint32 light_map_texcoord_set = 15;
546  void clear_light_map_texcoord_set();
547  static const int kLightMapTexcoordSetFieldNumber = 15;
548  ::google::protobuf::uint32 light_map_texcoord_set() const;
549  void set_light_map_texcoord_set(::google::protobuf::uint32 value);
550 
551  // @@protoc_insertion_point(class_scope:ignition.msgs.Material.PBR)
552  private:
553 
554  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
555  ::google::protobuf::internal::ArenaStringPtr albedo_map_;
556  ::google::protobuf::internal::ArenaStringPtr normal_map_;
557  ::google::protobuf::internal::ArenaStringPtr metalness_map_;
558  ::google::protobuf::internal::ArenaStringPtr roughness_map_;
559  ::google::protobuf::internal::ArenaStringPtr glossiness_map_;
560  ::google::protobuf::internal::ArenaStringPtr specular_map_;
561  ::google::protobuf::internal::ArenaStringPtr environment_map_;
562  ::google::protobuf::internal::ArenaStringPtr ambient_occlusion_map_;
563  ::google::protobuf::internal::ArenaStringPtr emissive_map_;
564  ::google::protobuf::internal::ArenaStringPtr light_map_;
565  double metalness_;
566  double roughness_;
567  double glossiness_;
568  int type_;
569  ::google::protobuf::uint32 light_map_texcoord_set_;
570  mutable ::google::protobuf::internal::CachedSize _cached_size_;
571  friend struct ::protobuf_ignition_2fmsgs_2fmaterial_2eproto::TableStruct;
572 };
573 // -------------------------------------------------------------------
574 
575 class IGNITION_MSGS_VISIBLE Material : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Material) */ {
576  public:
577  Material();
578  virtual ~Material();
579 
580  Material(const Material& from);
581 
582  inline Material& operator=(const Material& from) {
583  CopyFrom(from);
584  return *this;
585  }
586  #if LANG_CXX11
587  Material(Material&& from) noexcept
588  : Material() {
589  *this = ::std::move(from);
590  }
591 
592  inline Material& operator=(Material&& from) noexcept {
593  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
594  if (this != &from) InternalSwap(&from);
595  } else {
596  CopyFrom(from);
597  }
598  return *this;
599  }
600  #endif
601  static const ::google::protobuf::Descriptor* descriptor();
602  static const Material& default_instance();
603 
604  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
605  static inline const Material* internal_default_instance() {
606  return reinterpret_cast<const Material*>(
608  }
609  static constexpr int kIndexInFileMessages =
610  2;
611 
612  void Swap(Material* other);
613  friend void swap(Material& a, Material& b) {
614  a.Swap(&b);
615  }
616 
617  // implements Message ----------------------------------------------
618 
619  inline Material* New() const final {
620  return CreateMaybeMessage<Material>(NULL);
621  }
622 
623  Material* New(::google::protobuf::Arena* arena) const final {
624  return CreateMaybeMessage<Material>(arena);
625  }
626  void CopyFrom(const ::google::protobuf::Message& from) final;
627  void MergeFrom(const ::google::protobuf::Message& from) final;
628  void CopyFrom(const Material& from);
629  void MergeFrom(const Material& from);
630  void Clear() final;
631  bool IsInitialized() const final;
632 
633  size_t ByteSizeLong() const final;
634  bool MergePartialFromCodedStream(
635  ::google::protobuf::io::CodedInputStream* input) final;
636  void SerializeWithCachedSizes(
637  ::google::protobuf::io::CodedOutputStream* output) const final;
638  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
639  bool deterministic, ::google::protobuf::uint8* target) const final;
640  int GetCachedSize() const final { return _cached_size_.Get(); }
641 
642  private:
643  void SharedCtor();
644  void SharedDtor();
645  void SetCachedSize(int size) const final;
646  void InternalSwap(Material* other);
647  private:
648  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
649  return NULL;
650  }
651  inline void* MaybeArenaPtr() const {
652  return NULL;
653  }
654  public:
655 
656  ::google::protobuf::Metadata GetMetadata() const final;
657 
658  // nested types ----------------------------------------------------
659 
661  typedef Material_PBR PBR;
662 
664  static const ShaderType VERTEX =
666  static const ShaderType PIXEL =
668  static const ShaderType NORMAL_MAP_OBJECT_SPACE =
670  static const ShaderType NORMAL_MAP_TANGENT_SPACE =
672  static inline bool ShaderType_IsValid(int value) {
673  return Material_ShaderType_IsValid(value);
674  }
675  static const ShaderType ShaderType_MIN =
677  static const ShaderType ShaderType_MAX =
679  static const int ShaderType_ARRAYSIZE =
681  static inline const ::google::protobuf::EnumDescriptor*
684  }
685  static inline const ::std::string& ShaderType_Name(ShaderType value) {
686  return Material_ShaderType_Name(value);
687  }
688  static inline bool ShaderType_Parse(const ::std::string& name,
689  ShaderType* value) {
690  return Material_ShaderType_Parse(name, value);
691  }
692 
693  // accessors -------------------------------------------------------
694 
695  // string normal_map = 4;
696  void clear_normal_map();
697  static const int kNormalMapFieldNumber = 4;
698  const ::std::string& normal_map() const;
699  void set_normal_map(const ::std::string& value);
700  #if LANG_CXX11
701  void set_normal_map(::std::string&& value);
702  #endif
703  void set_normal_map(const char* value);
704  void set_normal_map(const char* value, size_t size);
705  ::std::string* mutable_normal_map();
706  ::std::string* release_normal_map();
707  void set_allocated_normal_map(::std::string* normal_map);
708 
709  // .ignition.msgs.Header header = 1;
710  bool has_header() const;
711  void clear_header();
712  static const int kHeaderFieldNumber = 1;
713  private:
714  const ::ignition::msgs::Header& _internal_header() const;
715  public:
716  const ::ignition::msgs::Header& header() const;
717  ::ignition::msgs::Header* release_header();
718  ::ignition::msgs::Header* mutable_header();
719  void set_allocated_header(::ignition::msgs::Header* header);
720 
721  // .ignition.msgs.Material.Script script = 2;
722  bool has_script() const;
723  void clear_script();
724  static const int kScriptFieldNumber = 2;
725  private:
726  const ::ignition::msgs::Material_Script& _internal_script() const;
727  public:
728  const ::ignition::msgs::Material_Script& script() const;
729  ::ignition::msgs::Material_Script* release_script();
730  ::ignition::msgs::Material_Script* mutable_script();
731  void set_allocated_script(::ignition::msgs::Material_Script* script);
732 
733  // .ignition.msgs.Color ambient = 5;
734  bool has_ambient() const;
735  void clear_ambient();
736  static const int kAmbientFieldNumber = 5;
737  private:
738  const ::ignition::msgs::Color& _internal_ambient() const;
739  public:
740  const ::ignition::msgs::Color& ambient() const;
741  ::ignition::msgs::Color* release_ambient();
742  ::ignition::msgs::Color* mutable_ambient();
743  void set_allocated_ambient(::ignition::msgs::Color* ambient);
744 
745  // .ignition.msgs.Color diffuse = 6;
746  bool has_diffuse() const;
747  void clear_diffuse();
748  static const int kDiffuseFieldNumber = 6;
749  private:
750  const ::ignition::msgs::Color& _internal_diffuse() const;
751  public:
752  const ::ignition::msgs::Color& diffuse() const;
753  ::ignition::msgs::Color* release_diffuse();
754  ::ignition::msgs::Color* mutable_diffuse();
755  void set_allocated_diffuse(::ignition::msgs::Color* diffuse);
756 
757  // .ignition.msgs.Color specular = 7;
758  bool has_specular() const;
759  void clear_specular();
760  static const int kSpecularFieldNumber = 7;
761  private:
762  const ::ignition::msgs::Color& _internal_specular() const;
763  public:
764  const ::ignition::msgs::Color& specular() const;
765  ::ignition::msgs::Color* release_specular();
766  ::ignition::msgs::Color* mutable_specular();
767  void set_allocated_specular(::ignition::msgs::Color* specular);
768 
769  // .ignition.msgs.Color emissive = 8;
770  bool has_emissive() const;
771  void clear_emissive();
772  static const int kEmissiveFieldNumber = 8;
773  private:
774  const ::ignition::msgs::Color& _internal_emissive() const;
775  public:
776  const ::ignition::msgs::Color& emissive() const;
777  ::ignition::msgs::Color* release_emissive();
778  ::ignition::msgs::Color* mutable_emissive();
779  void set_allocated_emissive(::ignition::msgs::Color* emissive);
780 
781  // .ignition.msgs.Material.PBR pbr = 10;
782  bool has_pbr() const;
783  void clear_pbr();
784  static const int kPbrFieldNumber = 10;
785  private:
786  const ::ignition::msgs::Material_PBR& _internal_pbr() const;
787  public:
788  const ::ignition::msgs::Material_PBR& pbr() const;
789  ::ignition::msgs::Material_PBR* release_pbr();
790  ::ignition::msgs::Material_PBR* mutable_pbr();
791  void set_allocated_pbr(::ignition::msgs::Material_PBR* pbr);
792 
793  // .ignition.msgs.Material.ShaderType shader_type = 3;
794  void clear_shader_type();
795  static const int kShaderTypeFieldNumber = 3;
796  ::ignition::msgs::Material_ShaderType shader_type() const;
797  void set_shader_type(::ignition::msgs::Material_ShaderType value);
798 
799  // bool lighting = 9;
800  void clear_lighting();
801  static const int kLightingFieldNumber = 9;
802  bool lighting() const;
803  void set_lighting(bool value);
804 
805  // bool double_sided = 12;
806  void clear_double_sided();
807  static const int kDoubleSidedFieldNumber = 12;
808  bool double_sided() const;
809  void set_double_sided(bool value);
810 
811  // double render_order = 11;
812  void clear_render_order();
813  static const int kRenderOrderFieldNumber = 11;
814  double render_order() const;
815  void set_render_order(double value);
816 
817  // @@protoc_insertion_point(class_scope:ignition.msgs.Material)
818  private:
819 
820  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
821  ::google::protobuf::internal::ArenaStringPtr normal_map_;
822  ::ignition::msgs::Header* header_;
824  ::ignition::msgs::Color* ambient_;
825  ::ignition::msgs::Color* diffuse_;
826  ::ignition::msgs::Color* specular_;
827  ::ignition::msgs::Color* emissive_;
829  int shader_type_;
830  bool lighting_;
831  bool double_sided_;
832  double render_order_;
833  mutable ::google::protobuf::internal::CachedSize _cached_size_;
834  friend struct ::protobuf_ignition_2fmsgs_2fmaterial_2eproto::TableStruct;
835 };
836 // ===================================================================
837 
838 
839 // ===================================================================
840 
841 #ifdef __GNUC__
842  #pragma GCC diagnostic push
843  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
844 #endif // __GNUC__
845 // Material_Script
846 
847 // repeated string uri = 1;
848 inline int Material_Script::uri_size() const {
849  return uri_.size();
850 }
852  uri_.Clear();
853 }
854 inline const ::std::string& Material_Script::uri(int index) const {
855  // @@protoc_insertion_point(field_get:ignition.msgs.Material.Script.uri)
856  return uri_.Get(index);
857 }
858 inline ::std::string* Material_Script::mutable_uri(int index) {
859  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.Script.uri)
860  return uri_.Mutable(index);
861 }
862 inline void Material_Script::set_uri(int index, const ::std::string& value) {
863  // @@protoc_insertion_point(field_set:ignition.msgs.Material.Script.uri)
864  uri_.Mutable(index)->assign(value);
865 }
866 #if LANG_CXX11
867 inline void Material_Script::set_uri(int index, ::std::string&& value) {
868  // @@protoc_insertion_point(field_set:ignition.msgs.Material.Script.uri)
869  uri_.Mutable(index)->assign(std::move(value));
870 }
871 #endif
872 inline void Material_Script::set_uri(int index, const char* value) {
873  GOOGLE_DCHECK(value != NULL);
874  uri_.Mutable(index)->assign(value);
875  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.Script.uri)
876 }
877 inline void Material_Script::set_uri(int index, const char* value, size_t size) {
878  uri_.Mutable(index)->assign(
879  reinterpret_cast<const char*>(value), size);
880  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.Script.uri)
881 }
882 inline ::std::string* Material_Script::add_uri() {
883  // @@protoc_insertion_point(field_add_mutable:ignition.msgs.Material.Script.uri)
884  return uri_.Add();
885 }
886 inline void Material_Script::add_uri(const ::std::string& value) {
887  uri_.Add()->assign(value);
888  // @@protoc_insertion_point(field_add:ignition.msgs.Material.Script.uri)
889 }
890 #if LANG_CXX11
891 inline void Material_Script::add_uri(::std::string&& value) {
892  uri_.Add(std::move(value));
893  // @@protoc_insertion_point(field_add:ignition.msgs.Material.Script.uri)
894 }
895 #endif
896 inline void Material_Script::add_uri(const char* value) {
897  GOOGLE_DCHECK(value != NULL);
898  uri_.Add()->assign(value);
899  // @@protoc_insertion_point(field_add_char:ignition.msgs.Material.Script.uri)
900 }
901 inline void Material_Script::add_uri(const char* value, size_t size) {
902  uri_.Add()->assign(reinterpret_cast<const char*>(value), size);
903  // @@protoc_insertion_point(field_add_pointer:ignition.msgs.Material.Script.uri)
904 }
905 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
907  // @@protoc_insertion_point(field_list:ignition.msgs.Material.Script.uri)
908  return uri_;
909 }
910 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
912  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Material.Script.uri)
913  return &uri_;
914 }
915 
916 // string name = 2;
918  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
919 }
920 inline const ::std::string& Material_Script::name() const {
921  // @@protoc_insertion_point(field_get:ignition.msgs.Material.Script.name)
922  return name_.GetNoArena();
923 }
924 inline void Material_Script::set_name(const ::std::string& value) {
925 
926  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
927  // @@protoc_insertion_point(field_set:ignition.msgs.Material.Script.name)
928 }
929 #if LANG_CXX11
930 inline void Material_Script::set_name(::std::string&& value) {
931 
932  name_.SetNoArena(
933  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
934  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.Script.name)
935 }
936 #endif
937 inline void Material_Script::set_name(const char* value) {
938  GOOGLE_DCHECK(value != NULL);
939 
940  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
941  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.Script.name)
942 }
943 inline void Material_Script::set_name(const char* value, size_t size) {
944 
945  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
946  ::std::string(reinterpret_cast<const char*>(value), size));
947  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.Script.name)
948 }
949 inline ::std::string* Material_Script::mutable_name() {
950 
951  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.Script.name)
952  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
953 }
954 inline ::std::string* Material_Script::release_name() {
955  // @@protoc_insertion_point(field_release:ignition.msgs.Material.Script.name)
956 
957  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
958 }
960  if (name != NULL) {
961 
962  } else {
963 
964  }
965  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
966  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.Script.name)
967 }
968 
969 // -------------------------------------------------------------------
970 
971 // Material_PBR
972 
973 // .ignition.msgs.Material.PBR.WorkflowType type = 1;
975  type_ = 0;
976 }
978  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.type)
979  return static_cast< ::ignition::msgs::Material_PBR_WorkflowType >(type_);
980 }
982 
983  type_ = value;
984  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.type)
985 }
986 
987 // string albedo_map = 2;
989  albedo_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
990 }
991 inline const ::std::string& Material_PBR::albedo_map() const {
992  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.albedo_map)
993  return albedo_map_.GetNoArena();
994 }
995 inline void Material_PBR::set_albedo_map(const ::std::string& value) {
996 
997  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
998  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.albedo_map)
999 }
1000 #if LANG_CXX11
1001 inline void Material_PBR::set_albedo_map(::std::string&& value) {
1002 
1003  albedo_map_.SetNoArena(
1004  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1005  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.albedo_map)
1006 }
1007 #endif
1008 inline void Material_PBR::set_albedo_map(const char* value) {
1009  GOOGLE_DCHECK(value != NULL);
1010 
1011  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1012  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.albedo_map)
1013 }
1014 inline void Material_PBR::set_albedo_map(const char* value, size_t size) {
1015 
1016  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1017  ::std::string(reinterpret_cast<const char*>(value), size));
1018  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.albedo_map)
1019 }
1020 inline ::std::string* Material_PBR::mutable_albedo_map() {
1021 
1022  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.albedo_map)
1023  return albedo_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1024 }
1025 inline ::std::string* Material_PBR::release_albedo_map() {
1026  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.albedo_map)
1027 
1028  return albedo_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1029 }
1031  if (albedo_map != NULL) {
1032 
1033  } else {
1034 
1035  }
1036  albedo_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), albedo_map);
1037  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.albedo_map)
1038 }
1039 
1040 // string normal_map = 3;
1042  normal_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1043 }
1044 inline const ::std::string& Material_PBR::normal_map() const {
1045  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.normal_map)
1046  return normal_map_.GetNoArena();
1047 }
1048 inline void Material_PBR::set_normal_map(const ::std::string& value) {
1049 
1050  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1051  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.normal_map)
1052 }
1053 #if LANG_CXX11
1054 inline void Material_PBR::set_normal_map(::std::string&& value) {
1055 
1056  normal_map_.SetNoArena(
1057  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1058  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.normal_map)
1059 }
1060 #endif
1061 inline void Material_PBR::set_normal_map(const char* value) {
1062  GOOGLE_DCHECK(value != NULL);
1063 
1064  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1065  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.normal_map)
1066 }
1067 inline void Material_PBR::set_normal_map(const char* value, size_t size) {
1068 
1069  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1070  ::std::string(reinterpret_cast<const char*>(value), size));
1071  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.normal_map)
1072 }
1073 inline ::std::string* Material_PBR::mutable_normal_map() {
1074 
1075  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.normal_map)
1076  return normal_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1077 }
1078 inline ::std::string* Material_PBR::release_normal_map() {
1079  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.normal_map)
1080 
1081  return normal_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1082 }
1084  if (normal_map != NULL) {
1085 
1086  } else {
1087 
1088  }
1089  normal_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), normal_map);
1090  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.normal_map)
1091 }
1092 
1093 // double metalness = 4;
1095  metalness_ = 0;
1096 }
1097 inline double Material_PBR::metalness() const {
1098  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.metalness)
1099  return metalness_;
1100 }
1101 inline void Material_PBR::set_metalness(double value) {
1102 
1103  metalness_ = value;
1104  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.metalness)
1105 }
1106 
1107 // string metalness_map = 5;
1109  metalness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1110 }
1111 inline const ::std::string& Material_PBR::metalness_map() const {
1112  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.metalness_map)
1113  return metalness_map_.GetNoArena();
1114 }
1115 inline void Material_PBR::set_metalness_map(const ::std::string& value) {
1116 
1117  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1118  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.metalness_map)
1119 }
1120 #if LANG_CXX11
1121 inline void Material_PBR::set_metalness_map(::std::string&& value) {
1122 
1123  metalness_map_.SetNoArena(
1124  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1125  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.metalness_map)
1126 }
1127 #endif
1128 inline void Material_PBR::set_metalness_map(const char* value) {
1129  GOOGLE_DCHECK(value != NULL);
1130 
1131  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1132  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.metalness_map)
1133 }
1134 inline void Material_PBR::set_metalness_map(const char* value, size_t size) {
1135 
1136  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1137  ::std::string(reinterpret_cast<const char*>(value), size));
1138  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.metalness_map)
1139 }
1140 inline ::std::string* Material_PBR::mutable_metalness_map() {
1141 
1142  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.metalness_map)
1143  return metalness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1144 }
1145 inline ::std::string* Material_PBR::release_metalness_map() {
1146  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.metalness_map)
1147 
1148  return metalness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1149 }
1151  if (metalness_map != NULL) {
1152 
1153  } else {
1154 
1155  }
1156  metalness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), metalness_map);
1157  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.metalness_map)
1158 }
1159 
1160 // double roughness = 6;
1162  roughness_ = 0;
1163 }
1164 inline double Material_PBR::roughness() const {
1165  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.roughness)
1166  return roughness_;
1167 }
1168 inline void Material_PBR::set_roughness(double value) {
1169 
1170  roughness_ = value;
1171  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.roughness)
1172 }
1173 
1174 // string roughness_map = 7;
1176  roughness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1177 }
1178 inline const ::std::string& Material_PBR::roughness_map() const {
1179  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.roughness_map)
1180  return roughness_map_.GetNoArena();
1181 }
1182 inline void Material_PBR::set_roughness_map(const ::std::string& value) {
1183 
1184  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1185  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.roughness_map)
1186 }
1187 #if LANG_CXX11
1188 inline void Material_PBR::set_roughness_map(::std::string&& value) {
1189 
1190  roughness_map_.SetNoArena(
1191  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1192  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.roughness_map)
1193 }
1194 #endif
1195 inline void Material_PBR::set_roughness_map(const char* value) {
1196  GOOGLE_DCHECK(value != NULL);
1197 
1198  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1199  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.roughness_map)
1200 }
1201 inline void Material_PBR::set_roughness_map(const char* value, size_t size) {
1202 
1203  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1204  ::std::string(reinterpret_cast<const char*>(value), size));
1205  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.roughness_map)
1206 }
1207 inline ::std::string* Material_PBR::mutable_roughness_map() {
1208 
1209  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.roughness_map)
1210  return roughness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1211 }
1212 inline ::std::string* Material_PBR::release_roughness_map() {
1213  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.roughness_map)
1214 
1215  return roughness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1216 }
1218  if (roughness_map != NULL) {
1219 
1220  } else {
1221 
1222  }
1223  roughness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), roughness_map);
1224  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.roughness_map)
1225 }
1226 
1227 // double glossiness = 8;
1229  glossiness_ = 0;
1230 }
1231 inline double Material_PBR::glossiness() const {
1232  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.glossiness)
1233  return glossiness_;
1234 }
1235 inline void Material_PBR::set_glossiness(double value) {
1236 
1237  glossiness_ = value;
1238  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.glossiness)
1239 }
1240 
1241 // string glossiness_map = 9;
1243  glossiness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1244 }
1245 inline const ::std::string& Material_PBR::glossiness_map() const {
1246  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.glossiness_map)
1247  return glossiness_map_.GetNoArena();
1248 }
1249 inline void Material_PBR::set_glossiness_map(const ::std::string& value) {
1250 
1251  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1252  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.glossiness_map)
1253 }
1254 #if LANG_CXX11
1255 inline void Material_PBR::set_glossiness_map(::std::string&& value) {
1256 
1257  glossiness_map_.SetNoArena(
1258  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1259  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.glossiness_map)
1260 }
1261 #endif
1262 inline void Material_PBR::set_glossiness_map(const char* value) {
1263  GOOGLE_DCHECK(value != NULL);
1264 
1265  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1266  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.glossiness_map)
1267 }
1268 inline void Material_PBR::set_glossiness_map(const char* value, size_t size) {
1269 
1270  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1271  ::std::string(reinterpret_cast<const char*>(value), size));
1272  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.glossiness_map)
1273 }
1274 inline ::std::string* Material_PBR::mutable_glossiness_map() {
1275 
1276  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.glossiness_map)
1277  return glossiness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1278 }
1279 inline ::std::string* Material_PBR::release_glossiness_map() {
1280  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.glossiness_map)
1281 
1282  return glossiness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1283 }
1285  if (glossiness_map != NULL) {
1286 
1287  } else {
1288 
1289  }
1290  glossiness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), glossiness_map);
1291  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.glossiness_map)
1292 }
1293 
1294 // string specular_map = 10;
1296  specular_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1297 }
1298 inline const ::std::string& Material_PBR::specular_map() const {
1299  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.specular_map)
1300  return specular_map_.GetNoArena();
1301 }
1302 inline void Material_PBR::set_specular_map(const ::std::string& value) {
1303 
1304  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1305  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.specular_map)
1306 }
1307 #if LANG_CXX11
1308 inline void Material_PBR::set_specular_map(::std::string&& value) {
1309 
1310  specular_map_.SetNoArena(
1311  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1312  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.specular_map)
1313 }
1314 #endif
1315 inline void Material_PBR::set_specular_map(const char* value) {
1316  GOOGLE_DCHECK(value != NULL);
1317 
1318  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1319  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.specular_map)
1320 }
1321 inline void Material_PBR::set_specular_map(const char* value, size_t size) {
1322 
1323  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1324  ::std::string(reinterpret_cast<const char*>(value), size));
1325  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.specular_map)
1326 }
1327 inline ::std::string* Material_PBR::mutable_specular_map() {
1328 
1329  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.specular_map)
1330  return specular_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1331 }
1332 inline ::std::string* Material_PBR::release_specular_map() {
1333  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.specular_map)
1334 
1335  return specular_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1336 }
1338  if (specular_map != NULL) {
1339 
1340  } else {
1341 
1342  }
1343  specular_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), specular_map);
1344  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.specular_map)
1345 }
1346 
1347 // string environment_map = 11;
1349  environment_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1350 }
1351 inline const ::std::string& Material_PBR::environment_map() const {
1352  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.environment_map)
1353  return environment_map_.GetNoArena();
1354 }
1355 inline void Material_PBR::set_environment_map(const ::std::string& value) {
1356 
1357  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1358  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.environment_map)
1359 }
1360 #if LANG_CXX11
1361 inline void Material_PBR::set_environment_map(::std::string&& value) {
1362 
1363  environment_map_.SetNoArena(
1364  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1365  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.environment_map)
1366 }
1367 #endif
1368 inline void Material_PBR::set_environment_map(const char* value) {
1369  GOOGLE_DCHECK(value != NULL);
1370 
1371  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1372  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.environment_map)
1373 }
1374 inline void Material_PBR::set_environment_map(const char* value, size_t size) {
1375 
1376  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1377  ::std::string(reinterpret_cast<const char*>(value), size));
1378  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.environment_map)
1379 }
1380 inline ::std::string* Material_PBR::mutable_environment_map() {
1381 
1382  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.environment_map)
1383  return environment_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1384 }
1385 inline ::std::string* Material_PBR::release_environment_map() {
1386  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.environment_map)
1387 
1388  return environment_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1389 }
1391  if (environment_map != NULL) {
1392 
1393  } else {
1394 
1395  }
1396  environment_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), environment_map);
1397  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.environment_map)
1398 }
1399 
1400 // string ambient_occlusion_map = 12;
1402  ambient_occlusion_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1403 }
1404 inline const ::std::string& Material_PBR::ambient_occlusion_map() const {
1405  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.ambient_occlusion_map)
1406  return ambient_occlusion_map_.GetNoArena();
1407 }
1408 inline void Material_PBR::set_ambient_occlusion_map(const ::std::string& value) {
1409 
1410  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1411  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.ambient_occlusion_map)
1412 }
1413 #if LANG_CXX11
1415 
1416  ambient_occlusion_map_.SetNoArena(
1417  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1418  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.ambient_occlusion_map)
1419 }
1420 #endif
1421 inline void Material_PBR::set_ambient_occlusion_map(const char* value) {
1422  GOOGLE_DCHECK(value != NULL);
1423 
1424  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1425  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.ambient_occlusion_map)
1426 }
1427 inline void Material_PBR::set_ambient_occlusion_map(const char* value, size_t size) {
1428 
1429  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1430  ::std::string(reinterpret_cast<const char*>(value), size));
1431  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.ambient_occlusion_map)
1432 }
1434 
1435  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.ambient_occlusion_map)
1436  return ambient_occlusion_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1437 }
1439  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.ambient_occlusion_map)
1440 
1441  return ambient_occlusion_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1442 }
1444  if (ambient_occlusion_map != NULL) {
1445 
1446  } else {
1447 
1448  }
1449  ambient_occlusion_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ambient_occlusion_map);
1450  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.ambient_occlusion_map)
1451 }
1452 
1453 // string emissive_map = 13;
1455  emissive_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1456 }
1457 inline const ::std::string& Material_PBR::emissive_map() const {
1458  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.emissive_map)
1459  return emissive_map_.GetNoArena();
1460 }
1461 inline void Material_PBR::set_emissive_map(const ::std::string& value) {
1462 
1463  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1464  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.emissive_map)
1465 }
1466 #if LANG_CXX11
1467 inline void Material_PBR::set_emissive_map(::std::string&& value) {
1468 
1469  emissive_map_.SetNoArena(
1470  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1471  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.emissive_map)
1472 }
1473 #endif
1474 inline void Material_PBR::set_emissive_map(const char* value) {
1475  GOOGLE_DCHECK(value != NULL);
1476 
1477  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1478  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.emissive_map)
1479 }
1480 inline void Material_PBR::set_emissive_map(const char* value, size_t size) {
1481 
1482  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1483  ::std::string(reinterpret_cast<const char*>(value), size));
1484  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.emissive_map)
1485 }
1486 inline ::std::string* Material_PBR::mutable_emissive_map() {
1487 
1488  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.emissive_map)
1489  return emissive_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1490 }
1491 inline ::std::string* Material_PBR::release_emissive_map() {
1492  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.emissive_map)
1493 
1494  return emissive_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1495 }
1497  if (emissive_map != NULL) {
1498 
1499  } else {
1500 
1501  }
1502  emissive_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), emissive_map);
1503  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.emissive_map)
1504 }
1505 
1506 // string light_map = 14;
1508  light_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1509 }
1510 inline const ::std::string& Material_PBR::light_map() const {
1511  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.light_map)
1512  return light_map_.GetNoArena();
1513 }
1514 inline void Material_PBR::set_light_map(const ::std::string& value) {
1515 
1516  light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1517  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.light_map)
1518 }
1519 #if LANG_CXX11
1520 inline void Material_PBR::set_light_map(::std::string&& value) {
1521 
1522  light_map_.SetNoArena(
1523  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1524  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.light_map)
1525 }
1526 #endif
1527 inline void Material_PBR::set_light_map(const char* value) {
1528  GOOGLE_DCHECK(value != NULL);
1529 
1530  light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1531  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.light_map)
1532 }
1533 inline void Material_PBR::set_light_map(const char* value, size_t size) {
1534 
1535  light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1536  ::std::string(reinterpret_cast<const char*>(value), size));
1537  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.light_map)
1538 }
1539 inline ::std::string* Material_PBR::mutable_light_map() {
1540 
1541  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.light_map)
1542  return light_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1543 }
1544 inline ::std::string* Material_PBR::release_light_map() {
1545  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.light_map)
1546 
1547  return light_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1548 }
1550  if (light_map != NULL) {
1551 
1552  } else {
1553 
1554  }
1555  light_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), light_map);
1556  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.light_map)
1557 }
1558 
1559 // uint32 light_map_texcoord_set = 15;
1561  light_map_texcoord_set_ = 0u;
1562 }
1563 inline ::google::protobuf::uint32 Material_PBR::light_map_texcoord_set() const {
1564  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.light_map_texcoord_set)
1565  return light_map_texcoord_set_;
1566 }
1567 inline void Material_PBR::set_light_map_texcoord_set(::google::protobuf::uint32 value) {
1568 
1569  light_map_texcoord_set_ = value;
1570  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.light_map_texcoord_set)
1571 }
1572 
1573 // -------------------------------------------------------------------
1574 
1575 // Material
1576 
1577 // .ignition.msgs.Header header = 1;
1578 inline bool Material::has_header() const {
1579  return this != internal_default_instance() && header_ != NULL;
1580 }
1581 inline const ::ignition::msgs::Header& Material::_internal_header() const {
1582  return *header_;
1583 }
1584 inline const ::ignition::msgs::Header& Material::header() const {
1585  const ::ignition::msgs::Header* p = header_;
1586  // @@protoc_insertion_point(field_get:ignition.msgs.Material.header)
1587  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
1589 }
1590 inline ::ignition::msgs::Header* Material::release_header() {
1591  // @@protoc_insertion_point(field_release:ignition.msgs.Material.header)
1592 
1593  ::ignition::msgs::Header* temp = header_;
1594  header_ = NULL;
1595  return temp;
1596 }
1597 inline ::ignition::msgs::Header* Material::mutable_header() {
1598 
1599  if (header_ == NULL) {
1600  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
1601  header_ = p;
1602  }
1603  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.header)
1604  return header_;
1605 }
1607  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1608  if (message_arena == NULL) {
1609  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
1610  }
1611  if (header) {
1612  ::google::protobuf::Arena* submessage_arena = NULL;
1613  if (message_arena != submessage_arena) {
1614  header = ::google::protobuf::internal::GetOwnedMessage(
1615  message_arena, header, submessage_arena);
1616  }
1617 
1618  } else {
1619 
1620  }
1621  header_ = header;
1622  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.header)
1623 }
1624 
1625 // .ignition.msgs.Material.Script script = 2;
1626 inline bool Material::has_script() const {
1627  return this != internal_default_instance() && script_ != NULL;
1628 }
1629 inline void Material::clear_script() {
1630  if (GetArenaNoVirtual() == NULL && script_ != NULL) {
1631  delete script_;
1632  }
1633  script_ = NULL;
1634 }
1635 inline const ::ignition::msgs::Material_Script& Material::_internal_script() const {
1636  return *script_;
1637 }
1638 inline const ::ignition::msgs::Material_Script& Material::script() const {
1639  const ::ignition::msgs::Material_Script* p = script_;
1640  // @@protoc_insertion_point(field_get:ignition.msgs.Material.script)
1641  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Material_Script*>(
1643 }
1644 inline ::ignition::msgs::Material_Script* Material::release_script() {
1645  // @@protoc_insertion_point(field_release:ignition.msgs.Material.script)
1646 
1647  ::ignition::msgs::Material_Script* temp = script_;
1648  script_ = NULL;
1649  return temp;
1650 }
1651 inline ::ignition::msgs::Material_Script* Material::mutable_script() {
1652 
1653  if (script_ == NULL) {
1654  auto* p = CreateMaybeMessage<::ignition::msgs::Material_Script>(GetArenaNoVirtual());
1655  script_ = p;
1656  }
1657  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.script)
1658  return script_;
1659 }
1661  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1662  if (message_arena == NULL) {
1663  delete script_;
1664  }
1665  if (script) {
1666  ::google::protobuf::Arena* submessage_arena = NULL;
1667  if (message_arena != submessage_arena) {
1668  script = ::google::protobuf::internal::GetOwnedMessage(
1669  message_arena, script, submessage_arena);
1670  }
1671 
1672  } else {
1673 
1674  }
1675  script_ = script;
1676  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.script)
1677 }
1678 
1679 // .ignition.msgs.Material.ShaderType shader_type = 3;
1681  shader_type_ = 0;
1682 }
1684  // @@protoc_insertion_point(field_get:ignition.msgs.Material.shader_type)
1685  return static_cast< ::ignition::msgs::Material_ShaderType >(shader_type_);
1686 }
1688 
1689  shader_type_ = value;
1690  // @@protoc_insertion_point(field_set:ignition.msgs.Material.shader_type)
1691 }
1692 
1693 // string normal_map = 4;
1695  normal_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1696 }
1697 inline const ::std::string& Material::normal_map() const {
1698  // @@protoc_insertion_point(field_get:ignition.msgs.Material.normal_map)
1699  return normal_map_.GetNoArena();
1700 }
1701 inline void Material::set_normal_map(const ::std::string& value) {
1702 
1703  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1704  // @@protoc_insertion_point(field_set:ignition.msgs.Material.normal_map)
1705 }
1706 #if LANG_CXX11
1707 inline void Material::set_normal_map(::std::string&& value) {
1708 
1709  normal_map_.SetNoArena(
1710  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1711  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.normal_map)
1712 }
1713 #endif
1714 inline void Material::set_normal_map(const char* value) {
1715  GOOGLE_DCHECK(value != NULL);
1716 
1717  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1718  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.normal_map)
1719 }
1720 inline void Material::set_normal_map(const char* value, size_t size) {
1721 
1722  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1723  ::std::string(reinterpret_cast<const char*>(value), size));
1724  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.normal_map)
1725 }
1726 inline ::std::string* Material::mutable_normal_map() {
1727 
1728  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.normal_map)
1729  return normal_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1730 }
1731 inline ::std::string* Material::release_normal_map() {
1732  // @@protoc_insertion_point(field_release:ignition.msgs.Material.normal_map)
1733 
1734  return normal_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1735 }
1737  if (normal_map != NULL) {
1738 
1739  } else {
1740 
1741  }
1742  normal_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), normal_map);
1743  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.normal_map)
1744 }
1745 
1746 // .ignition.msgs.Color ambient = 5;
1747 inline bool Material::has_ambient() const {
1748  return this != internal_default_instance() && ambient_ != NULL;
1749 }
1750 inline const ::ignition::msgs::Color& Material::_internal_ambient() const {
1751  return *ambient_;
1752 }
1753 inline const ::ignition::msgs::Color& Material::ambient() const {
1754  const ::ignition::msgs::Color* p = ambient_;
1755  // @@protoc_insertion_point(field_get:ignition.msgs.Material.ambient)
1756  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
1758 }
1759 inline ::ignition::msgs::Color* Material::release_ambient() {
1760  // @@protoc_insertion_point(field_release:ignition.msgs.Material.ambient)
1761 
1762  ::ignition::msgs::Color* temp = ambient_;
1763  ambient_ = NULL;
1764  return temp;
1765 }
1766 inline ::ignition::msgs::Color* Material::mutable_ambient() {
1767 
1768  if (ambient_ == NULL) {
1769  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
1770  ambient_ = p;
1771  }
1772  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.ambient)
1773  return ambient_;
1774 }
1776  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1777  if (message_arena == NULL) {
1778  delete reinterpret_cast< ::google::protobuf::MessageLite*>(ambient_);
1779  }
1780  if (ambient) {
1781  ::google::protobuf::Arena* submessage_arena = NULL;
1782  if (message_arena != submessage_arena) {
1783  ambient = ::google::protobuf::internal::GetOwnedMessage(
1784  message_arena, ambient, submessage_arena);
1785  }
1786 
1787  } else {
1788 
1789  }
1790  ambient_ = ambient;
1791  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.ambient)
1792 }
1793 
1794 // .ignition.msgs.Color diffuse = 6;
1795 inline bool Material::has_diffuse() const {
1796  return this != internal_default_instance() && diffuse_ != NULL;
1797 }
1798 inline const ::ignition::msgs::Color& Material::_internal_diffuse() const {
1799  return *diffuse_;
1800 }
1801 inline const ::ignition::msgs::Color& Material::diffuse() const {
1802  const ::ignition::msgs::Color* p = diffuse_;
1803  // @@protoc_insertion_point(field_get:ignition.msgs.Material.diffuse)
1804  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
1806 }
1807 inline ::ignition::msgs::Color* Material::release_diffuse() {
1808  // @@protoc_insertion_point(field_release:ignition.msgs.Material.diffuse)
1809 
1810  ::ignition::msgs::Color* temp = diffuse_;
1811  diffuse_ = NULL;
1812  return temp;
1813 }
1814 inline ::ignition::msgs::Color* Material::mutable_diffuse() {
1815 
1816  if (diffuse_ == NULL) {
1817  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
1818  diffuse_ = p;
1819  }
1820  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.diffuse)
1821  return diffuse_;
1822 }
1824  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1825  if (message_arena == NULL) {
1826  delete reinterpret_cast< ::google::protobuf::MessageLite*>(diffuse_);
1827  }
1828  if (diffuse) {
1829  ::google::protobuf::Arena* submessage_arena = NULL;
1830  if (message_arena != submessage_arena) {
1831  diffuse = ::google::protobuf::internal::GetOwnedMessage(
1832  message_arena, diffuse, submessage_arena);
1833  }
1834 
1835  } else {
1836 
1837  }
1838  diffuse_ = diffuse;
1839  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.diffuse)
1840 }
1841 
1842 // .ignition.msgs.Color specular = 7;
1843 inline bool Material::has_specular() const {
1844  return this != internal_default_instance() && specular_ != NULL;
1845 }
1846 inline const ::ignition::msgs::Color& Material::_internal_specular() const {
1847  return *specular_;
1848 }
1849 inline const ::ignition::msgs::Color& Material::specular() const {
1850  const ::ignition::msgs::Color* p = specular_;
1851  // @@protoc_insertion_point(field_get:ignition.msgs.Material.specular)
1852  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
1854 }
1855 inline ::ignition::msgs::Color* Material::release_specular() {
1856  // @@protoc_insertion_point(field_release:ignition.msgs.Material.specular)
1857 
1858  ::ignition::msgs::Color* temp = specular_;
1859  specular_ = NULL;
1860  return temp;
1861 }
1862 inline ::ignition::msgs::Color* Material::mutable_specular() {
1863 
1864  if (specular_ == NULL) {
1865  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
1866  specular_ = p;
1867  }
1868  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.specular)
1869  return specular_;
1870 }
1872  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1873  if (message_arena == NULL) {
1874  delete reinterpret_cast< ::google::protobuf::MessageLite*>(specular_);
1875  }
1876  if (specular) {
1877  ::google::protobuf::Arena* submessage_arena = NULL;
1878  if (message_arena != submessage_arena) {
1879  specular = ::google::protobuf::internal::GetOwnedMessage(
1880  message_arena, specular, submessage_arena);
1881  }
1882 
1883  } else {
1884 
1885  }
1886  specular_ = specular;
1887  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.specular)
1888 }
1889 
1890 // .ignition.msgs.Color emissive = 8;
1891 inline bool Material::has_emissive() const {
1892  return this != internal_default_instance() && emissive_ != NULL;
1893 }
1894 inline const ::ignition::msgs::Color& Material::_internal_emissive() const {
1895  return *emissive_;
1896 }
1897 inline const ::ignition::msgs::Color& Material::emissive() const {
1898  const ::ignition::msgs::Color* p = emissive_;
1899  // @@protoc_insertion_point(field_get:ignition.msgs.Material.emissive)
1900  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
1902 }
1903 inline ::ignition::msgs::Color* Material::release_emissive() {
1904  // @@protoc_insertion_point(field_release:ignition.msgs.Material.emissive)
1905 
1906  ::ignition::msgs::Color* temp = emissive_;
1907  emissive_ = NULL;
1908  return temp;
1909 }
1910 inline ::ignition::msgs::Color* Material::mutable_emissive() {
1911 
1912  if (emissive_ == NULL) {
1913  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
1914  emissive_ = p;
1915  }
1916  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.emissive)
1917  return emissive_;
1918 }
1920  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1921  if (message_arena == NULL) {
1922  delete reinterpret_cast< ::google::protobuf::MessageLite*>(emissive_);
1923  }
1924  if (emissive) {
1925  ::google::protobuf::Arena* submessage_arena = NULL;
1926  if (message_arena != submessage_arena) {
1927  emissive = ::google::protobuf::internal::GetOwnedMessage(
1928  message_arena, emissive, submessage_arena);
1929  }
1930 
1931  } else {
1932 
1933  }
1934  emissive_ = emissive;
1935  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.emissive)
1936 }
1937 
1938 // bool lighting = 9;
1940  lighting_ = false;
1941 }
1942 inline bool Material::lighting() const {
1943  // @@protoc_insertion_point(field_get:ignition.msgs.Material.lighting)
1944  return lighting_;
1945 }
1946 inline void Material::set_lighting(bool value) {
1947 
1948  lighting_ = value;
1949  // @@protoc_insertion_point(field_set:ignition.msgs.Material.lighting)
1950 }
1951 
1952 // .ignition.msgs.Material.PBR pbr = 10;
1953 inline bool Material::has_pbr() const {
1954  return this != internal_default_instance() && pbr_ != NULL;
1955 }
1956 inline void Material::clear_pbr() {
1957  if (GetArenaNoVirtual() == NULL && pbr_ != NULL) {
1958  delete pbr_;
1959  }
1960  pbr_ = NULL;
1961 }
1962 inline const ::ignition::msgs::Material_PBR& Material::_internal_pbr() const {
1963  return *pbr_;
1964 }
1965 inline const ::ignition::msgs::Material_PBR& Material::pbr() const {
1966  const ::ignition::msgs::Material_PBR* p = pbr_;
1967  // @@protoc_insertion_point(field_get:ignition.msgs.Material.pbr)
1968  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Material_PBR*>(
1970 }
1971 inline ::ignition::msgs::Material_PBR* Material::release_pbr() {
1972  // @@protoc_insertion_point(field_release:ignition.msgs.Material.pbr)
1973 
1974  ::ignition::msgs::Material_PBR* temp = pbr_;
1975  pbr_ = NULL;
1976  return temp;
1977 }
1978 inline ::ignition::msgs::Material_PBR* Material::mutable_pbr() {
1979 
1980  if (pbr_ == NULL) {
1981  auto* p = CreateMaybeMessage<::ignition::msgs::Material_PBR>(GetArenaNoVirtual());
1982  pbr_ = p;
1983  }
1984  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.pbr)
1985  return pbr_;
1986 }
1988  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1989  if (message_arena == NULL) {
1990  delete pbr_;
1991  }
1992  if (pbr) {
1993  ::google::protobuf::Arena* submessage_arena = NULL;
1994  if (message_arena != submessage_arena) {
1995  pbr = ::google::protobuf::internal::GetOwnedMessage(
1996  message_arena, pbr, submessage_arena);
1997  }
1998 
1999  } else {
2000 
2001  }
2002  pbr_ = pbr;
2003  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.pbr)
2004 }
2005 
2006 // double render_order = 11;
2008  render_order_ = 0;
2009 }
2010 inline double Material::render_order() const {
2011  // @@protoc_insertion_point(field_get:ignition.msgs.Material.render_order)
2012  return render_order_;
2013 }
2014 inline void Material::set_render_order(double value) {
2015 
2016  render_order_ = value;
2017  // @@protoc_insertion_point(field_set:ignition.msgs.Material.render_order)
2018 }
2019 
2020 // bool double_sided = 12;
2022  double_sided_ = false;
2023 }
2024 inline bool Material::double_sided() const {
2025  // @@protoc_insertion_point(field_get:ignition.msgs.Material.double_sided)
2026  return double_sided_;
2027 }
2028 inline void Material::set_double_sided(bool value) {
2029 
2030  double_sided_ = value;
2031  // @@protoc_insertion_point(field_set:ignition.msgs.Material.double_sided)
2032 }
2033 
2034 #ifdef __GNUC__
2035  #pragma GCC diagnostic pop
2036 #endif // __GNUC__
2037 // -------------------------------------------------------------------
2038 
2039 // -------------------------------------------------------------------
2040 
2041 
2046 // @@protoc_insertion_point(namespace_scope)
2047 
2048 } // namespace msgs
2049 } // namespace ignition
2050 
2051 namespace google {
2052 namespace protobuf {
2053 
2054 template <> struct is_proto_enum< ::ignition::msgs::Material_PBR_WorkflowType> : ::std::true_type {};
2055 template <>
2056 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Material_PBR_WorkflowType>() {
2058 }
2059 template <> struct is_proto_enum< ::ignition::msgs::Material_ShaderType> : ::std::true_type {};
2060 template <>
2061 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Material_ShaderType>() {
2063 }
2064 
2065 } // namespace protobuf
2066 } // namespace google
2067 
2068 #ifdef _MSC_VER
2069 #pragma warning(pop)
2070 #endif
2071 // @@protoc_insertion_point(global_scope)
2072 
2073 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fmaterial_2eproto
const ::ignition::msgs::Color & ambient() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1753
Material_Script * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:176
::ignition::msgs::Color * release_ambient()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1759
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Material_PBR_WorkflowType_descriptor()
IGNITION_MSGS_VISIBLE Material_ScriptDefaultTypeInternal _Material_Script_default_instance_
::std::string * release_glossiness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1279
::std::string * mutable_light_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1539
static const Material_PBR * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:296
void set_allocated_emissive(::ignition::msgs::Color *emissive)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1919
void set_allocated_albedo_map(::std::string *albedo_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1030
friend void swap(Material_PBR &a, Material_PBR &b)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:304
::std::string * release_light_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1544
IGNITION_MSGS_VISIBLE bool Material_ShaderType_IsValid(int value)
static const Material_Script * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:162
::std::string * add_uri()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:882
STL class.
STL class.
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1584
::ignition::msgs::Color * release_diffuse()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1807
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Material_ShaderType_descriptor()
void set_render_order(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2014
Material * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:619
std::shared_ptr< Material > MaterialSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2044
void set_allocated_environment_map(::std::string *environment_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1390
T move(T... args)
::ignition::msgs::Material_Script * release_script()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1644
static const Material * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:605
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1578
::std::string * release_normal_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1078
const ::std::string & roughness_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1178
void set_allocated_emissive_map(::std::string *emissive_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1496
::ignition::msgs::Color * release_emissive()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1903
::ignition::msgs::Color * mutable_emissive()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1910
::ignition::msgs::Material_Script * mutable_script()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1651
const ::std::string & metalness_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1111
@ Material_PBR_WorkflowType_Material_PBR_WorkflowType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:89
void set_allocated_glossiness_map(::std::string *glossiness_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1284
friend void swap(Material &a, Material &b)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:613
void set_specular_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1302
const ::ignition::msgs::Material_PBR & pbr() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1965
::google::protobuf::uint32 light_map_texcoord_set() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1563
::ignition::msgs::Material_PBR * mutable_pbr()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1978
::std::string * mutable_roughness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1207
double metalness() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1097
bool lighting() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1942
double render_order() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2010
::std::string * mutable_normal_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1726
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1597
void set_glossiness_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1249
@ Material_ShaderType_Material_ShaderType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:113
const ::std::string & emissive_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1457
void clear_name()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:917
::std::string * mutable_name()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:949
void clear_lighting()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1939
void set_normal_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1048
void set_ambient_occlusion_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1408
::std::string * mutable_specular_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1327
const ::ignition::msgs::Material_Script & script() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1638
void set_glossiness(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1235
::ignition::msgs::Color * mutable_diffuse()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1814
::std::string * mutable_environment_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1380
void clear_ambient_occlusion_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1401
void set_shader_type(::ignition::msgs::Material_ShaderType value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1687
const ::ignition::msgs::Color & diffuse() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1801
Material_PBR & operator=(const Material_PBR &from)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:273
const int Material_ShaderType_ShaderType_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:118
void set_name(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:924
void Swap(Material_PBR *other)
void set_allocated_ambient_occlusion_map(::std::string *ambient_occlusion_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1443
void set_allocated_normal_map(::std::string *normal_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1736
::std::string * release_specular_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1332
void clear_glossiness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1242
Material_Script * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:180
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_uri()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:911
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:132
@ Material_PBR_WorkflowType_METAL
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:87
void clear_metalness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1108
::std::string * mutable_albedo_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1020
std::unique_ptr< Material > MaterialUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2042
void set_allocated_ambient(::ignition::msgs::Color *ambient)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1775
void set_metalness_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1115
void clear_render_order()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2007
void clear_normal_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1041
double roughness() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1164
void clear_albedo_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:988
void set_allocated_normal_map(::std::string *normal_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1083
Material_PBR * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:314
void set_type(::ignition::msgs::Material_PBR_WorkflowType value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:981
void set_allocated_pbr(::ignition::msgs::Material_PBR *pbr)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1987
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1590
std::shared_ptr< const Material > ConstMaterialSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2045
void set_light_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1514
void clear_double_sided()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2021
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
void clear_shader_type()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1680
void clear_environment_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1348
const ::std::string & Material_PBR_WorkflowType_Name(Material_PBR_WorkflowType value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:98
::ignition::msgs::Color * mutable_specular()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1862
@ Material_PBR_WorkflowType_Material_PBR_WorkflowType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:90
::std::string * release_roughness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1212
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:50
void set_allocated_specular(::ignition::msgs::Color *specular)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1871
friend void swap(Material_Script &a, Material_Script &b)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:170
::ignition::msgs::Color * mutable_ambient()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1766
::std::string * release_emissive_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1491
const ::std::string & name() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:920
void set_roughness_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1182
Material * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:623
bool Material_ShaderType_Parse(const ::std::string &name, Material_ShaderType *value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:125
void Swap(Material *other)
double glossiness() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1231
const ::std::string & albedo_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:991
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:575
bool has_emissive() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1891
void set_allocated_script(::ignition::msgs::Material_Script *script)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1660
::std::string * release_albedo_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1025
Definition: build/ignition-msgs8/include/ignition/msgs/color.pb.h:77
void set_normal_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1701
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:266
void clear_glossiness()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1228
void clear_specular_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1295
@ Material_PBR_WorkflowType_NONE
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:86
void clear_script()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1629
static const ::std::string & ShaderType_Name(ShaderType value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:685
void set_roughness(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1168
IGNITION_MSGS_VISIBLE bool Material_PBR_WorkflowType_IsValid(int value)
static bool ShaderType_Parse(const ::std::string &name, ShaderType *value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:688
void set_allocated_roughness_map(::std::string *roughness_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1217
IGNITION_MSGS_VISIBLE Material_PBRDefaultTypeInternal _Material_PBR_default_instance_
void set_allocated_light_map(::std::string *light_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1549
void clear_light_map_texcoord_set()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1560
const Material_PBR_WorkflowType Material_PBR_WorkflowType_WorkflowType_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:93
bool has_script() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1626
static bool WorkflowType_Parse(const ::std::string &name, WorkflowType *value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:374
@ Material_ShaderType_Material_ShaderType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:112
::ignition::msgs::Material_ShaderType shader_type() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1683
::std::string * mutable_normal_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1073
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:52
const ::std::string & normal_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1044
void clear_roughness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1175
void set_albedo_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:995
@ Material_ShaderType_PIXEL
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:109
void clear_metalness()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1094
void clear_normal_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1694
Material & operator=(const Material &from)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:582
::ignition::msgs::Material_PBR * release_pbr()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1971
void set_uri(int index, const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:862
void set_allocated_metalness_map(::std::string *metalness_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1150
void clear_roughness()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1161
::ignition::msgs::Color * release_specular()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1855
Material_PBR_WorkflowType
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:85
void clear_pbr()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1956
::std::string * mutable_glossiness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1274
Material_PBR * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:310
const ::std::string & normal_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1697
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1606
void set_light_map_texcoord_set(::google::protobuf::uint32 value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1567
void clear_emissive_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1454
static const ::std::string & WorkflowType_Name(WorkflowType value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:371
void set_lighting(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1946
void set_double_sided(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2028
int uri_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:848
const int Material_PBR_WorkflowType_WorkflowType_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:95
bool double_sided() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2024
void clear_light_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1507
STL namespace.
void set_environment_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1355
void set_emissive_map(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1461
bool has_diffuse() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1795
const ::std::string & specular_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1298
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
bool Material_PBR_WorkflowType_Parse(const ::std::string &name, Material_PBR_WorkflowType *value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:102
::std::string * mutable_ambient_occlusion_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1433
const ::std::string & glossiness_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1245
::std::string * release_normal_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1731
const Material_ShaderType Material_ShaderType_ShaderType_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:117
const ::std::string & Material_ShaderType_Name(Material_ShaderType value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:121
const ::ignition::msgs::Color & specular() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1849
void set_metalness(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1101
std::unique_ptr< const Material > ConstMaterialUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:2043
::std::string * release_environment_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1385
void set_allocated_diffuse(::ignition::msgs::Color *diffuse)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1823
@ Material_ShaderType_VERTEX
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:108
::std::string * mutable_emissive_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1486
const Material_PBR_WorkflowType Material_PBR_WorkflowType_WorkflowType_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:94
bool has_specular() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1843
const ::std::string & light_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1510
const ::std::string & environment_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1351
@ Material_ShaderType_NORMAL_MAP_TANGENT_SPACE
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:111
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:959
const ::google::protobuf::RepeatedPtrField< ::std::string > & uri() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:906
Material_Script & operator=(const Material_Script &from)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:139
bool has_ambient() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1747
::std::string * release_metalness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1145
STL class.
const ::ignition::msgs::Color & emissive() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1897
@ Material_PBR_WorkflowType_SPECULAR
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:88
::std::string * release_name()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:954
::std::string * mutable_metalness_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1140
void clear_uri()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:851
static const ::google::protobuf::EnumDescriptor * ShaderType_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:682
@ Material_ShaderType_NORMAL_MAP_OBJECT_SPACE
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:110
IGNITION_MSGS_VISIBLE MaterialDefaultTypeInternal _Material_default_instance_
::std::string * release_ambient_occlusion_map()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1438
bool has_pbr() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1953
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
const ::std::string & ambient_occlusion_map() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1404
static const ::google::protobuf::EnumDescriptor * WorkflowType_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:368
::ignition::msgs::Material_PBR_WorkflowType type() const
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:977
void clear_type()
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:974
const Material_ShaderType Material_ShaderType_ShaderType_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:116
void IGNITION_MSGS_VISIBLE AddDescriptors()
void Swap(Material_Script *other)
void set_allocated_specular_map(::std::string *specular_map)
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:1337
Material_ShaderType
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:107