47 bool has_attribute(
const char *attribute_name, Topology topology)
const;
54 T write_attribute(
const char *attribute_name, Topology topology);
59 const Value read_attribute(
const char *attribute_name, Topology topology)
const;
62 bool set_attribute(
const char *name, Topology topology,
const Value &value);
66 bool remove_attribute(
const char *name, Topology topology);
73 size_t topology_size(Topology topology)
const;
111 const void *_internal;
123 std::shared_ptr<Impl> _value;
130 Shape(std::shared_ptr<Impl> impl) { _impl=impl; }
Definition: ImathBox.h:71
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT SparseBuffer< int32_t >
Definition: SparseBuffer.h:130
Topology
The different attribute topologies.
Definition: Shape.h:38
A Shape attribute, with name, value and topology.
Definition: Shape.h:76
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT IndexedBuffer< float >
Definition: IndexedBuffer.h:125
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT Buffer< uint8_t >
Definition: Buffer.h:227
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT SparseBuffer< float >
Definition: SparseBuffer.h:133
StringView name
The attribute name.
Definition: Shape.h:79
A value with geometrical attributes. Base of all shape values.
Definition: Shape.h:25
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:124
A shape attributes iterator.
Definition: Shape.h:92
The attribute is a per-vertex buffer.
Definition: Shape.h:41
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT IndexedBuffer< int32_t >
Definition: IndexedBuffer.h:122
maquina::Shape::Topology topology
The attribute topology.
Definition: Shape.h:83
The channel is not animable.
#define MAQUINA_EXPORT
Definition: Export.h:31
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT SparseBuffer< uint8_t >
Definition: SparseBuffer.h:131
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT Buffer< int32_t >
Definition: Buffer.h:226
bool operator!=(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:306
An shape's attribute iteration.
Definition: Shape.h:88
maquina::Value value
The attribute value.
Definition: Shape.h:81
bool operator==(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:274
#define MAQUINA_EXTERN_TEMPLATE
Definition: Export.h:25
The attribute is a per-face buffer.
Definition: Shape.h:42
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT Buffer< float >
Definition: Buffer.h:229
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT IndexedBuffer< uint8_t >
Definition: IndexedBuffer.h:123
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT Buffer< uint32_t >
Definition: Buffer.h:228
The attribute is a per-face corner buffer.
Definition: Shape.h:43
MAQUINA_EXTERN_TEMPLATE class MAQUINA_EXPORT SparseBuffer< uint32_t >
Definition: SparseBuffer.h:132
Color4< T > operator*(S a, const Color4< T > &v)
Definition: ImathColor.h:727
Base class of all Rumba values.
Definition: Value.h:34