rhodonite
    Preparing search index...

    Function decodeVariableLengthComponentMember

    • Decodes a variable-length component member (e.g. SkeletalComponent.boneData). The per-instance location is stored in ${memberName}Location as location = x * 65536 + y, with the element count in z.

      Parameters

      • args: {
            componentCountPerBufferView: number;
            componentSID: number;
            layout: BufferLayoutSource;
            locationMemberOffsets: number[];
            maxArrayElements?: number;
            memberInfo: ComponentMemberLayoutInfo;
            offsets: number[];
            radix?: number;
        }

      Returns BufferLocationInfo