Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/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  // double metalness = 4;
508  void clear_metalness();
509  static const int kMetalnessFieldNumber = 4;
510  double metalness() const;
511  void set_metalness(double value);
512 
513  // double roughness = 6;
514  void clear_roughness();
515  static const int kRoughnessFieldNumber = 6;
516  double roughness() const;
517  void set_roughness(double value);
518 
519  // double glossiness = 8;
520  void clear_glossiness();
521  static const int kGlossinessFieldNumber = 8;
522  double glossiness() const;
523  void set_glossiness(double value);
524 
525  // .ignition.msgs.Material.PBR.WorkflowType type = 1;
526  void clear_type();
527  static const int kTypeFieldNumber = 1;
529  void set_type(::ignition::msgs::Material_PBR_WorkflowType value);
530 
531  // @@protoc_insertion_point(class_scope:ignition.msgs.Material.PBR)
532  private:
533 
534  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
535  ::google::protobuf::internal::ArenaStringPtr albedo_map_;
536  ::google::protobuf::internal::ArenaStringPtr normal_map_;
537  ::google::protobuf::internal::ArenaStringPtr metalness_map_;
538  ::google::protobuf::internal::ArenaStringPtr roughness_map_;
539  ::google::protobuf::internal::ArenaStringPtr glossiness_map_;
540  ::google::protobuf::internal::ArenaStringPtr specular_map_;
541  ::google::protobuf::internal::ArenaStringPtr environment_map_;
542  ::google::protobuf::internal::ArenaStringPtr ambient_occlusion_map_;
543  ::google::protobuf::internal::ArenaStringPtr emissive_map_;
544  double metalness_;
545  double roughness_;
546  double glossiness_;
547  int type_;
548  mutable ::google::protobuf::internal::CachedSize _cached_size_;
549  friend struct ::protobuf_ignition_2fmsgs_2fmaterial_2eproto::TableStruct;
550 };
551 // -------------------------------------------------------------------
552 
553 class IGNITION_MSGS_VISIBLE Material : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Material) */ {
554  public:
555  Material();
556  virtual ~Material();
557 
558  Material(const Material& from);
559 
560  inline Material& operator=(const Material& from) {
561  CopyFrom(from);
562  return *this;
563  }
564  #if LANG_CXX11
565  Material(Material&& from) noexcept
566  : Material() {
567  *this = ::std::move(from);
568  }
569 
570  inline Material& operator=(Material&& from) noexcept {
571  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
572  if (this != &from) InternalSwap(&from);
573  } else {
574  CopyFrom(from);
575  }
576  return *this;
577  }
578  #endif
579  static const ::google::protobuf::Descriptor* descriptor();
580  static const Material& default_instance();
581 
582  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
583  static inline const Material* internal_default_instance() {
584  return reinterpret_cast<const Material*>(
586  }
587  static constexpr int kIndexInFileMessages =
588  2;
589 
590  void Swap(Material* other);
591  friend void swap(Material& a, Material& b) {
592  a.Swap(&b);
593  }
594 
595  // implements Message ----------------------------------------------
596 
597  inline Material* New() const final {
598  return CreateMaybeMessage<Material>(NULL);
599  }
600 
601  Material* New(::google::protobuf::Arena* arena) const final {
602  return CreateMaybeMessage<Material>(arena);
603  }
604  void CopyFrom(const ::google::protobuf::Message& from) final;
605  void MergeFrom(const ::google::protobuf::Message& from) final;
606  void CopyFrom(const Material& from);
607  void MergeFrom(const Material& from);
608  void Clear() final;
609  bool IsInitialized() const final;
610 
611  size_t ByteSizeLong() const final;
612  bool MergePartialFromCodedStream(
613  ::google::protobuf::io::CodedInputStream* input) final;
614  void SerializeWithCachedSizes(
615  ::google::protobuf::io::CodedOutputStream* output) const final;
616  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
617  bool deterministic, ::google::protobuf::uint8* target) const final;
618  int GetCachedSize() const final { return _cached_size_.Get(); }
619 
620  private:
621  void SharedCtor();
622  void SharedDtor();
623  void SetCachedSize(int size) const final;
624  void InternalSwap(Material* other);
625  private:
626  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
627  return NULL;
628  }
629  inline void* MaybeArenaPtr() const {
630  return NULL;
631  }
632  public:
633 
634  ::google::protobuf::Metadata GetMetadata() const final;
635 
636  // nested types ----------------------------------------------------
637 
639  typedef Material_PBR PBR;
640 
642  static const ShaderType VERTEX =
644  static const ShaderType PIXEL =
646  static const ShaderType NORMAL_MAP_OBJECT_SPACE =
648  static const ShaderType NORMAL_MAP_TANGENT_SPACE =
650  static inline bool ShaderType_IsValid(int value) {
651  return Material_ShaderType_IsValid(value);
652  }
653  static const ShaderType ShaderType_MIN =
655  static const ShaderType ShaderType_MAX =
657  static const int ShaderType_ARRAYSIZE =
659  static inline const ::google::protobuf::EnumDescriptor*
662  }
663  static inline const ::std::string& ShaderType_Name(ShaderType value) {
664  return Material_ShaderType_Name(value);
665  }
666  static inline bool ShaderType_Parse(const ::std::string& name,
667  ShaderType* value) {
668  return Material_ShaderType_Parse(name, value);
669  }
670 
671  // accessors -------------------------------------------------------
672 
673  // string normal_map = 4;
674  void clear_normal_map();
675  static const int kNormalMapFieldNumber = 4;
676  const ::std::string& normal_map() const;
677  void set_normal_map(const ::std::string& value);
678  #if LANG_CXX11
679  void set_normal_map(::std::string&& value);
680  #endif
681  void set_normal_map(const char* value);
682  void set_normal_map(const char* value, size_t size);
683  ::std::string* mutable_normal_map();
684  ::std::string* release_normal_map();
685  void set_allocated_normal_map(::std::string* normal_map);
686 
687  // .ignition.msgs.Header header = 1;
688  bool has_header() const;
689  void clear_header();
690  static const int kHeaderFieldNumber = 1;
691  private:
692  const ::ignition::msgs::Header& _internal_header() const;
693  public:
694  const ::ignition::msgs::Header& header() const;
695  ::ignition::msgs::Header* release_header();
696  ::ignition::msgs::Header* mutable_header();
697  void set_allocated_header(::ignition::msgs::Header* header);
698 
699  // .ignition.msgs.Material.Script script = 2;
700  bool has_script() const;
701  void clear_script();
702  static const int kScriptFieldNumber = 2;
703  private:
704  const ::ignition::msgs::Material_Script& _internal_script() const;
705  public:
706  const ::ignition::msgs::Material_Script& script() const;
707  ::ignition::msgs::Material_Script* release_script();
708  ::ignition::msgs::Material_Script* mutable_script();
709  void set_allocated_script(::ignition::msgs::Material_Script* script);
710 
711  // .ignition.msgs.Color ambient = 5;
712  bool has_ambient() const;
713  void clear_ambient();
714  static const int kAmbientFieldNumber = 5;
715  private:
716  const ::ignition::msgs::Color& _internal_ambient() const;
717  public:
718  const ::ignition::msgs::Color& ambient() const;
719  ::ignition::msgs::Color* release_ambient();
720  ::ignition::msgs::Color* mutable_ambient();
721  void set_allocated_ambient(::ignition::msgs::Color* ambient);
722 
723  // .ignition.msgs.Color diffuse = 6;
724  bool has_diffuse() const;
725  void clear_diffuse();
726  static const int kDiffuseFieldNumber = 6;
727  private:
728  const ::ignition::msgs::Color& _internal_diffuse() const;
729  public:
730  const ::ignition::msgs::Color& diffuse() const;
731  ::ignition::msgs::Color* release_diffuse();
732  ::ignition::msgs::Color* mutable_diffuse();
733  void set_allocated_diffuse(::ignition::msgs::Color* diffuse);
734 
735  // .ignition.msgs.Color specular = 7;
736  bool has_specular() const;
737  void clear_specular();
738  static const int kSpecularFieldNumber = 7;
739  private:
740  const ::ignition::msgs::Color& _internal_specular() const;
741  public:
742  const ::ignition::msgs::Color& specular() const;
743  ::ignition::msgs::Color* release_specular();
744  ::ignition::msgs::Color* mutable_specular();
745  void set_allocated_specular(::ignition::msgs::Color* specular);
746 
747  // .ignition.msgs.Color emissive = 8;
748  bool has_emissive() const;
749  void clear_emissive();
750  static const int kEmissiveFieldNumber = 8;
751  private:
752  const ::ignition::msgs::Color& _internal_emissive() const;
753  public:
754  const ::ignition::msgs::Color& emissive() const;
755  ::ignition::msgs::Color* release_emissive();
756  ::ignition::msgs::Color* mutable_emissive();
757  void set_allocated_emissive(::ignition::msgs::Color* emissive);
758 
759  // .ignition.msgs.Material.PBR pbr = 10;
760  bool has_pbr() const;
761  void clear_pbr();
762  static const int kPbrFieldNumber = 10;
763  private:
764  const ::ignition::msgs::Material_PBR& _internal_pbr() const;
765  public:
766  const ::ignition::msgs::Material_PBR& pbr() const;
767  ::ignition::msgs::Material_PBR* release_pbr();
768  ::ignition::msgs::Material_PBR* mutable_pbr();
769  void set_allocated_pbr(::ignition::msgs::Material_PBR* pbr);
770 
771  // .ignition.msgs.Material.ShaderType shader_type = 3;
772  void clear_shader_type();
773  static const int kShaderTypeFieldNumber = 3;
774  ::ignition::msgs::Material_ShaderType shader_type() const;
775  void set_shader_type(::ignition::msgs::Material_ShaderType value);
776 
777  // bool lighting = 9;
778  void clear_lighting();
779  static const int kLightingFieldNumber = 9;
780  bool lighting() const;
781  void set_lighting(bool value);
782 
783  // @@protoc_insertion_point(class_scope:ignition.msgs.Material)
784  private:
785 
786  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
787  ::google::protobuf::internal::ArenaStringPtr normal_map_;
788  ::ignition::msgs::Header* header_;
790  ::ignition::msgs::Color* ambient_;
791  ::ignition::msgs::Color* diffuse_;
792  ::ignition::msgs::Color* specular_;
793  ::ignition::msgs::Color* emissive_;
795  int shader_type_;
796  bool lighting_;
797  mutable ::google::protobuf::internal::CachedSize _cached_size_;
798  friend struct ::protobuf_ignition_2fmsgs_2fmaterial_2eproto::TableStruct;
799 };
800 // ===================================================================
801 
802 
803 // ===================================================================
804 
805 #ifdef __GNUC__
806  #pragma GCC diagnostic push
807  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
808 #endif // __GNUC__
809 // Material_Script
810 
811 // repeated string uri = 1;
812 inline int Material_Script::uri_size() const {
813  return uri_.size();
814 }
816  uri_.Clear();
817 }
818 inline const ::std::string& Material_Script::uri(int index) const {
819  // @@protoc_insertion_point(field_get:ignition.msgs.Material.Script.uri)
820  return uri_.Get(index);
821 }
822 inline ::std::string* Material_Script::mutable_uri(int index) {
823  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.Script.uri)
824  return uri_.Mutable(index);
825 }
826 inline void Material_Script::set_uri(int index, const ::std::string& value) {
827  // @@protoc_insertion_point(field_set:ignition.msgs.Material.Script.uri)
828  uri_.Mutable(index)->assign(value);
829 }
830 #if LANG_CXX11
831 inline void Material_Script::set_uri(int index, ::std::string&& value) {
832  // @@protoc_insertion_point(field_set:ignition.msgs.Material.Script.uri)
833  uri_.Mutable(index)->assign(std::move(value));
834 }
835 #endif
836 inline void Material_Script::set_uri(int index, const char* value) {
837  GOOGLE_DCHECK(value != NULL);
838  uri_.Mutable(index)->assign(value);
839  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.Script.uri)
840 }
841 inline void Material_Script::set_uri(int index, const char* value, size_t size) {
842  uri_.Mutable(index)->assign(
843  reinterpret_cast<const char*>(value), size);
844  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.Script.uri)
845 }
846 inline ::std::string* Material_Script::add_uri() {
847  // @@protoc_insertion_point(field_add_mutable:ignition.msgs.Material.Script.uri)
848  return uri_.Add();
849 }
850 inline void Material_Script::add_uri(const ::std::string& value) {
851  uri_.Add()->assign(value);
852  // @@protoc_insertion_point(field_add:ignition.msgs.Material.Script.uri)
853 }
854 #if LANG_CXX11
855 inline void Material_Script::add_uri(::std::string&& value) {
856  uri_.Add(std::move(value));
857  // @@protoc_insertion_point(field_add:ignition.msgs.Material.Script.uri)
858 }
859 #endif
860 inline void Material_Script::add_uri(const char* value) {
861  GOOGLE_DCHECK(value != NULL);
862  uri_.Add()->assign(value);
863  // @@protoc_insertion_point(field_add_char:ignition.msgs.Material.Script.uri)
864 }
865 inline void Material_Script::add_uri(const char* value, size_t size) {
866  uri_.Add()->assign(reinterpret_cast<const char*>(value), size);
867  // @@protoc_insertion_point(field_add_pointer:ignition.msgs.Material.Script.uri)
868 }
869 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
871  // @@protoc_insertion_point(field_list:ignition.msgs.Material.Script.uri)
872  return uri_;
873 }
874 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
876  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Material.Script.uri)
877  return &uri_;
878 }
879 
880 // string name = 2;
882  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
883 }
884 inline const ::std::string& Material_Script::name() const {
885  // @@protoc_insertion_point(field_get:ignition.msgs.Material.Script.name)
886  return name_.GetNoArena();
887 }
888 inline void Material_Script::set_name(const ::std::string& value) {
889 
890  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
891  // @@protoc_insertion_point(field_set:ignition.msgs.Material.Script.name)
892 }
893 #if LANG_CXX11
894 inline void Material_Script::set_name(::std::string&& value) {
895 
896  name_.SetNoArena(
897  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
898  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.Script.name)
899 }
900 #endif
901 inline void Material_Script::set_name(const char* value) {
902  GOOGLE_DCHECK(value != NULL);
903 
904  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
905  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.Script.name)
906 }
907 inline void Material_Script::set_name(const char* value, size_t size) {
908 
909  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
910  ::std::string(reinterpret_cast<const char*>(value), size));
911  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.Script.name)
912 }
913 inline ::std::string* Material_Script::mutable_name() {
914 
915  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.Script.name)
916  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
917 }
918 inline ::std::string* Material_Script::release_name() {
919  // @@protoc_insertion_point(field_release:ignition.msgs.Material.Script.name)
920 
921  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
922 }
924  if (name != NULL) {
925 
926  } else {
927 
928  }
929  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
930  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.Script.name)
931 }
932 
933 // -------------------------------------------------------------------
934 
935 // Material_PBR
936 
937 // .ignition.msgs.Material.PBR.WorkflowType type = 1;
939  type_ = 0;
940 }
942  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.type)
943  return static_cast< ::ignition::msgs::Material_PBR_WorkflowType >(type_);
944 }
946 
947  type_ = value;
948  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.type)
949 }
950 
951 // string albedo_map = 2;
953  albedo_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
954 }
955 inline const ::std::string& Material_PBR::albedo_map() const {
956  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.albedo_map)
957  return albedo_map_.GetNoArena();
958 }
959 inline void Material_PBR::set_albedo_map(const ::std::string& value) {
960 
961  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
962  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.albedo_map)
963 }
964 #if LANG_CXX11
965 inline void Material_PBR::set_albedo_map(::std::string&& value) {
966 
967  albedo_map_.SetNoArena(
968  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
969  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.albedo_map)
970 }
971 #endif
972 inline void Material_PBR::set_albedo_map(const char* value) {
973  GOOGLE_DCHECK(value != NULL);
974 
975  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
976  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.albedo_map)
977 }
978 inline void Material_PBR::set_albedo_map(const char* value, size_t size) {
979 
980  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
981  ::std::string(reinterpret_cast<const char*>(value), size));
982  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.albedo_map)
983 }
984 inline ::std::string* Material_PBR::mutable_albedo_map() {
985 
986  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.albedo_map)
987  return albedo_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
988 }
989 inline ::std::string* Material_PBR::release_albedo_map() {
990  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.albedo_map)
991 
992  return albedo_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
993 }
995  if (albedo_map != NULL) {
996 
997  } else {
998 
999  }
1000  albedo_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), albedo_map);
1001  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.albedo_map)
1002 }
1003 
1004 // string normal_map = 3;
1006  normal_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1007 }
1008 inline const ::std::string& Material_PBR::normal_map() const {
1009  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.normal_map)
1010  return normal_map_.GetNoArena();
1011 }
1012 inline void Material_PBR::set_normal_map(const ::std::string& value) {
1013 
1014  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1015  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.normal_map)
1016 }
1017 #if LANG_CXX11
1018 inline void Material_PBR::set_normal_map(::std::string&& value) {
1019 
1020  normal_map_.SetNoArena(
1021  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1022  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.normal_map)
1023 }
1024 #endif
1025 inline void Material_PBR::set_normal_map(const char* value) {
1026  GOOGLE_DCHECK(value != NULL);
1027 
1028  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1029  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.normal_map)
1030 }
1031 inline void Material_PBR::set_normal_map(const char* value, size_t size) {
1032 
1033  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1034  ::std::string(reinterpret_cast<const char*>(value), size));
1035  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.normal_map)
1036 }
1037 inline ::std::string* Material_PBR::mutable_normal_map() {
1038 
1039  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.normal_map)
1040  return normal_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1041 }
1042 inline ::std::string* Material_PBR::release_normal_map() {
1043  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.normal_map)
1044 
1045  return normal_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1046 }
1048  if (normal_map != NULL) {
1049 
1050  } else {
1051 
1052  }
1053  normal_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), normal_map);
1054  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.normal_map)
1055 }
1056 
1057 // double metalness = 4;
1059  metalness_ = 0;
1060 }
1061 inline double Material_PBR::metalness() const {
1062  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.metalness)
1063  return metalness_;
1064 }
1065 inline void Material_PBR::set_metalness(double value) {
1066 
1067  metalness_ = value;
1068  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.metalness)
1069 }
1070 
1071 // string metalness_map = 5;
1073  metalness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1074 }
1075 inline const ::std::string& Material_PBR::metalness_map() const {
1076  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.metalness_map)
1077  return metalness_map_.GetNoArena();
1078 }
1079 inline void Material_PBR::set_metalness_map(const ::std::string& value) {
1080 
1081  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1082  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.metalness_map)
1083 }
1084 #if LANG_CXX11
1085 inline void Material_PBR::set_metalness_map(::std::string&& value) {
1086 
1087  metalness_map_.SetNoArena(
1088  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1089  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.metalness_map)
1090 }
1091 #endif
1092 inline void Material_PBR::set_metalness_map(const char* value) {
1093  GOOGLE_DCHECK(value != NULL);
1094 
1095  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1096  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.metalness_map)
1097 }
1098 inline void Material_PBR::set_metalness_map(const char* value, size_t size) {
1099 
1100  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1101  ::std::string(reinterpret_cast<const char*>(value), size));
1102  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.metalness_map)
1103 }
1104 inline ::std::string* Material_PBR::mutable_metalness_map() {
1105 
1106  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.metalness_map)
1107  return metalness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1108 }
1109 inline ::std::string* Material_PBR::release_metalness_map() {
1110  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.metalness_map)
1111 
1112  return metalness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1113 }
1115  if (metalness_map != NULL) {
1116 
1117  } else {
1118 
1119  }
1120  metalness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), metalness_map);
1121  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.metalness_map)
1122 }
1123 
1124 // double roughness = 6;
1126  roughness_ = 0;
1127 }
1128 inline double Material_PBR::roughness() const {
1129  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.roughness)
1130  return roughness_;
1131 }
1132 inline void Material_PBR::set_roughness(double value) {
1133 
1134  roughness_ = value;
1135  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.roughness)
1136 }
1137 
1138 // string roughness_map = 7;
1140  roughness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1141 }
1142 inline const ::std::string& Material_PBR::roughness_map() const {
1143  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.roughness_map)
1144  return roughness_map_.GetNoArena();
1145 }
1146 inline void Material_PBR::set_roughness_map(const ::std::string& value) {
1147 
1148  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1149  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.roughness_map)
1150 }
1151 #if LANG_CXX11
1152 inline void Material_PBR::set_roughness_map(::std::string&& value) {
1153 
1154  roughness_map_.SetNoArena(
1155  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1156  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.roughness_map)
1157 }
1158 #endif
1159 inline void Material_PBR::set_roughness_map(const char* value) {
1160  GOOGLE_DCHECK(value != NULL);
1161 
1162  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1163  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.roughness_map)
1164 }
1165 inline void Material_PBR::set_roughness_map(const char* value, size_t size) {
1166 
1167  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1168  ::std::string(reinterpret_cast<const char*>(value), size));
1169  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.roughness_map)
1170 }
1171 inline ::std::string* Material_PBR::mutable_roughness_map() {
1172 
1173  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.roughness_map)
1174  return roughness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1175 }
1176 inline ::std::string* Material_PBR::release_roughness_map() {
1177  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.roughness_map)
1178 
1179  return roughness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1180 }
1182  if (roughness_map != NULL) {
1183 
1184  } else {
1185 
1186  }
1187  roughness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), roughness_map);
1188  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.roughness_map)
1189 }
1190 
1191 // double glossiness = 8;
1193  glossiness_ = 0;
1194 }
1195 inline double Material_PBR::glossiness() const {
1196  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.glossiness)
1197  return glossiness_;
1198 }
1199 inline void Material_PBR::set_glossiness(double value) {
1200 
1201  glossiness_ = value;
1202  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.glossiness)
1203 }
1204 
1205 // string glossiness_map = 9;
1207  glossiness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1208 }
1209 inline const ::std::string& Material_PBR::glossiness_map() const {
1210  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.glossiness_map)
1211  return glossiness_map_.GetNoArena();
1212 }
1213 inline void Material_PBR::set_glossiness_map(const ::std::string& value) {
1214 
1215  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1216  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.glossiness_map)
1217 }
1218 #if LANG_CXX11
1219 inline void Material_PBR::set_glossiness_map(::std::string&& value) {
1220 
1221  glossiness_map_.SetNoArena(
1222  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1223  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.glossiness_map)
1224 }
1225 #endif
1226 inline void Material_PBR::set_glossiness_map(const char* value) {
1227  GOOGLE_DCHECK(value != NULL);
1228 
1229  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1230  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.glossiness_map)
1231 }
1232 inline void Material_PBR::set_glossiness_map(const char* value, size_t size) {
1233 
1234  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1235  ::std::string(reinterpret_cast<const char*>(value), size));
1236  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.glossiness_map)
1237 }
1238 inline ::std::string* Material_PBR::mutable_glossiness_map() {
1239 
1240  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.glossiness_map)
1241  return glossiness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1242 }
1243 inline ::std::string* Material_PBR::release_glossiness_map() {
1244  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.glossiness_map)
1245 
1246  return glossiness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1247 }
1249  if (glossiness_map != NULL) {
1250 
1251  } else {
1252 
1253  }
1254  glossiness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), glossiness_map);
1255  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.glossiness_map)
1256 }
1257 
1258 // string specular_map = 10;
1260  specular_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1261 }
1262 inline const ::std::string& Material_PBR::specular_map() const {
1263  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.specular_map)
1264  return specular_map_.GetNoArena();
1265 }
1266 inline void Material_PBR::set_specular_map(const ::std::string& value) {
1267 
1268  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1269  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.specular_map)
1270 }
1271 #if LANG_CXX11
1272 inline void Material_PBR::set_specular_map(::std::string&& value) {
1273 
1274  specular_map_.SetNoArena(
1275  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1276  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.specular_map)
1277 }
1278 #endif
1279 inline void Material_PBR::set_specular_map(const char* value) {
1280  GOOGLE_DCHECK(value != NULL);
1281 
1282  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1283  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.specular_map)
1284 }
1285 inline void Material_PBR::set_specular_map(const char* value, size_t size) {
1286 
1287  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1288  ::std::string(reinterpret_cast<const char*>(value), size));
1289  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.specular_map)
1290 }
1291 inline ::std::string* Material_PBR::mutable_specular_map() {
1292 
1293  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.specular_map)
1294  return specular_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1295 }
1296 inline ::std::string* Material_PBR::release_specular_map() {
1297  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.specular_map)
1298 
1299  return specular_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1300 }
1302  if (specular_map != NULL) {
1303 
1304  } else {
1305 
1306  }
1307  specular_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), specular_map);
1308  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.specular_map)
1309 }
1310 
1311 // string environment_map = 11;
1313  environment_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1314 }
1315 inline const ::std::string& Material_PBR::environment_map() const {
1316  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.environment_map)
1317  return environment_map_.GetNoArena();
1318 }
1319 inline void Material_PBR::set_environment_map(const ::std::string& value) {
1320 
1321  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1322  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.environment_map)
1323 }
1324 #if LANG_CXX11
1325 inline void Material_PBR::set_environment_map(::std::string&& value) {
1326 
1327  environment_map_.SetNoArena(
1328  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1329  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.environment_map)
1330 }
1331 #endif
1332 inline void Material_PBR::set_environment_map(const char* value) {
1333  GOOGLE_DCHECK(value != NULL);
1334 
1335  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1336  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.environment_map)
1337 }
1338 inline void Material_PBR::set_environment_map(const char* value, size_t size) {
1339 
1340  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1341  ::std::string(reinterpret_cast<const char*>(value), size));
1342  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.environment_map)
1343 }
1344 inline ::std::string* Material_PBR::mutable_environment_map() {
1345 
1346  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.environment_map)
1347  return environment_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1348 }
1349 inline ::std::string* Material_PBR::release_environment_map() {
1350  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.environment_map)
1351 
1352  return environment_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1353 }
1355  if (environment_map != NULL) {
1356 
1357  } else {
1358 
1359  }
1360  environment_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), environment_map);
1361  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.environment_map)
1362 }
1363 
1364 // string ambient_occlusion_map = 12;
1366  ambient_occlusion_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1367 }
1368 inline const ::std::string& Material_PBR::ambient_occlusion_map() const {
1369  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.ambient_occlusion_map)
1370  return ambient_occlusion_map_.GetNoArena();
1371 }
1372 inline void Material_PBR::set_ambient_occlusion_map(const ::std::string& value) {
1373 
1374  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1375  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.ambient_occlusion_map)
1376 }
1377 #if LANG_CXX11
1379 
1380  ambient_occlusion_map_.SetNoArena(
1381  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1382  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.ambient_occlusion_map)
1383 }
1384 #endif
1385 inline void Material_PBR::set_ambient_occlusion_map(const char* value) {
1386  GOOGLE_DCHECK(value != NULL);
1387 
1388  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1389  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.ambient_occlusion_map)
1390 }
1391 inline void Material_PBR::set_ambient_occlusion_map(const char* value, size_t size) {
1392 
1393  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1394  ::std::string(reinterpret_cast<const char*>(value), size));
1395  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.ambient_occlusion_map)
1396 }
1398 
1399  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.ambient_occlusion_map)
1400  return ambient_occlusion_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1401 }
1403  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.ambient_occlusion_map)
1404 
1405  return ambient_occlusion_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1406 }
1408  if (ambient_occlusion_map != NULL) {
1409 
1410  } else {
1411 
1412  }
1413  ambient_occlusion_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ambient_occlusion_map);
1414  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.ambient_occlusion_map)
1415 }
1416 
1417 // string emissive_map = 13;
1419  emissive_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1420 }
1421 inline const ::std::string& Material_PBR::emissive_map() const {
1422  // @@protoc_insertion_point(field_get:ignition.msgs.Material.PBR.emissive_map)
1423  return emissive_map_.GetNoArena();
1424 }
1425 inline void Material_PBR::set_emissive_map(const ::std::string& value) {
1426 
1427  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1428  // @@protoc_insertion_point(field_set:ignition.msgs.Material.PBR.emissive_map)
1429 }
1430 #if LANG_CXX11
1431 inline void Material_PBR::set_emissive_map(::std::string&& value) {
1432 
1433  emissive_map_.SetNoArena(
1434  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1435  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.PBR.emissive_map)
1436 }
1437 #endif
1438 inline void Material_PBR::set_emissive_map(const char* value) {
1439  GOOGLE_DCHECK(value != NULL);
1440 
1441  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1442  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.PBR.emissive_map)
1443 }
1444 inline void Material_PBR::set_emissive_map(const char* value, size_t size) {
1445 
1446  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1447  ::std::string(reinterpret_cast<const char*>(value), size));
1448  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.PBR.emissive_map)
1449 }
1450 inline ::std::string* Material_PBR::mutable_emissive_map() {
1451 
1452  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.PBR.emissive_map)
1453  return emissive_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1454 }
1455 inline ::std::string* Material_PBR::release_emissive_map() {
1456  // @@protoc_insertion_point(field_release:ignition.msgs.Material.PBR.emissive_map)
1457 
1458  return emissive_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1459 }
1461  if (emissive_map != NULL) {
1462 
1463  } else {
1464 
1465  }
1466  emissive_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), emissive_map);
1467  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.PBR.emissive_map)
1468 }
1469 
1470 // -------------------------------------------------------------------
1471 
1472 // Material
1473 
1474 // .ignition.msgs.Header header = 1;
1475 inline bool Material::has_header() const {
1476  return this != internal_default_instance() && header_ != NULL;
1477 }
1478 inline const ::ignition::msgs::Header& Material::_internal_header() const {
1479  return *header_;
1480 }
1481 inline const ::ignition::msgs::Header& Material::header() const {
1482  const ::ignition::msgs::Header* p = header_;
1483  // @@protoc_insertion_point(field_get:ignition.msgs.Material.header)
1484  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
1486 }
1487 inline ::ignition::msgs::Header* Material::release_header() {
1488  // @@protoc_insertion_point(field_release:ignition.msgs.Material.header)
1489 
1490  ::ignition::msgs::Header* temp = header_;
1491  header_ = NULL;
1492  return temp;
1493 }
1494 inline ::ignition::msgs::Header* Material::mutable_header() {
1495 
1496  if (header_ == NULL) {
1497  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
1498  header_ = p;
1499  }
1500  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.header)
1501  return header_;
1502 }
1504  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1505  if (message_arena == NULL) {
1506  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
1507  }
1508  if (header) {
1509  ::google::protobuf::Arena* submessage_arena = NULL;
1510  if (message_arena != submessage_arena) {
1511  header = ::google::protobuf::internal::GetOwnedMessage(
1512  message_arena, header, submessage_arena);
1513  }
1514 
1515  } else {
1516 
1517  }
1518  header_ = header;
1519  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.header)
1520 }
1521 
1522 // .ignition.msgs.Material.Script script = 2;
1523 inline bool Material::has_script() const {
1524  return this != internal_default_instance() && script_ != NULL;
1525 }
1526 inline void Material::clear_script() {
1527  if (GetArenaNoVirtual() == NULL && script_ != NULL) {
1528  delete script_;
1529  }
1530  script_ = NULL;
1531 }
1532 inline const ::ignition::msgs::Material_Script& Material::_internal_script() const {
1533  return *script_;
1534 }
1535 inline const ::ignition::msgs::Material_Script& Material::script() const {
1536  const ::ignition::msgs::Material_Script* p = script_;
1537  // @@protoc_insertion_point(field_get:ignition.msgs.Material.script)
1538  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Material_Script*>(
1540 }
1541 inline ::ignition::msgs::Material_Script* Material::release_script() {
1542  // @@protoc_insertion_point(field_release:ignition.msgs.Material.script)
1543 
1544  ::ignition::msgs::Material_Script* temp = script_;
1545  script_ = NULL;
1546  return temp;
1547 }
1548 inline ::ignition::msgs::Material_Script* Material::mutable_script() {
1549 
1550  if (script_ == NULL) {
1551  auto* p = CreateMaybeMessage<::ignition::msgs::Material_Script>(GetArenaNoVirtual());
1552  script_ = p;
1553  }
1554  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.script)
1555  return script_;
1556 }
1558  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1559  if (message_arena == NULL) {
1560  delete script_;
1561  }
1562  if (script) {
1563  ::google::protobuf::Arena* submessage_arena = NULL;
1564  if (message_arena != submessage_arena) {
1565  script = ::google::protobuf::internal::GetOwnedMessage(
1566  message_arena, script, submessage_arena);
1567  }
1568 
1569  } else {
1570 
1571  }
1572  script_ = script;
1573  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.script)
1574 }
1575 
1576 // .ignition.msgs.Material.ShaderType shader_type = 3;
1578  shader_type_ = 0;
1579 }
1581  // @@protoc_insertion_point(field_get:ignition.msgs.Material.shader_type)
1582  return static_cast< ::ignition::msgs::Material_ShaderType >(shader_type_);
1583 }
1585 
1586  shader_type_ = value;
1587  // @@protoc_insertion_point(field_set:ignition.msgs.Material.shader_type)
1588 }
1589 
1590 // string normal_map = 4;
1592  normal_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1593 }
1594 inline const ::std::string& Material::normal_map() const {
1595  // @@protoc_insertion_point(field_get:ignition.msgs.Material.normal_map)
1596  return normal_map_.GetNoArena();
1597 }
1598 inline void Material::set_normal_map(const ::std::string& value) {
1599 
1600  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1601  // @@protoc_insertion_point(field_set:ignition.msgs.Material.normal_map)
1602 }
1603 #if LANG_CXX11
1604 inline void Material::set_normal_map(::std::string&& value) {
1605 
1606  normal_map_.SetNoArena(
1607  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1608  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Material.normal_map)
1609 }
1610 #endif
1611 inline void Material::set_normal_map(const char* value) {
1612  GOOGLE_DCHECK(value != NULL);
1613 
1614  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1615  // @@protoc_insertion_point(field_set_char:ignition.msgs.Material.normal_map)
1616 }
1617 inline void Material::set_normal_map(const char* value, size_t size) {
1618 
1619  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1620  ::std::string(reinterpret_cast<const char*>(value), size));
1621  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Material.normal_map)
1622 }
1623 inline ::std::string* Material::mutable_normal_map() {
1624 
1625  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.normal_map)
1626  return normal_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1627 }
1628 inline ::std::string* Material::release_normal_map() {
1629  // @@protoc_insertion_point(field_release:ignition.msgs.Material.normal_map)
1630 
1631  return normal_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1632 }
1634  if (normal_map != NULL) {
1635 
1636  } else {
1637 
1638  }
1639  normal_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), normal_map);
1640  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.normal_map)
1641 }
1642 
1643 // .ignition.msgs.Color ambient = 5;
1644 inline bool Material::has_ambient() const {
1645  return this != internal_default_instance() && ambient_ != NULL;
1646 }
1647 inline const ::ignition::msgs::Color& Material::_internal_ambient() const {
1648  return *ambient_;
1649 }
1650 inline const ::ignition::msgs::Color& Material::ambient() const {
1651  const ::ignition::msgs::Color* p = ambient_;
1652  // @@protoc_insertion_point(field_get:ignition.msgs.Material.ambient)
1653  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
1655 }
1656 inline ::ignition::msgs::Color* Material::release_ambient() {
1657  // @@protoc_insertion_point(field_release:ignition.msgs.Material.ambient)
1658 
1659  ::ignition::msgs::Color* temp = ambient_;
1660  ambient_ = NULL;
1661  return temp;
1662 }
1663 inline ::ignition::msgs::Color* Material::mutable_ambient() {
1664 
1665  if (ambient_ == NULL) {
1666  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
1667  ambient_ = p;
1668  }
1669  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.ambient)
1670  return ambient_;
1671 }
1673  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1674  if (message_arena == NULL) {
1675  delete reinterpret_cast< ::google::protobuf::MessageLite*>(ambient_);
1676  }
1677  if (ambient) {
1678  ::google::protobuf::Arena* submessage_arena = NULL;
1679  if (message_arena != submessage_arena) {
1680  ambient = ::google::protobuf::internal::GetOwnedMessage(
1681  message_arena, ambient, submessage_arena);
1682  }
1683 
1684  } else {
1685 
1686  }
1687  ambient_ = ambient;
1688  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.ambient)
1689 }
1690 
1691 // .ignition.msgs.Color diffuse = 6;
1692 inline bool Material::has_diffuse() const {
1693  return this != internal_default_instance() && diffuse_ != NULL;
1694 }
1695 inline const ::ignition::msgs::Color& Material::_internal_diffuse() const {
1696  return *diffuse_;
1697 }
1698 inline const ::ignition::msgs::Color& Material::diffuse() const {
1699  const ::ignition::msgs::Color* p = diffuse_;
1700  // @@protoc_insertion_point(field_get:ignition.msgs.Material.diffuse)
1701  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
1703 }
1704 inline ::ignition::msgs::Color* Material::release_diffuse() {
1705  // @@protoc_insertion_point(field_release:ignition.msgs.Material.diffuse)
1706 
1707  ::ignition::msgs::Color* temp = diffuse_;
1708  diffuse_ = NULL;
1709  return temp;
1710 }
1711 inline ::ignition::msgs::Color* Material::mutable_diffuse() {
1712 
1713  if (diffuse_ == NULL) {
1714  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
1715  diffuse_ = p;
1716  }
1717  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.diffuse)
1718  return diffuse_;
1719 }
1721  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1722  if (message_arena == NULL) {
1723  delete reinterpret_cast< ::google::protobuf::MessageLite*>(diffuse_);
1724  }
1725  if (diffuse) {
1726  ::google::protobuf::Arena* submessage_arena = NULL;
1727  if (message_arena != submessage_arena) {
1728  diffuse = ::google::protobuf::internal::GetOwnedMessage(
1729  message_arena, diffuse, submessage_arena);
1730  }
1731 
1732  } else {
1733 
1734  }
1735  diffuse_ = diffuse;
1736  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.diffuse)
1737 }
1738 
1739 // .ignition.msgs.Color specular = 7;
1740 inline bool Material::has_specular() const {
1741  return this != internal_default_instance() && specular_ != NULL;
1742 }
1743 inline const ::ignition::msgs::Color& Material::_internal_specular() const {
1744  return *specular_;
1745 }
1746 inline const ::ignition::msgs::Color& Material::specular() const {
1747  const ::ignition::msgs::Color* p = specular_;
1748  // @@protoc_insertion_point(field_get:ignition.msgs.Material.specular)
1749  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
1751 }
1752 inline ::ignition::msgs::Color* Material::release_specular() {
1753  // @@protoc_insertion_point(field_release:ignition.msgs.Material.specular)
1754 
1755  ::ignition::msgs::Color* temp = specular_;
1756  specular_ = NULL;
1757  return temp;
1758 }
1759 inline ::ignition::msgs::Color* Material::mutable_specular() {
1760 
1761  if (specular_ == NULL) {
1762  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
1763  specular_ = p;
1764  }
1765  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.specular)
1766  return specular_;
1767 }
1769  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1770  if (message_arena == NULL) {
1771  delete reinterpret_cast< ::google::protobuf::MessageLite*>(specular_);
1772  }
1773  if (specular) {
1774  ::google::protobuf::Arena* submessage_arena = NULL;
1775  if (message_arena != submessage_arena) {
1776  specular = ::google::protobuf::internal::GetOwnedMessage(
1777  message_arena, specular, submessage_arena);
1778  }
1779 
1780  } else {
1781 
1782  }
1783  specular_ = specular;
1784  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.specular)
1785 }
1786 
1787 // .ignition.msgs.Color emissive = 8;
1788 inline bool Material::has_emissive() const {
1789  return this != internal_default_instance() && emissive_ != NULL;
1790 }
1791 inline const ::ignition::msgs::Color& Material::_internal_emissive() const {
1792  return *emissive_;
1793 }
1794 inline const ::ignition::msgs::Color& Material::emissive() const {
1795  const ::ignition::msgs::Color* p = emissive_;
1796  // @@protoc_insertion_point(field_get:ignition.msgs.Material.emissive)
1797  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
1799 }
1800 inline ::ignition::msgs::Color* Material::release_emissive() {
1801  // @@protoc_insertion_point(field_release:ignition.msgs.Material.emissive)
1802 
1803  ::ignition::msgs::Color* temp = emissive_;
1804  emissive_ = NULL;
1805  return temp;
1806 }
1807 inline ::ignition::msgs::Color* Material::mutable_emissive() {
1808 
1809  if (emissive_ == NULL) {
1810  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
1811  emissive_ = p;
1812  }
1813  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.emissive)
1814  return emissive_;
1815 }
1817  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1818  if (message_arena == NULL) {
1819  delete reinterpret_cast< ::google::protobuf::MessageLite*>(emissive_);
1820  }
1821  if (emissive) {
1822  ::google::protobuf::Arena* submessage_arena = NULL;
1823  if (message_arena != submessage_arena) {
1824  emissive = ::google::protobuf::internal::GetOwnedMessage(
1825  message_arena, emissive, submessage_arena);
1826  }
1827 
1828  } else {
1829 
1830  }
1831  emissive_ = emissive;
1832  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.emissive)
1833 }
1834 
1835 // bool lighting = 9;
1837  lighting_ = false;
1838 }
1839 inline bool Material::lighting() const {
1840  // @@protoc_insertion_point(field_get:ignition.msgs.Material.lighting)
1841  return lighting_;
1842 }
1843 inline void Material::set_lighting(bool value) {
1844 
1845  lighting_ = value;
1846  // @@protoc_insertion_point(field_set:ignition.msgs.Material.lighting)
1847 }
1848 
1849 // .ignition.msgs.Material.PBR pbr = 10;
1850 inline bool Material::has_pbr() const {
1851  return this != internal_default_instance() && pbr_ != NULL;
1852 }
1853 inline void Material::clear_pbr() {
1854  if (GetArenaNoVirtual() == NULL && pbr_ != NULL) {
1855  delete pbr_;
1856  }
1857  pbr_ = NULL;
1858 }
1859 inline const ::ignition::msgs::Material_PBR& Material::_internal_pbr() const {
1860  return *pbr_;
1861 }
1862 inline const ::ignition::msgs::Material_PBR& Material::pbr() const {
1863  const ::ignition::msgs::Material_PBR* p = pbr_;
1864  // @@protoc_insertion_point(field_get:ignition.msgs.Material.pbr)
1865  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Material_PBR*>(
1867 }
1868 inline ::ignition::msgs::Material_PBR* Material::release_pbr() {
1869  // @@protoc_insertion_point(field_release:ignition.msgs.Material.pbr)
1870 
1871  ::ignition::msgs::Material_PBR* temp = pbr_;
1872  pbr_ = NULL;
1873  return temp;
1874 }
1875 inline ::ignition::msgs::Material_PBR* Material::mutable_pbr() {
1876 
1877  if (pbr_ == NULL) {
1878  auto* p = CreateMaybeMessage<::ignition::msgs::Material_PBR>(GetArenaNoVirtual());
1879  pbr_ = p;
1880  }
1881  // @@protoc_insertion_point(field_mutable:ignition.msgs.Material.pbr)
1882  return pbr_;
1883 }
1885  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1886  if (message_arena == NULL) {
1887  delete pbr_;
1888  }
1889  if (pbr) {
1890  ::google::protobuf::Arena* submessage_arena = NULL;
1891  if (message_arena != submessage_arena) {
1892  pbr = ::google::protobuf::internal::GetOwnedMessage(
1893  message_arena, pbr, submessage_arena);
1894  }
1895 
1896  } else {
1897 
1898  }
1899  pbr_ = pbr;
1900  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Material.pbr)
1901 }
1902 
1903 #ifdef __GNUC__
1904  #pragma GCC diagnostic pop
1905 #endif // __GNUC__
1906 // -------------------------------------------------------------------
1907 
1908 // -------------------------------------------------------------------
1909 
1910 
1915 // @@protoc_insertion_point(namespace_scope)
1916 
1917 } // namespace msgs
1918 } // namespace ignition
1919 
1920 namespace google {
1921 namespace protobuf {
1922 
1923 template <> struct is_proto_enum< ::ignition::msgs::Material_PBR_WorkflowType> : ::std::true_type {};
1924 template <>
1925 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Material_PBR_WorkflowType>() {
1927 }
1928 template <> struct is_proto_enum< ::ignition::msgs::Material_ShaderType> : ::std::true_type {};
1929 template <>
1930 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Material_ShaderType>() {
1932 }
1933 
1934 } // namespace protobuf
1935 } // namespace google
1936 
1937 #ifdef _MSC_VER
1938 #pragma warning(pop)
1939 #endif
1940 // @@protoc_insertion_point(global_scope)
1941 
1942 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fmaterial_2eproto
const ::ignition::msgs::Color & ambient() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1650
Material_Script * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:176
::ignition::msgs::Color * release_ambient()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1656
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-msgs5/include/ignition/msgs/material.pb.h:1243
static const Material_PBR * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:296
void set_allocated_emissive(::ignition::msgs::Color *emissive)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1816
void set_allocated_albedo_map(::std::string *albedo_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:994
friend void swap(Material_PBR &a, Material_PBR &b)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:304
IGNITION_MSGS_VISIBLE bool Material_ShaderType_IsValid(int value)
static const Material_Script * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:162
::std::string * add_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:846
STL class.
STL class.
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1481
::ignition::msgs::Color * release_diffuse()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1704
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Material_ShaderType_descriptor()
Material * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:597
std::shared_ptr< Material > MaterialSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1913
void set_allocated_environment_map(::std::string *environment_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1354
T move(T... args)
::ignition::msgs::Material_Script * release_script()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1541
static const Material * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:583
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1475
::std::string * release_normal_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1042
const ::std::string & roughness_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1142
void set_allocated_emissive_map(::std::string *emissive_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1460
::ignition::msgs::Color * release_emissive()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1800
::ignition::msgs::Color * mutable_emissive()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1807
::ignition::msgs::Material_Script * mutable_script()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1548
const ::std::string & metalness_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1075
@ Material_PBR_WorkflowType_Material_PBR_WorkflowType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:89
void set_allocated_glossiness_map(::std::string *glossiness_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1248
friend void swap(Material &a, Material &b)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:591
void set_specular_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1266
const ::ignition::msgs::Material_PBR & pbr() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1862
::ignition::msgs::Material_PBR * mutable_pbr()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1875
::std::string * mutable_roughness_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1171
double metalness() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1061
bool lighting() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1839
::std::string * mutable_normal_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1623
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1494
void set_glossiness_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1213
@ Material_ShaderType_Material_ShaderType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:113
const ::std::string & emissive_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1421
void clear_name()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:881
::std::string * mutable_name()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:913
void clear_lighting()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1836
void set_normal_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1012
void set_ambient_occlusion_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1372
::std::string * mutable_specular_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1291
const ::ignition::msgs::Material_Script & script() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1535
void set_glossiness(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1199
::ignition::msgs::Color * mutable_diffuse()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1711
::std::string * mutable_environment_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1344
void clear_ambient_occlusion_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1365
void set_shader_type(::ignition::msgs::Material_ShaderType value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1584
const ::ignition::msgs::Color & diffuse() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1698
Material_PBR & operator=(const Material_PBR &from)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:273
const int Material_ShaderType_ShaderType_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:118
void set_name(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:888
void Swap(Material_PBR *other)
void set_allocated_ambient_occlusion_map(::std::string *ambient_occlusion_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1407
void set_allocated_normal_map(::std::string *normal_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1633
::std::string * release_specular_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1296
void clear_glossiness_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1206
Material_Script * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:180
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:875
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:132
@ Material_PBR_WorkflowType_METAL
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:87
void clear_metalness_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1072
::std::string * mutable_albedo_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:984
std::unique_ptr< Material > MaterialUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1911
void set_allocated_ambient(::ignition::msgs::Color *ambient)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1672
void set_metalness_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1079
void clear_normal_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1005
double roughness() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1128
void clear_albedo_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:952
void set_allocated_normal_map(::std::string *normal_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1047
Material_PBR * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:314
void set_type(::ignition::msgs::Material_PBR_WorkflowType value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:945
void set_allocated_pbr(::ignition::msgs::Material_PBR *pbr)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1884
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1487
std::shared_ptr< const Material > ConstMaterialSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1914
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
void clear_shader_type()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1577
void clear_environment_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1312
const ::std::string & Material_PBR_WorkflowType_Name(Material_PBR_WorkflowType value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:98
::ignition::msgs::Color * mutable_specular()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1759
@ Material_PBR_WorkflowType_Material_PBR_WorkflowType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:90
::std::string * release_roughness_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1176
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:50
void set_allocated_specular(::ignition::msgs::Color *specular)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1768
friend void swap(Material_Script &a, Material_Script &b)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:170
::ignition::msgs::Color * mutable_ambient()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1663
::std::string * release_emissive_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1455
const ::std::string & name() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:884
void set_roughness_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1146
Material * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:601
bool Material_ShaderType_Parse(const ::std::string &name, Material_ShaderType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:125
void Swap(Material *other)
double glossiness() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1195
const ::std::string & albedo_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:955
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:553
bool has_emissive() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1788
void set_allocated_script(::ignition::msgs::Material_Script *script)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1557
::std::string * release_albedo_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:989
Definition: build/ignition-msgs5/include/ignition/msgs/color.pb.h:77
void set_normal_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1598
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:266
void clear_glossiness()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1192
void clear_specular_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1259
@ Material_PBR_WorkflowType_NONE
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:86
void clear_script()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1526
static const ::std::string & ShaderType_Name(ShaderType value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:663
void set_roughness(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1132
IGNITION_MSGS_VISIBLE bool Material_PBR_WorkflowType_IsValid(int value)
static bool ShaderType_Parse(const ::std::string &name, ShaderType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:666
void set_allocated_roughness_map(::std::string *roughness_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1181
IGNITION_MSGS_VISIBLE Material_PBRDefaultTypeInternal _Material_PBR_default_instance_
const Material_PBR_WorkflowType Material_PBR_WorkflowType_WorkflowType_MIN
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:93
bool has_script() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1523
static bool WorkflowType_Parse(const ::std::string &name, WorkflowType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:374
@ Material_ShaderType_Material_ShaderType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:112
::ignition::msgs::Material_ShaderType shader_type() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1580
::std::string * mutable_normal_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1037
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:52
const ::std::string & normal_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1008
void clear_roughness_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1139
void set_albedo_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:959
@ Material_ShaderType_PIXEL
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:109
void clear_metalness()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1058
void clear_normal_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1591
Material & operator=(const Material &from)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:560
::ignition::msgs::Material_PBR * release_pbr()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1868
void set_uri(int index, const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:826
void set_allocated_metalness_map(::std::string *metalness_map)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1114
void clear_roughness()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1125
::ignition::msgs::Color * release_specular()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1752
Material_PBR_WorkflowType
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:85
void clear_pbr()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1853
::std::string * mutable_glossiness_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1238
Material_PBR * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:310
const ::std::string & normal_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1594
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1503
void clear_emissive_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1418
static const ::std::string & WorkflowType_Name(WorkflowType value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:371
void set_lighting(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1843
int uri_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:812
const int Material_PBR_WorkflowType_WorkflowType_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:95
STL namespace.
void set_environment_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1319
void set_emissive_map(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1425
bool has_diffuse() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1692
const ::std::string & specular_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1262
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
bool Material_PBR_WorkflowType_Parse(const ::std::string &name, Material_PBR_WorkflowType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:102
::std::string * mutable_ambient_occlusion_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1397
const ::std::string & glossiness_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1209
::std::string * release_normal_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1628
const Material_ShaderType Material_ShaderType_ShaderType_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:117
const ::std::string & Material_ShaderType_Name(Material_ShaderType value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:121
const ::ignition::msgs::Color & specular() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1746
void set_metalness(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1065
std::unique_ptr< const Material > ConstMaterialUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1912
::std::string * release_environment_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1349
void set_allocated_diffuse(::ignition::msgs::Color *diffuse)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1720
@ Material_ShaderType_VERTEX
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:108
::std::string * mutable_emissive_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1450
const Material_PBR_WorkflowType Material_PBR_WorkflowType_WorkflowType_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:94
bool has_specular() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1740
const ::std::string & environment_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1315
@ Material_ShaderType_NORMAL_MAP_TANGENT_SPACE
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:111
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:923
const ::google::protobuf::RepeatedPtrField< ::std::string > & uri() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:870
Material_Script & operator=(const Material_Script &from)
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:139
bool has_ambient() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1644
::std::string * release_metalness_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1109
STL class.
const ::ignition::msgs::Color & emissive() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1794
@ Material_PBR_WorkflowType_SPECULAR
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:88
::std::string * release_name()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:918
::std::string * mutable_metalness_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1104
void clear_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:815
static const ::google::protobuf::EnumDescriptor * ShaderType_descriptor()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:660
@ Material_ShaderType_NORMAL_MAP_OBJECT_SPACE
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:110
IGNITION_MSGS_VISIBLE MaterialDefaultTypeInternal _Material_default_instance_
::std::string * release_ambient_occlusion_map()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1402
bool has_pbr() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1850
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
const ::std::string & ambient_occlusion_map() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:1368
static const ::google::protobuf::EnumDescriptor * WorkflowType_descriptor()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:368
::ignition::msgs::Material_PBR_WorkflowType type() const
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:941
void clear_type()
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:938
const Material_ShaderType Material_ShaderType_ShaderType_MIN
Definition: build/ignition-msgs5/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-msgs5/include/ignition/msgs/material.pb.h:1301
Material_ShaderType
Definition: build/ignition-msgs5/include/ignition/msgs/material.pb.h:107