summaryrefslogtreecommitdiff
path: root/lc/Builtins.lc
diff options
context:
space:
mode:
Diffstat (limited to 'lc/Builtins.lc')
-rw-r--r--lc/Builtins.lc6
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
558data TextureCube where 558data TextureCube where
559 TextureCubeSlot :: String -- texture slot name 559 TextureCubeSlot :: String -- texture slot name
560 -> TextureCube 560 -> TextureCube
561
562data TextureBuffer where
563 TextureBufferSlot :: String -- texture slot name
564 -> TextureBuffer
565
561data Filter 566data Filter
562 = PointFilter 567 = PointFilter
563 | LinearFilter 568 | LinearFilter
@@ -572,6 +577,7 @@ data Sampler = Sampler Filter EdgeMode Texture
572-- builtin 577-- builtin
573texture2D :: Sampler -> Vec 2 Float -> Vec 4 Float 578texture2D :: Sampler -> Vec 2 Float -> Vec 4 Float
574textureCube :: TextureCube -> Vec 3 Float -> Vec 4 Float 579textureCube :: TextureCube -> Vec 3 Float -> Vec 4 Float
580textureBuffer :: TextureBuffer -> Int -> Float
575 581
576 582
577-- todo: remove 583-- todo: remove