Click or drag to resize

TextureOverrideInternal(Int32, Int32, Int32, TextureFormat, TextureFlags) Method

Override internal texture by creating a new 2D texture.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public IntPtr OverrideInternal(
	int width,
	int height,
	int mipCount,
	TextureFormat format,
	TextureFlags flags = TextureFlags.None
)

Parameters

width  Int32
The width of the texture.
height  Int32
The height of the texture.
mipCount  Int32
The number of mip levels.
format  TextureFormat
The format of the texture data.
flags  TextureFlags  (Optional)
Flags that control texture behavior.

Return Value

IntPtr
Native API pointer to the texture. If result is Zero, the texture is not yet created from the main thread.
See Also