mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Add optional layerIndex argument to overrideInternal (#3477)
* Add optional layerIndex argument to overrideInternal * Run genie idl
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user