Skip to content

Instantly share code, notes, and snippets.

name website team_size
CircuitHub https://circuithub.com 58
iCracked http://icracked.com 51
42Floors http://42floors.com 60
PlanGrid http://plangrid.com 355
WireOver http://wireover.com 2
The Muse http://themuse.com 60
SendHub http://sendhub.com 51
Hipmob http://hipmob.com 2
MyVR http://myvr.com 15
@smallshen
smallshen / TriangleExample.kt
Created October 29, 2023 11:50
custom jextract example
package io.mojang.webgpu
import webgpu.kotlin.*
import webgpu.webgpu_h.*
import java.lang.foreign.Arena
import java.lang.foreign.MemorySegment
private val shaderSrc = """
@vertex
fn vs_main(@builtin(vertex_index) in_vertex_index: u32) -> @builtin(position) vec4f {