AutoMovie API
    Preparing search index...

    Function readAutoMovieMaterialTextureSources

    • Read actual implicit material and area-light lookup objects for one scope. Shader factories publish the same Texture reference they bind. The area pair follows WebGLLights' real extension choice without initializing tables. Caller-retained rows belong to this same renderer, survive material removal, and are dropped only after actual texture/context release. Current scope use labels are replaced on each observation; obsolete rows remain retained-only. Each row follows an actual Texture wrapper, not mutable UUIDs. Distinct wrappers retain their own current upload keys; the engine shares equivalent Source/key pairs. Reobserving one wrapper replaces its old state, matching native cache-key reference retirement after upload. This is a reachable current-state bound; a host requiring upload-transition peak storage supplies the previous phase separately until that phase's native release is observed. These are reachable-storage bounds, never a claim of current GLuint count. No shader, texture state or GPU lifetime is changed by the observation.

      Parameters

      • props: {
            renderer: { extensions: Pick<THREE.WebGLRenderer["extensions"], "has"> };
            retained?: readonly {
                owner: string;
                purpose?: AutoMovieBuiltinTexturePurpose;
                residents?: readonly string[];
                texture: Omit<IAutoMovieRenderTextureSource, "asset">;
            }[];
            scene: Scene;
            scope: string;
        }

      Returns {
          owner: string;
          purpose?: AutoMovieBuiltinTexturePurpose;
          residents?: readonly string[];
          texture: Omit<IAutoMovieRenderTextureSource, "asset">;
      }[]

      • owner: string

        Stable nonblank runtime-texture owner, unique within this list.

      • Optionalpurpose?: AutoMovieBuiltinTexturePurpose

        Implicit lookup role supplied by the actual material/light producer.

      • Optionalresidents?: readonly string[]

        Current live scopes actually using this lookup; retained-only rows omit them.

      • texture: Omit<IAutoMovieRenderTextureSource, "asset">

        Observed upload/allocation facts; this generated texture has no authored asset id.