/test-gfx

experimental test ground for cocos creator engine infrastructures

Primary LanguageC++

test-gfx

a light-weight repo used to test the feature of the gfx module of cocos-creator.

Build

test_gfx should be put alongside the engine repo:

├── cocos-engine (3.5.0)
│   └── native/external (3.5)
└── test-gfx (master)

web

Enter ./engine folder and run the following commands

    $ ./util.sh update       # build the project.
    $ ./util.sh server start # start http server and run test cases in your browser.

You can also run ./util.sh help to see the help message.

Note: you only need to start the server at the beginning. If you can't start the server, please run ./util.sh server stop and then ./util.sh server start.

native

  1. Windows

    In the root directory, run the following commands

    $ cmake -Bbuild # config the project
    $ cmake --build build # build the project

    After configuring the project, you can also open build/test-gfx.sln with Visual Studio.

  2. Android

    • In Android Studio, import the project in ./src/android/.
    • Build the project.