Reads the contents of the texture and stores them in memory pointed to by data.
Namespace: Internal.SharpBgfxAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic 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
Int32The frame number on which the result will be available.
RemarksThe texture must have been created with the
ReadBack flag.
See Also