Plasma Engine  2.0
Loading...
Searching...
No Matches
ResourceViewVulkan_inl.h
1PL_ALWAYS_INLINE const vk::DescriptorImageInfo& plGALTextureResourceViewVulkan::GetImageInfo(bool bIsArray) const
2{
3 PL_ASSERT_DEBUG((bIsArray ? m_resourceImageInfoArray : m_resourceImageInfo).imageView, "View does not support bIsArray: {}", bIsArray);
4 return bIsArray ? m_resourceImageInfoArray : m_resourceImageInfo;
5}
6
7PL_ALWAYS_INLINE vk::ImageSubresourceRange plGALTextureResourceViewVulkan::GetRange() const
8{
9 return m_range;
10}
11
12PL_ALWAYS_INLINE const vk::BufferView& plGALBufferResourceViewVulkan::GetBufferView() const
13{
14 return m_bufferView;
15}