mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-21 19:57:44 +00:00
This along with other misc fixes by listening to the validation layers "fixes" specular, but just for the skin. I need to do some more work to figure out why it doesn't work for character shaders yet. Also introduces new helper functions to Device to easily transition textures and name them.
16 lines
No EOL
314 B
C++
16 lines
No EOL
314 B
C++
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <vulkan/vulkan.h>
|
|
|
|
class Texture
|
|
{
|
|
public:
|
|
VkFormat format;
|
|
VkImageSubresourceRange range;
|
|
VkImage image;
|
|
VkImageView imageView;
|
|
VkDeviceMemory imageMemory;
|
|
}; |