Click or drag to resize

TextureRead Method

Reads the contents of the texture and stores them in memory pointed to by data.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public int Read(
	IntPtr data,
	int mip
)

Parameters

data  IntPtr
The destination for the read image data.
mip  Int32
The mip level to read.

Return Value

Int32
The frame number on which the result will be available.
Remarks
The texture must have been created with the ReadBack flag.
See Also