Skip to main content

Module vulkan

Module vulkan 

Source
Expand description

Vulkan NDC convention: Z range [0, 1], Y-down.

Expects a right-handed Y-up view space input.

Includes standard, infinite-far, and reverse-depth variants.

Functionsยง

frustum
Creates a perspective projection from a frustum for use with Vulkan.
orthographic
Creates an orthographic projection matrix for use with Vulkan.
perspective
Creates a perspective projection matrix for use with Vulkan.
perspective_infinite
Creates an infinite perspective projection matrix for use with Vulkan.
perspective_infinite_reverse
Creates an infinite perspective projection matrix with reversed depth for use with Vulkan.