Add optional layerIndex argument to overrideInternal (#3477)

* Add optional layerIndex argument to overrideInternal

* Run genie idl
This commit is contained in:
Gary Hsu
2025-10-25 22:12:34 -07:00
committed by GitHub
parent b6eed38790
commit e7c2c69edb
18 changed files with 48 additions and 28 deletions

View File

@@ -4197,9 +4197,10 @@ public static class bgfx
///
/// <param name="_handle">Texture handle.</param>
/// <param name="_ptr">Native API pointer to texture.</param>
/// <param name="_layerIndex">Layer index for texture arrays (only implemented for D3D11).</param>
///
[LinkName("bgfx_override_internal_texture_ptr")]
public static extern void* override_internal_texture_ptr(TextureHandle _handle, void* _ptr);
public static extern void* override_internal_texture_ptr(TextureHandle _handle, void* _ptr, uint32 _layerIndex);
/// <summary>
/// Override internal texture by creating new texture. Previously created