Click or drag to resize
Ab4d.SharpEngine logo

GpuImage Properties

The GpuImage type exposes the following members.

Properties
 NameDescription
Public propertyHasTransparentPixels Gets or sets (only at init time) a Boolean that indicates that the GpuImage has some transparent pixels, e. g. pixels with alpha color smaller than 1. This means that to show this GpuImage correctly some alpha-blending technique is required.
Public propertyHeight Height of the image in pixels
Public propertyImage Gets the Vulkan Image.
Public propertyImageMemory Gets the VulkanMemoryInfo that represents the memory location of the buffer
Public propertyImageView Gets the Vulkan ImageView.
Public propertyIsGpuDeviceCached Gets a Boolean that indicates that this GpuImage is cashed by the GpuDevice objects and cannot be disposed by calling Dispose method. This means the GpuImage can be shared without worrying that someone will dispose this GpuImage or that it will be disposed when the Scene is disposed. This flag is set when the GpuImage is cached by calling CacheObject(String, Object) method. By default the Source is used as the cache key. The GpuImage will be disposed when the GpuDevice will be disposed or if it is removed from the cache and then disposed.
Public propertyIsPreMultipliedAlpha Gets or sets (only at init time) a Boolean that indicates that the colors in this GpuImage are alpha-premultiplied. This means that the red, green and blue values are multiplied by the alpha value.
Public propertyIsSceneCached Gets a Boolean that indicates that this GpuImage is cashed by Scene objects and cannot be disposed by calling Dispose method. This means the GpuImage can be shared without worrying that someone will dispose this GpuImage. This flag is set when the GpuImage is cached by calling Scene.CacheObject(String, Object) method. By default the Source is used as the cache key. The GpuImage will be disposed when the Scene will be disposed or if it is removed from the cache and then disposed.
Public propertyMemoryProperties Gets the MemoryPropertyFlags that were used to crate this GpuImage.
Public propertyMemorySize User memory size in bytes
Public propertySource Source can contain file name or other string that defines the source of this GpuImage.
Public propertyWidth Width of the image in pixels
Top
See Also