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

@@ -2701,10 +2701,11 @@ func.getInternalData
--- @warning Must be called only on render thread.
---
func.overrideInternal { cname = "override_internal_texture_ptr" }
"uintptr_t" --- Native API pointer to texture. If result is 0, texture is not created
--- yet from the main thread.
.handle "TextureHandle" --- Texture handle.
.ptr "uintptr_t" --- Native API pointer to texture.
"uintptr_t" --- Native API pointer to texture. If result is 0, texture is not created
--- yet from the main thread.
.handle "TextureHandle" --- Texture handle.
.ptr "uintptr_t" --- Native API pointer to texture.
.layerIndex "uint32_t" --- Layer index for texture arrays (only implemented for D3D11).
--- Override internal texture by creating new texture. Previously created
--- internal texture will released.