Skip to content

TODO: Make cglm work with Metal, Vulkan and DirectX #152

@recp

Description

@recp

cglm must support Metal and Vulkan (and maybe DirectX). To do this cglm may provide alternative functions for alternative NDC coordinates. Or we could do that with preprocessor macros. But providing extra functions will provide ability to switch between graphics APIs without rebuilding the code.

Resources:

  1. https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf
  2. https://metashapes.com/blog/opengl-metal-projection-matrix-problem/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions