support the new other codes.

This commit is contained in:
hyzboy 2024-03-02 10:35:27 +08:00
parent a8d68c295d
commit 8b82c6c25c

View File

@ -13,33 +13,19 @@
using namespace hgl;
using namespace hgl::graph;
static float position_data[2][3]=
{
{100,100,100},
{0,0,0}
};
static float lumiance_data[2]={1,1};
static Color4f white_color(1,1,1,1);
class TestApp:public SceneAppFramework
{
Color4f color;
DeviceBuffer *ubo_color=nullptr;
private:
Material * mtl_vertex_lum =nullptr;
MaterialInstance * mi_plane_grid =nullptr;
Pipeline * p_line =nullptr;
Primitive * ro_plane_grid =nullptr;
VBO * vbo_pos =nullptr;
private:
bool InitVertexLumMP()