Attributes#
Available in header <OpenMfx/Sdk/Cpp/Host/Attributes>
.
-
typedef OfxAttributeStruct OpenMfx::Attribute#
-
typedef OfxAttributeSetStruct OpenMfx::AttributeSet#
-
struct OfxAttributeStruct#
The name of this structure is imposed by the underlying C API, but it is aliased as OpenMfx::Attribute so that it is more consistent with the rest of the Host SDK.
Public Types
-
using AttributeType = OpenMfx::AttributeType#
-
using AttributeAttachment = OpenMfx::AttributeAttachment#
-
using AttributeSemantic = OpenMfx::AttributeSemantic#
-
using Index = std::pair<AttributeAttachment, std::string>#
Public Functions
-
OfxAttributeStruct()#
-
OfxAttributeStruct(const OfxAttributeStruct&) = delete#
-
OfxAttributeStruct &operator=(const OfxAttributeStruct&) = delete#
-
OfxAttributeStruct(OfxAttributeStruct&&) = default#
-
OfxAttributeStruct &operator=(OfxAttributeStruct&&) = default#
-
void deep_copy_from(const OfxAttributeStruct &other)#
-
AttributeAttachment attachment() const#
-
const std::string &name() const#
-
AttributeType type() const#
-
void setType(AttributeType type)#
-
int componentCount() const#
-
void setComponentCount(int componentCount)#
-
AttributeSemantic semantic() const#
-
void setSemantic(AttributeSemantic semantic)#
-
void *data() const#
-
void setData(void *data)#
-
int byteStride() const#
-
void setByteStride(int byteStride)#
-
bool copy_data_from(const OfxAttributeStruct &source, int start, int count)#
Public Members
-
OfxPropertySetStruct properties#
-
using AttributeType = OpenMfx::AttributeType#
-
struct OfxAttributeSetStruct : public OpenMfx::Collection<OfxAttributeStruct>#