Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientAnimationTargetDesc Struct Reference

#include <RadientAnimation.h>

Public Attributes

RadientAnimationSchemaID Schema = InvalidRadientAnimationSchemaID
RadientAnimationObjectID Object = InvalidRadientAnimationObject
const Char * Name = nullptr

Detailed Description

Symbolic, unbound target slot in an animation clip.

Object is a stable source-object identity in the namespace identified by Schema, allowing the same clip to resolve against different instances. The target index identifies this record within the clip. Name is optional, is stored as an owned non-null string, and is used only for diagnostics; bindings must not depend on it. Each (Schema, Object) pair must be unique in a clip. The same Object value under different schemas identifies distinct targets.

Member Data Documentation

◆ Name

const Char* Diligent::RadientAnimationTargetDesc::Name = nullptr

Optional diagnostic source-object name. Creation copies the string and stores an empty string when this pointer is null. Name is not part of target identity and is never used to resolve a binding.

◆ Object

RadientAnimationObjectID Diligent::RadientAnimationTargetDesc::Object = InvalidRadientAnimationObject

Stable authored-object identifier in Schema's namespace. This is source identity, not a runtime RadientEntityID or pointer. A binder resolves it independently for every scene instance. Every value, including zero, is valid except InvalidRadientAnimationObject.

◆ Schema

RadientAnimationSchemaID Diligent::RadientAnimationTargetDesc::Schema = InvalidRadientAnimationSchemaID

Identifier of the schema that owns the property-ID namespace, defines property semantics, and resolves Object during binding. InvalidRadientAnimationSchemaID is not permitted. This identifies a schema contract, not the IID of the runtime object eventually updated by animation.