pixi.js
    Preparing search index...

    Interface CullerPluginOptions

    Application options for the CullerPlugin. These options control how your application handles culling of display objects.

    import { Application } from 'pixi.js';

    // Create application
    const app = new Application();
    await app.init({
    culler: {
    updateTransform: false // Skip updating transforms for culled objects
    }
    });
    interface CullerPluginOptions {
        culler?: { updateTransform?: boolean };
    }
    Index

    Properties

    Properties

    culler?: { updateTransform?: boolean }

    Options for the culler behavior.

    Type declaration

    • OptionalupdateTransform?: boolean

      Update the transform of culled objects.

      Important

      Keeping this as false can improve performance by avoiding unnecessary calculations, however, the transform used for culling may not be up-to-date if the object has moved since the last render.

      true
      
      const app = new Application();
      await app.init({
      culler: {
      updateTransform: false // Skip updating transforms for culled objects
      }
      });
    // Basic culling options
    const app = new Application();
    await app.init({
    culler: {...}
    });