public class VKCanvas
extends org.eclipse.swt.widgets.Canvas
Canvas that supports to be drawn on using Vulkan.| Modifier and Type | Field and Description |
|---|---|
long |
surface
The Vulkan surface handle for this
VKCanvas. |
| Constructor and Description |
|---|
VKCanvas(org.eclipse.swt.widgets.Composite parent,
int style,
VKData data)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getPhysicalDevicePresentationSupport(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int queueFamily)
Determine whether there is presentation support for the given
VkPhysicalDevice in a command queue of the specified
queueFamiliy. |
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIMEchanged, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isAutoScalable, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateaddDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toStringpublic long surface
VKCanvas.public VKCanvas(org.eclipse.swt.widgets.Composite parent,
int style,
VKData data)
parent - a parent composite widgetstyle - the bitwise OR'ing of widget stylesdata - the necessary data to create a VKCanvaspublic boolean getPhysicalDevicePresentationSupport(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int queueFamily)
VkPhysicalDevice in a command queue of the specified
queueFamiliy.physicalDevice - the Vulkan VkPhysicalDevicequeueFamily - the command queue familytrue of falseCopyright © 2016–2021 LWJGLX. All rights reserved.