yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
33706fd77
master
1<!DOCTYPE html > 2< html lang ="{{ site.lang | default: "en-US " }}"> 3 4< head > 5< meta charset ='utf-8 '> 6< meta name ="viewport "content ="width=device-width, initial-scale=1 "> 7< meta http-equiv ="X-UA-Compatible "content ="IE=edge "> 8< link rel ="stylesheet "href ="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }} "> 9< link rel ="stylesheet "type ="text/css "href ="{{ '/assets/css/print.css' | relative_url }} "media ="> 10< script async src ="https://www.googletagmanager.com/gtag/js?id=G-TMTZVLLMBP "></ script > 11< script > 12window . dataLayer = window . dataLayer || []; 13function gtag (){ dataLayer . push ( arguments );} 14gtag ( 'js' , new Date ()); 15gtag ( 'config' , 'G-TMTZVLLMBP' ); 16</ script > 17<!--[if lt IE 9]> 18<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> 19<![endif]--> 20< style > 21# centeringDiv { 22margin : auto; 23max-width : 1200 px ; 24} 25# navDiv 26{ 27display : block; 28box-sizing : border-box; 29padding-top : 5 px ; 30padding-bottom : 5 px ; 31border-bottom-width : 3 px ; 32border-bottom-style : solid; 33border-bottom-color : # F0F0F0 ; 34} 35# navDiv nav 36{ 37float : left; 38} 39# navDiv :: after { 40content : "" ; 41clear : both; 42display : table; 43} 44# navDiv nav li :: after 45{ 46content : "/" ; 47padding-left : 10 px ; 48padding-right : 0 px ; 49color : # 808080 ; 50} 51# navDiv nav li 52{ 53display : inline; 54padding-left : 10 px ; 55padding-right : 0 px ; 56} 57# tocColumn { 58width : 350 px ; 59position : fixed; 60overflow-y : auto; 61box-sizing : border-box; 62display : block; 63} 64 65# tocInner { 66padding : 20 px ; 67} 68 69# rightColumn { 70padding-left : 390 px ; 71padding-right : 40 px ; 72padding-top : 20 px ; 73} 74 75. toc_root_list { 76list-style-type : none; 77list-style-position : outside; 78background-color : initial; 79padding-left : 0 px ; 80} 81. toc_list { 82padding-left : 16 px ; 83background-color : initial; 84list-style-type : none; 85margin-bottom : 0 px ; 86} 87. toc_item { 88cursor : pointer; 89user-select : none; 90list-style-type : none; 91padding-left : 0 px ; 92padding-top : 5 px ; 93} 94. toc_item_expanded :: before { 95content : "\25be" ; 96cursor : pointer; 97} 98. toc_item_collapsed :: before { 99content : "\25b8" ; 100cursor : pointer; 101} 102. toc_item_leaf { 103padding-left : 14 px ; 104cursor : pointer; 105list-style-type : none; 106} 107. toc_span : hover 108{ 109color : # d5000d ; 110} 111. tocIcon 112{ 113vertical-align : -2.5 px ; 114} 115. editButton 116{ 117float : right; 118margin-right : 10 px ; 119color : #808080 ; 120} 121. editIcon 122{ 123fill : currentColor; 124vertical-align : text-top; 125} 126# btnToggleTOC { 127display : none; 128width : fit-content; 129margin-left : 10 px ; 130margin-top : 10 px ; 131padding : 10 px ; 132border-style : solid; 133border-color : # 808080 ; 134border-width : 1 px ; 135background-color : # E8E8E8 ; 136} 137# btnToggleTOC : hover { 138background-color : # F0F0E8 ; 139} 140# btnToggleTOC : active { 141background-color : # D4D4D4 ; 142} 143@media screenand ( max-width : 900 px ) { 144# tocColumn { 145width : 300 px ; 146display : block; 147box-sizing : border-box; 148} 149# rightColumn { 150padding-left : 320 px ; 151padding-right : 20 px ; 152} 153} 154 155@media screenand ( max-width : 700 px ) { 156# tocColumn { 157width : 100 % ; 158position : static; 159display : none; 160border-right-style : none; 161box-sizing : content-box; 162} 163# tocInner { 164padding : 10 px ; 165} 166# rightColumn { 167padding-left : 10 px ; 168padding-right : 10 px ; 169} 170# centeringDiv { 171padding-left : 0 px ; 172} 173# btnToggleTOC { 174display : block; 175} 176} 177</ style > 178 {% seo %} 179</ head > 180 181< body > 182< div id ="centeringDiv "> 183< div id ="navDiv "> 184< a class ="editButton "title ="Edit this page "href ="https://github.com/{{ site.github.repository_nwo }}/edit/master/docs/{{ page.path }} "> 185< svg class ="editIcon "height ="16 "viewBox ="0 0 16 16 "version ="1.1 "width ="16 "aria-hidden ="true "> 186< path fill-rule ="evenodd " 187d ="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z "> 188</ path > 189</ svg > 190</ a > 191</ div > 192< div id ="rightColumn "> 193< section id ="main_content "> 194 {% include anchor_headings.html html=content anchorBody="" %} 195</ section > 196< a href ="javascript:; "id ="_content_end_ "></ a > 197< footer > 198 {% if site.github.is_project_page %} 199 {{ site.title | default: site.github.repository_name }} is maintained by< a 200href ="{{ site.github.owner_url }} "> {{ site.github.owner_name }}</ a >< br > 201 {% endif %} 202 This page was generated by< a href ="https://pages.github.com "> GitHub Pages</ a > . 203</ footer > 204</ div > 205</ div > 206< script type ="text/x-mathjax-config "> 207MathJax . Hub . Config ({ 208tex2jax :{ 209inlineMath :[ [ '$$' , '$$' ], [ "\\(" , "\\)" ] ], 210displayMath :[ [ '$$' , '$$' ], [ "\\(" , "\\)" ] ], 211}, 212TeX :{ 213Macros :{ 214bra :[ "\\langle{#1}|" , 1 ], 215ket :[ "|{#1}\\rangle" , 1 ], 216braket :[ "\\langle{#1}\\rangle" , 1 ], 217bk :[ "\\langle{#1}|{#2}|{#3}\\rangle" , 3 ] 218} 219} 220}); 221</ script > 222< script id ="MathJax-script "async src ="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js "></ script > 223</ body > 224 225</ html >