 |
GpuImageCopyDataFromImage(Byte, Int64, Int32, Boolean) Method |
Copies data from image (stored in GPU memory) to the specified byte array.
Returns true when data was copied, otherwise false is returned (when image cannot be copied from GPU memory).
Namespace: Ab4d.SharpEngine.CoreAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic bool CopyDataFromImage(
byte[] data,
long offset = 0,
int size = -1,
bool leaveMemoryMapped = false
)
Parameters
- data Byte
- byte array
- offset Int64 (Optional)
- offset (0 by default)
- size Int32 (Optional)
- size (when default -1 is used, then the byte size of this image is used)
- leaveMemoryMapped Boolean (Optional)
- leaveMemoryMapped (false by default)
Return Value
Booleantrue when data was copied, otherwise false is returned (when image cannot be copied from GPU memory)
Exceptions
See Also