engine icon indicating copy to clipboard operation
engine copied to clipboard

Refactor mask

Open singlecoder opened this issue 5 months ago • 4 comments

Summary by CodeRabbit

  • New Features

    • Added new properties for default materials used in sprite and text rendering.
    • Introduced new static methods for managing stencil states related to mask interactions.
    • Added methods for managing stencil and render states in the rendering process.
    • Enhanced blend, depth, raster, and stencil state management with optional custom state parameters.
    • Updated SpriteMask class for improved type safety and resource management.
  • Bug Fixes

    • Enhanced handling of mask interactions and stencil states during rendering.
  • Refactor

    • Simplified the rendering process by updating method structures and improving clarity in mask handling within the RenderQueue class.
    • Removed outdated private methods to streamline functionality.
    • Improved encapsulation and functionality in the MaskManager class.

singlecoder avatar Sep 03 '24 11:09 singlecoder