examples/window.bend relies on unsafe/foreign
raw source on the hub · import bend-vulkan-library@0.1.0.0/examples/window.bend as MWindow
4 imports
import Base import ../Vulkan.bend as V import ../src/core.bend as Core import ./buffer_roundtrip.bend as D
Types
type Context source · line 6 · raw
Data
Context@window:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.NativeWindow -> @instance:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Instance -> @physical:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice -> @surface:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Surface -> @device:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Device -> @graphics:U32 -> @present:U32 -> Context
Definitions
def supports source · line 9 · raw
@families:List<&1, Pair(U32, U32)> -> @+instance:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Instance -> @+physical:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice -> @+surface:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Surface -> @+index:U32 -> 0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Action(List<&2, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueueSupport>)
def candidate_finish source · line 18 · raw
@caps:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.SurfaceCapabilities -> @formats:List<&1, Pair(U32, U32)> -> @modes:List<&1, U32> -> @support:List<&2, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueueSupport> -> @split:Bool -> Maybe<&1, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueuePair>
def candidate source · line 22 · raw
@+instance:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Instance -> @+physical:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice -> @+surface:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Surface -> @split:Bool -> @supported:Bool -> 0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Action(Maybe<&1, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueuePair>)
def selected source · line 34 · raw
@pair:Maybe<&1, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueuePair> -> @physical:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice -> @next:(@_:Unit -> 0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Action(Pair(0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueuePair))) -> 0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Action(Pair(0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueuePair))
def select source · line 39 · raw
@devices:List<&1, 0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice> -> @+instance:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Instance -> @+surface:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Surface -> @+split:Bool -> 0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Action(Pair(0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueuePair))
def open_device source · line 48 · raw
@+window:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.NativeWindow -> @+instance:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Instance -> @+surface:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Surface -> @chosen:Pair(0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.PhysicalDevice, 0x2e83918d1bc42f45733fbb5a82ec7963/src/core.QueuePair) -> 0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Action(Context)
def open source · line 54 · raw
@+entry:0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Entry -> @title:String -> @+split:Bool -> 0x2e83918d1bc42f45733fbb5a82ec7963/Vulkan.Action(Context)