opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
vertex_attribute_descriptor.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <cstddef>
7
8namespace osc
9{
11 public:
19
20 friend bool operator==(const VertexAttributeDescriptor&, const VertexAttributeDescriptor&) = default;
21
22 VertexAttribute attribute() const { return attribute_; }
23 VertexAttributeFormat format() const { return format_; }
24 size_t stride() const;
25
26 private:
27 VertexAttribute attribute_;
29 };
30}
Definition vertex_attribute_descriptor.h:10
VertexAttributeFormat format() const
Definition vertex_attribute_descriptor.h:23
VertexAttribute attribute() const
Definition vertex_attribute_descriptor.h:22
friend bool operator==(const VertexAttributeDescriptor &, const VertexAttributeDescriptor &)=default
VertexAttributeDescriptor(VertexAttribute attribute, VertexAttributeFormat format)
Definition vertex_attribute_descriptor.h:12
Definition custom_decoration_generator.h:5
VertexAttribute
Definition vertex_attribute.h:9
VertexAttributeFormat
Definition vertex_attribute_format.h:5