asdf
This commit is contained in:
@@ -949,6 +949,14 @@ std::unique_ptr<vkb::Application> create_texture_loading()
|
||||
return std::make_unique<TextureLoading>();
|
||||
}
|
||||
|
||||
TextureLoading* TextureLoading::this_instance = nullptr;
|
||||
|
||||
void TextureLoadProcessWithVulkan(uint8_t* data, int width, int height, int rowStride, size_t dataSize)
|
||||
{
|
||||
TextureLoading::Texture& cam_tex = TextureLoading::Get()->cam_text;
|
||||
TextureLoading::Get()->processWithVulkan(data, width, height, rowStride, dataSize, cam_tex);
|
||||
}
|
||||
|
||||
void TextureLoading::processWithVulkan(uint8_t* data, int width, int height, int rowStride, size_t dataSize, Texture& out_texture)
|
||||
{
|
||||
VkDevice& device = get_device().get_handle();
|
||||
|
||||
Reference in New Issue
Block a user