Carry backing resource in UI texture handles
This commit is contained in:
@@ -52,6 +52,7 @@ struct UITextureHandle {
|
||||
std::uint32_t width = 0;
|
||||
std::uint32_t height = 0;
|
||||
UITextureHandleKind kind = UITextureHandleKind::DescriptorHandle;
|
||||
std::uintptr_t resourceHandle = 0;
|
||||
|
||||
constexpr bool IsValid() const {
|
||||
return nativeHandle != 0 && width > 0 && height > 0;
|
||||
|
||||
Reference in New Issue
Block a user