Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add ability to set custom render logic #10173

Merged
merged 6 commits into from
Feb 5, 2024
Merged

Conversation

GoodBoyDigital
Copy link
Member

@GoodBoyDigital GoodBoyDigital commented Feb 2, 2024

A new RenderContainer class that lets you customise how its rendered.

// pass in a custom render function! easy peasy!
const container = new RenderContainer((renderer: Renderer) => {
        // clear the screen!
        renderer.clear({
            clearColor: 'green',
        });
});

Copy link

codesandbox-ci bot commented Feb 2, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@Zyie Zyie changed the title Feature/custom-render-pipe Feat: add custom render pipe Feb 2, 2024
@Zyie Zyie changed the title Feat: add custom render pipe Feat: add ability to set custom render logic Feb 2, 2024
@Zyie Zyie merged commit 22cdac0 into next-v8 Feb 5, 2024
4 checks passed
@Zyie Zyie deleted the feature/custom-render-pipe branch February 5, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants