Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
馃 Generated by Copilot at d627be3
Summary
馃摑馃敡馃帹
This pull request improves the documentation and code quality of the rendering core classes and functions in PixiJS, adding JSDoc comments, refactoring, and fixing some errors. It also updates the visual tests to remove the unsupported canvas renderer option. The main files affected are
autoDetectRenderer.ts
,BackgroundSystem.ts
,BlendModePipe.ts
,Buffer.ts
,BufferResource.ts
, andinit.ts
.Walkthrough
rendering
namespace, theautoDetectRenderer
function, theAutoDetectOptions
,BackgroundSystemOptions
,TypedArray
, andBufferOptions
interfaces, theBackgroundSystem
,BlendModePipe
,Buffer
, andBufferResource
classes, theBufferUsage
enum, and thefastCopy
function (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)AutoDetectOptions
,BackgroundSystemOptions
,TypedArray
, andBufferOptions
interfaces and theBackgroundSystem
class from their original files tosrc/rendering/init.ts
, where they are exported and consistent with other rendering options interfaces and systems (link, link, link)Buffer.destroy
method by castingthis.descriptor
toany
before assigning it tonull
(link)Buffer
class constructor for code style (link)canvas
option from therenderTest
function and its calls, as the canvas renderer is no longer supported in PixiJS v6 (link, link)