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

Bug: BaseRenderTexture no longer exists in v8 #10302

Open
rariancom opened this issue Mar 9, 2024 · 1 comment
Open

Bug: BaseRenderTexture no longer exists in v8 #10302

rariancom opened this issue Mar 9, 2024 · 1 comment
Assignees

Comments

@rariancom
Copy link

Current Behavior

No exported member named BaseRenderTexture

Expected Behavior

import {
BaseRenderTexture
} from 'pixi.js';

Steps to Reproduce

import {
BaseRenderTexture
} from 'pixi.js';

baseRenderTexture = new BaseRenderTexture({ width: squareSize, height: squareSize });

Environment

  • pixi.js version: 8

Possible Solution

No response

Additional Information

No mention of BaseRenderTexture changes on the https://pixijs.com/guides/migrations/v8 Migration guide.

@GoodBoyDigital
Copy link
Member

GoodBoyDigital commented Mar 11, 2024

heya @rariancom! The base render texture class is TextureSource

public static createRenderTexture(options: TextureSourceOptions): Texture
    {
        return new Texture({
            source: new TextureSource(options)
        });
    }

we will update the migration guides! cc @Zyie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants