diff options
Diffstat (limited to 'lc/Builtins.lc')
-rw-r--r-- | lc/Builtins.lc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lc/Builtins.lc b/lc/Builtins.lc index 1657fc8f..c2e2e7a9 100644 --- a/lc/Builtins.lc +++ b/lc/Builtins.lc | |||
@@ -558,6 +558,11 @@ data Texture where | |||
558 | data TextureCube where | 558 | data TextureCube where |
559 | TextureCubeSlot :: String -- texture slot name | 559 | TextureCubeSlot :: String -- texture slot name |
560 | -> TextureCube | 560 | -> TextureCube |
561 | |||
562 | data TextureBuffer where | ||
563 | TextureBufferSlot :: String -- texture slot name | ||
564 | -> TextureBuffer | ||
565 | |||
561 | data Filter | 566 | data Filter |
562 | = PointFilter | 567 | = PointFilter |
563 | | LinearFilter | 568 | | LinearFilter |
@@ -572,6 +577,7 @@ data Sampler = Sampler Filter EdgeMode Texture | |||
572 | -- builtin | 577 | -- builtin |
573 | texture2D :: Sampler -> Vec 2 Float -> Vec 4 Float | 578 | texture2D :: Sampler -> Vec 2 Float -> Vec 4 Float |
574 | textureCube :: TextureCube -> Vec 3 Float -> Vec 4 Float | 579 | textureCube :: TextureCube -> Vec 3 Float -> Vec 4 Float |
580 | textureBuffer :: TextureBuffer -> Int -> Float | ||
575 | 581 | ||
576 | 582 | ||
577 | -- todo: remove | 583 | -- todo: remove |