Click or drag to resize

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

Override internal texture by creating a new 2D texture.

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

Parameters

width
Type: SystemInt32
The width of the texture.
height
Type: SystemInt32
The height of the texture.
mipCount
Type: SystemInt32
The number of mip levels.
format
Type: Internal.SharpBgfxTextureFormat
The format of the texture data.
flags (Optional)
Type: Internal.SharpBgfxTextureFlags
Flags that control texture behavior.

Return Value

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