コード例 #1
0
 /// <param name="DisplayMode">The mode to use when displaying this surface</param>
 /// <param name="PlaneIndex">The plane on which this surface appears. Must be between 0 and the value returned by vkGetPhysicalDeviceDisplayPlanePropertiesKHR() in pPropertyCount.</param>
 /// <param name="PlaneStackIndex">The z-order of the plane.</param>
 /// <param name="Transform">Transform to apply to the images as part of the scannout operation</param>
 /// <param name="GlobalAlpha">Global alpha value. Must be between 0 and 1, inclusive. Ignored if alphaMode is not VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR</param>
 /// <param name="AlphaMode">What type of alpha blending to use. Must be a bit from vkGetDisplayPlanePropertiesKHR::supportedAlpha.</param>
 /// <param name="ImageExtent">Size of the images to use with this surface</param>
 public DisplaySurfaceCreateInfoKHR(DisplayModeKHR DisplayMode, UInt32 PlaneIndex, UInt32 PlaneStackIndex, SurfaceTransformFlagsKHR Transform, Single GlobalAlpha, DisplayPlaneAlphaFlagsKHR AlphaMode, Extent2D ImageExtent) : this()
 {
     this.DisplayMode     = DisplayMode;
     this.PlaneIndex      = PlaneIndex;
     this.PlaneStackIndex = PlaneStackIndex;
     this.Transform       = Transform;
     this.GlobalAlpha     = GlobalAlpha;
     this.AlphaMode       = AlphaMode;
     this.ImageExtent     = ImageExtent;
 }
コード例 #2
0
 public unsafe partial Result CreateDisplayMode([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0), Flow(FlowDirection.In)] DisplayModeCreateInfoKHR *pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks *pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayModeKHR pMode);
コード例 #3
0
 public abstract Result GetDisplayPlaneCapabilities([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayModeKHR mode, [Count(Count = 0)] uint planeIndex, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayPlaneCapabilitiesKHR pCapabilities);
コード例 #4
0
 public abstract Result CreateDisplayMode([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0), Flow(FlowDirection.In)] ref DisplayModeCreateInfoKHR pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayModeKHR pMode);
コード例 #5
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetDisplayPlaneCapabilities(this KhrDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayModeKHR mode, [Count(Count = 0)] uint planeIndex, [Count(Count = 0), Flow(FlowDirection.Out)] Span <DisplayPlaneCapabilitiesKHR> pCapabilities)
 {
     // SpanOverloader
     return(thisApi.GetDisplayPlaneCapabilities(physicalDevice, mode, planeIndex, out pCapabilities.GetPinnableReference()));
 }
コード例 #6
0
 /// <param name="DisplayMode">Handle of this display mode.</param>
 /// <param name="Parameters">The parameters this mode uses.</param>
 public DisplayModePropertiesKHR(DisplayModeKHR DisplayMode, DisplayModeParametersKHR Parameters) : this()
 {
     this.DisplayMode = DisplayMode;
     this.Parameters  = Parameters;
 }