Added BGFX_TEXTURE_BLIT_DST validation.

This commit is contained in:
Бранимир Караџић
2021-11-01 18:27:20 -07:00
parent 2df0a41918
commit 5fd83e7a41
2 changed files with 11 additions and 0 deletions

View File

@@ -1886,6 +1886,11 @@ namespace bgfx
return 0 != (m_flags & BGFX_TEXTURE_READ_BACK);
}
bool isBlitDst() const
{
return 0 != (m_flags & BGFX_TEXTURE_BLIT_DST);
}
bool isCubeMap() const
{
return m_cubeMap;