little change
This commit is contained in:
@@ -164,12 +164,12 @@ private:
|
||||
VK_SAMPLER_ADDRESS_MODE_REPEAT,
|
||||
VK_SAMPLER_ADDRESS_MODE_REPEAT,
|
||||
0.0f,
|
||||
false,
|
||||
0,
|
||||
VK_TRUE,
|
||||
device->GetGPUPhysicalDevice()->GetMaxSamplerAnisotropy(),
|
||||
false,
|
||||
VK_COMPARE_OP_NEVER,
|
||||
0.0f,
|
||||
1.0f,
|
||||
static_cast<float>(texture.color->GetMipLevel()),
|
||||
VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK,
|
||||
false
|
||||
};
|
||||
|
@@ -28,22 +28,22 @@ private:
|
||||
|
||||
Sampler * sampler =nullptr;
|
||||
MaterialInstance * material_instance =nullptr;
|
||||
GPUBuffer * ubo_world_matrix =nullptr;
|
||||
GPUBuffer * ubo_color =nullptr;
|
||||
GPUBuffer * ubo_world_matrix =nullptr;
|
||||
GPUBuffer * ubo_color =nullptr;
|
||||
|
||||
Pipeline * pipeline =nullptr;
|
||||
|
||||
private:
|
||||
|
||||
FontSource * eng_fs =nullptr;
|
||||
FontSource * chs_fs =nullptr;
|
||||
FontSourceMulti * font_source =nullptr;
|
||||
FontSource * eng_fs =nullptr;
|
||||
FontSource * chs_fs =nullptr;
|
||||
FontSourceMulti * font_source =nullptr;
|
||||
|
||||
TileFont * tile_font =nullptr;
|
||||
TextLayout tl_engine; ///<文本排版引擎
|
||||
TileFont * tile_font =nullptr;
|
||||
TextLayout tl_engine; ///<文本排版引擎
|
||||
|
||||
TextRenderable * text_render_obj =nullptr;
|
||||
RenderableInstance * render_instance =nullptr;
|
||||
TextRenderable * text_render_obj =nullptr;
|
||||
RenderableInstance *render_instance =nullptr;
|
||||
|
||||
public:
|
||||
|
||||
|
@@ -31,7 +31,7 @@ class TestApp:public VulkanApplicationFramework
|
||||
|
||||
ObjectList<TileBitmap> tile_list;
|
||||
|
||||
TileData *tile_data;
|
||||
TileData *tile_data=nullptr;
|
||||
|
||||
float *vertex_data=nullptr;
|
||||
float *tex_coord_data=nullptr;
|
||||
|
Reference in New Issue
Block a user