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: 2024.1.1.0 (2024.1.1.0)
Syntax public int Read(
IntPtr data,
int mip
)
Parameters
- data
- Type: SystemIntPtr
The destination for the read image data. - mip
- Type: SystemInt32
The mip level to read.
Return Value
Type:
Int32The frame number on which the result will be available.
Remarks The texture must have been created with the
ReadBack flag.
See Also