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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
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: Int32
The frame number on which the result will be available.
Remarks
The texture must have been created with the ReadBack flag.
See Also