Reference/API
PMeshAttributes.IsUsedFlag
PMeshAttributes.Attribute
PMeshAttributes.Attributes
PMeshAttributes.CompactPlanBackward
PMeshAttributes.CompactPlanForward
PMeshAttributes.FlagsType
PMeshAttributes.Hnd
PMeshAttributes.HndInt
PMeshAttributes.ManagedAttributes
PMeshAttributes.MappedAttribute
PMeshAttributes.attrlength
PMeshAttributes.attrspecs
PMeshAttributes.clone
PMeshAttributes.clone
PMeshAttributes.compactapply
PMeshAttributes.compactapply!
PMeshAttributes.compactinverse
PMeshAttributes.compactplan
PMeshAttributes.compactplanbackward
PMeshAttributes.compactplanforward
PMeshAttributes.countunused
PMeshAttributes.countused
PMeshAttributes.createattribute
PMeshAttributes.createattributes
PMeshAttributes.defaultvalue
PMeshAttributes.enabled
PMeshAttributes.handles
PMeshAttributes.hasattr
PMeshAttributes.indextype
PMeshAttributes.indices
PMeshAttributes.initattr!
PMeshAttributes.isconsistent
PMeshAttributes.isconsistent
PMeshAttributes.iscontiguous
PMeshAttributes.isenabled
PMeshAttributes.isindex
PMeshAttributes.isindex
PMeshAttributes.isindexused
PMeshAttributes.isunusedindex
PMeshAttributes.isused
PMeshAttributes.n_total
PMeshAttributes.nextunused
PMeshAttributes.nextused
PMeshAttributes.nextwith
PMeshAttributes.pushattr!
PMeshAttributes.pushattr!
PMeshAttributes.resizeattr!
PMeshAttributes.setallused!
PMeshAttributes.setdefaultvalue!
PMeshAttributes.setenabled!
PMeshAttributes.setunused!
PMeshAttributes.setused!
PMeshAttributes.shrinkdisabled!
PMeshAttributes.shrinkdisabled!
PMeshAttributes.specifyattr
PMeshAttributes.unused
PMeshAttributes.used
PMeshAttributes.Attributes
— Typeattrs = (a= createattribute(...), b= createattribute(...))
attrs = Dict(:a => createattribute(...), :b => createattribute(...))
attrlength(attrs) # get length (number of elements) of attributes
attrdict(attrs) # attributes as (new) Dict
hasattr(attrs, name::Symbol)
isenabled(attrs, name::Symbol) # Is attribute 'name' enabled?
enabled(attrs) # Dict of all enabled attributes
setenabled!(attrs, (name, ::Bool)[; initialize=true)
setenabled!(attrs, Dict(name => ::Bool)[; initialize=true])
pushattr!(attrs) # push one default value onto all enabled attributes
resizeattr!(attrs, sz) # resize all enabled attributes
sizehint!(attrs, sz) # apply `sizehint!` to attributes
isconsistent(attrs) # consistency checks
newattrs = clone(attrs) # copy attributes
Dict
-like set of named attributes, which all have the same size. This type represents "attribute lists" for vertices, faces, ... of a mesh.
See also Attribute
PMeshAttributes.IsUsedFlag
— ConstantBitmask for used flag.
See also FlagsType