Skip to content

Commit 840d95b

Browse files
author
Mike Solomon
committed
Adds GPUExternalTexture
1 parent 38929fe commit 840d95b

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/Web/GPU/GPUExternalTexture.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const expiredImpl = (texture) => () => texture.expired;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module Web.GPU.GPUExternalTexture where
2+
3+
4+
5+
import Effect (Effect)
6+
import Web.GPU.Internal.Types (GPUExternalTexture)
7+
8+
foreign import expiredImpl :: GPUExternalTexture -> Effect Boolean
9+
10+
expired :: GPUExternalTexture -> Effect Boolean
11+
expired = expiredImpl

0 commit comments

Comments
 (0)