You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ Textures can be used as a `sampler2D` in a shader by using the `<sd-texture />`
98
98
*`name`: specify a name for the texture uniform (will default to `u_texture{index}`)
99
99
*`webcam`: overrides `src` and tries to use webrtc webcam as texture source
100
100
*`force-update`: forces a texture to always update (useful when using a canvas animation or animated gif as a texture)
101
+
*`shadow-root`: selector identifying a shadow-root to use for the `src` property. (Useful when using one shader-doodle as an image source for another shader-doodle, for example.)
101
102
102
103
#### Examples
103
104
@@ -169,6 +170,23 @@ Textures can be used as a `sampler2D` in a shader by using the `<sd-texture />`
0 commit comments