45 bool has_attribute(
const char *attribute_name, Topology topology)
const;
52 T write_attribute(
const char *attribute_name, Topology topology);
57 const Value read_attribute(
const char *attribute_name, Topology topology)
const;
60 bool set_attribute(
const char *name, Topology topology,
const Value &value);
64 bool remove_attribute(
const char *name, Topology topology);
71 size_t topology_size(Topology topology)
const;
109 const void *_internal;
121 std::shared_ptr<Impl> _value;
128 Shape(std::shared_ptr<Impl> impl) { _impl=impl; }
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT SparseBuffer< int32_t >
Definition: SparseBuffer.h:122
Topology
The different attribute topologies.
Definition: Shape.h:36
A Shape attribute, with name, value and topology.
Definition: Shape.h:74
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT IndexedBuffer< float >
Definition: IndexedBuffer.h:113
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT Buffer< uint8_t >
Definition: Buffer.h:216
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT SparseBuffer< float >
Definition: SparseBuffer.h:125
StringView name
The attribute name.
Definition: Shape.h:77
A value with geometrical attributes. Base of all shape values.
Definition: Shape.h:26
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT IndexedBuffer< uint32_t >
Definition: IndexedBuffer.h:112
A shape attributes iterator.
Definition: Shape.h:90
The attribute is a per-vertex buffer.
Definition: Shape.h:39
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT IndexedBuffer< int32_t >
Definition: IndexedBuffer.h:110
maquina::Shape::Topology topology
The attribute topology.
Definition: Shape.h:81
#define MAQUINA_EXPORT
Definition: Export.h:31
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT SparseBuffer< uint8_t >
Definition: SparseBuffer.h:123
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT Buffer< int32_t >
Definition: Buffer.h:215
bool operator!=(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:305
An shape's attribute iteration.
Definition: Shape.h:86
maquina::Value value
The attribute value.
Definition: Shape.h:79
bool operator==(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:273
#define MAQUINA_EXTERN_TEMPLATE
Definition: Export.h:25
The attribute is a per-face buffer.
Definition: Shape.h:40
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT Buffer< float >
Definition: Buffer.h:218
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT IndexedBuffer< uint8_t >
Definition: IndexedBuffer.h:111
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT Buffer< uint32_t >
Definition: Buffer.h:217
The attribute is a per-face corner buffer.
Definition: Shape.h:41
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT SparseBuffer< uint32_t >
Definition: SparseBuffer.h:124
Color4< T > operator*(S a, const Color4< T > &v)
Definition: ImathColor.h:727
Base class of all Rumba values.
Definition: Value.h:34