https://github.com/shader-slang/slang
Revision 33f7e1599cbecb32c23787b37b2bf3b34bdd5c84 authored by Yong He on 25 August 2021, 17:27:22 UTC, committed by GitHub on 25 August 2021, 17:27:22 UTC
This function takes a user provided `typeID` and arbitrary typed value, and turns them into an existential value whose `witnessTableID` is `typeID` and whose `anyValue` is  the user provided  value. This allows the users to pack the runtime type id info in arbitrary way.
1 parent 3b0b920
History
Tip revision: 33f7e1599cbecb32c23787b37b2bf3b34bdd5c84 authored by Yong He on 25 August 2021, 17:27:22 UTC
Add `createDynamicObject` stdlib function. (#1923)
Tip revision: 33f7e15
File Mode Size
.github
build
docs
examples
external
extras
prelude
source
tests
tools
.editorconfig -rw-r--r-- 937 bytes
.gitattributes -rw-r--r-- 95 bytes
.gitignore -rw-r--r-- 1.1 KB
.gitmodules -rw-r--r-- 951 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 6.1 KB
github_build.sh -rw-r--r-- 495 bytes
github_test.sh -rw-r--r-- 993 bytes
premake.bat -rw-r--r-- 120 bytes
premake5.lua -rw-r--r-- 49.2 KB
slang-com-helper.h -rw-r--r-- 4.9 KB
slang-com-ptr.h -rw-r--r-- 4.9 KB
slang-gfx.h -rw-r--r-- 52.2 KB
slang-tag-version.h -rw-r--r-- 36 bytes
slang.h -rw-r--r-- 174.9 KB
slang.sln -rw-r--r-- 22.9 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top