Search found 3 matches

by ritwick
15 Jun 2015, 13:46
Forum: General Discussion
Replies: 30
Views: 22040

Re: How to change Image source at runtime?

Hi Jesus, Thanks for the hints. Indeed it was thread issue. I was using the C# sdk integration sample with OpenGL based on glut. I was setting the texture source from the main method of the C# console application. Also both the images were loaded using the application thread on which the console app...
by ritwick
10 Jun 2015, 12:09
Forum: General Discussion
Replies: 30
Views: 22040

Re: How to change Image source at runtime?

Hi, I am able to set the texture source for the image using C# sdk while the application is starting and the image is rendered correctly. At a later point when I am updating the texture data with a different image data, the image is not getting updated. I am using OpenGL. What do I need to do get th...
by ritwick
22 Apr 2015, 12:04
Forum: General Discussion
Replies: 30
Views: 22040

Re: How to change Image source at runtime?

The Texture2D is a Unity class. If we have to change the image at runtime using C# and when we are not using Unity, then how can it be done?