Progress i guess

This commit is contained in:
Dynamitos
2023-11-08 23:27:21 +01:00
parent ecb5050dc7
commit 19c3e559b1
49 changed files with 268 additions and 361 deletions
+7 -7
View File
@@ -76,31 +76,31 @@ public:
virtual void updateTextureArray(uint32_t binding, Array<Gfx::PTexture> texture);
virtual bool operator<(Gfx::PDescriptorSet other);
inline bool isCurrentlyBound() const
constexpr bool isCurrentlyBound() const
{
return currentlyBound;
}
inline bool isCurrentlyInUse() const
constexpr bool isCurrentlyInUse() const
{
return currentlyInUse;
}
void bind()
constexpr void bind()
{
currentlyBound = true;
}
void unbind()
constexpr void unbind()
{
currentlyBound = false;
}
void allocate()
constexpr void allocate()
{
currentlyInUse = true;
}
void free()
constexpr void free()
{
currentlyInUse = false;
}
inline VkDescriptorSet getHandle() const
constexpr VkDescriptorSet getHandle() const
{
return setHandle;
}