IFClite TypeScript API
    Preparing search index...

    Interface DecodedPickSample

    Decode a r32uint sample from the picker target.

    interface DecodedPickSample {
        instanceExpressId: number;
        kind: "none" | "mesh" | "point" | "instanced";
        meshIndexPlusOne: number;
        pointExpressId: number;
    }
    Index
    instanceExpressId: number

    Express id when bit 30 is set (GPU-instanced occurrence); 0 otherwise.

    kind: "none" | "mesh" | "point" | "instanced"

    Convenience: which discipline produced the hit.

    meshIndexPlusOne: number

    Mesh index (1-based) when bits 30-31 clear and value > 0; 0 = no hit.

    pointExpressId: number

    Federated expressId when bit 31 is set; 0 otherwise.