Texture blit fixes. (#4106)

This commit is contained in:
Branimir Karadžić
2026-10-29 23:54:09 +00:00
committed by GitHub
parent 0d1856c8ba
commit b7d0751baa
23 changed files with 2063 additions and 89 deletions
@@ -3309,6 +3309,10 @@ public final class Bgfx {
* draw commands are executed after blit and compute commands.
* <p>
* <strong>Attention:</strong> Destination texture must be created with {@code BGFX_TEXTURE_BLIT_DST} flag.
* <p>
* <strong>Attention:</strong> A depth texture, or one created with {@code BGFX_TEXTURE_MSAA_SAMPLE}, can only
* be blitted whole: both sides start at the origin of mips of the same size, and
* the copy covers the whole mip.
* @param _id View id.
* @param _dst Destination texture region.
* @param _src Source texture region.
@@ -13075,6 +13079,10 @@ public final class Bgfx {
* draw commands are executed after blit and compute commands.
* <p>
* <strong>Attention:</strong> Destination texture must be created with {@code BGFX_TEXTURE_BLIT_DST} flag.
* <p>
* <strong>Attention:</strong> A depth texture, or one created with {@code BGFX_TEXTURE_MSAA_SAMPLE}, can only
* be blitted whole: both sides start at the origin of mips of the same size, and
* the copy covers the whole mip.
* @param _id View id.
* @param _dst Destination texture region.
* @param _src Source texture region.