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: docs/guides/migrations/v8.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -142,12 +142,12 @@ Textures no longer know or manage loading of resources. This needs to be done up
142
142
143
143
BaseTexture no longer exists. In stead we now have a variety of TextureSources available. A texture source combines the settings of a texture with how to upload and use that texture. In v8 there are the following texture sources:
144
144
145
-
* TextureSource - a vanilla texture that you can render to or upload however you wish. (used mainly by render textures)
146
-
* ImageSource - a texture source that contains an image resource of some kind (eg ImageBitmap or html image)
147
-
* CanvasSource - a canvas source that contains a canvas. Used mainly for rendering canvases or rendering to a canvas (webGPU)
148
-
* VideoSource - a texture source that contains a video. Takes care of updating the texture on the GPU to ensure that they stay in sync.
149
-
* BufferSource - a texture source that contains a buffer. What ever you want really! make sure your buffer type and format are compatible!
150
-
* CompressedSource - a texture source that handles compressed textures. Used by the GPU compressed texture formats.
145
+
- TextureSource - a vanilla texture that you can render to or upload however you wish. (used mainly by render textures)
146
+
- ImageSource - a texture source that contains an image resource of some kind (eg ImageBitmap or html image)
147
+
- CanvasSource - a canvas source that contains a canvas. Used mainly for rendering canvases or rendering to a canvas (webGPU)
148
+
- VideoSource - a texture source that contains a video. Takes care of updating the texture on the GPU to ensure that they stay in sync.
149
+
- BufferSource - a texture source that contains a buffer. What ever you want really! make sure your buffer type and format are compatible!
150
+
- CompressedSource - a texture source that handles compressed textures. Used by the GPU compressed texture formats.
151
151
152
152
Whilst the majority of the time `Assets` will return Textures you may want to make you own! More power to ya!
0 commit comments