texture_cache: Add image getters
This commit is contained in:
committed by
Fernando Sahmkow
parent
c892359d1b
commit
74efa57c1b
@@ -95,6 +95,12 @@ public:
|
||||
/// Return a reference to the given image view id
|
||||
[[nodiscard]] ImageView& GetImageView(ImageViewId id) noexcept;
|
||||
|
||||
/// Return a constant reference to the given image id
|
||||
[[nodiscard]] const Image& GetImage(ImageId id) const noexcept;
|
||||
|
||||
/// Return a reference to the given image id
|
||||
[[nodiscard]] Image& GetImage(ImageId id) noexcept;
|
||||
|
||||
/// Mark an image as modified from the GPU
|
||||
void MarkModification(ImageId id) noexcept;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user