Gpu |
The GpuImage type exposes the following members.
Name | Description | |
---|---|---|
CopyDataFromImage | Returns a new RawImageData with data from this image (stored in GPU memory). When the image data cannot be retrieved, then null is returned. | |
CopyDataFromImage(Byte, Int64, Int32, Boolean) | 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). | |
CopyDataToImage(Byte) | Copies the data from the specified byte array to this image. | |
CopyDataToImage(Byte, Boolean) | Copies the data from the specified byte array to this image. | |
CopyDataToImage(Byte, ImageLayout, AccessFlags, PipelineStageFlags) | Copies the data from the specified byte array to this image and set the layout of the image to the specified values. | |
CopyDataToImageMipMaps | Copies the data from the array of byte array to the mip maps of this image. | |
Dispose | ||
Dispose(Boolean) |
Dispose
(Overrides ComponentBaseDispose(Boolean)) | |
GetCurrentImageLayoutAndFlags | Gets the current image layout | |
GetImageAspectFlags | Returns the ImageAspectFlags for the specified format. | |
GetImageLayout | Returns information about the layout of the image for the specified mip level. | |
GetImageRowStride | Returns a row stride (number of bytes in one row of image data) of the image for the specified mip level. | |
GetMappedMemoryPtr | Returns an IntPtr of the mapped memory. The IntPtr can be used to get the content of this image or to copy new content to that location. After using the memory call UnmapMemory method. | |
GetMappedMemoryPtr(Int64, Int64) | Returns an IntPtr of the mapped memory with specified offset and size. The IntPtr can be used to get the content of this image or to copy new content to that location. After using the memory call UnmapMemory method. | |
GetMappedMemorySpan | Returns a Span that can be used to get the content of this image or copy new content to that location. After using the memory call UnmapMemory method. | |
GetMappedMemorySpan(Void, Byte) | ||
Resize | Resizes this image | |
ToString | (Overrides ObjectToString) | |
UnmapMemory | Unmaps the memory that was mapped by calling GetMappedMemoryPtr. |