SiliconGhetto Engine API
    Preparing search index...

    Function createGraphicsAPI

    • Returns {
          setStyle(style: string): void;
          setPixelScale(scale: number): void;
          get style(): string;
      }

      • setStyle: function
        • Set the block texture rendering style.

          Parameters

          • style: string

            Style name (e.g. "detailed", "simple", "retro")

          Returns void

      • setPixelScale: function
        • Set the pixel scale for retro-style rendering (1 = native, 2 = half resolution, etc.).

          Parameters

          • scale: number

            Pixel scale factor

          Returns void

      • get style(): string

        Get the current texture rendering style name.