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
I need to draw (dynamically change some pixels) to a 2D texture. Could you point me to an efficient way to do it?
Currently, I change pixels in Image which is used inside a ColorMaterial via a Handle and then force rendering sync with events.send(AssetEvent::Modified { handle: material_handle }) send to EventWriter<AssetEvent<ColorMaterial>>.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I need to draw (dynamically change some pixels) to a 2D texture. Could you point me to an efficient way to do it?
Currently, I change pixels in
Image
which is used inside aColorMaterial
via aHandle
and then force rendering sync withevents.send(AssetEvent::Modified { handle: material_handle })
send toEventWriter<AssetEvent<ColorMaterial>>
.Beta Was this translation helpful? Give feedback.
All reactions