Search found 5 matches

by Mikhail Yanakayev
Yesterday, 22:50
Forum: General Discussion
Replies: 0
Views: 12

How to properly get element inside ControlTemplate in Native code

Hello, In XAML I have construction like this: <Grid Grid.Row="1" Grid.Column="1"> <ItemsControl x:Name="MyGrid" ItemsSource="{Binding MyList}" ItemTemplate="{DynamicResource MyRow}" Grid.Row="1" Grid.Column="1" VirtualizingPanel.S...
by Mikhail Yanakayev
21 Oct 2024, 13:47
Forum: General Discussion
Replies: 7
Views: 1448

Re: Dynamic texture loading with fallback local image

Yeah, we can wrap our engine textures into Noesis::Texture. But now problem actually solved by some changes inside the game outside of Noesis. We just loading our dummy texture and show it for any visible element while actual textures are rendering. I guess, for now this thread can be closed. If som...
by Mikhail Yanakayev
15 Oct 2024, 21:00
Forum: General Discussion
Replies: 7
Views: 1448

Re: Dynamic texture loading with fallback local image

Have you tried using a TextureSource for this? If you have a Texture object, created with your renderer or from your texture provider, you can easily pass it to the TextureSource. For now, for debug purposes, we need DynamicTexture . But in the future I'll consider this variant, thank you! Do you h...
by Mikhail Yanakayev
15 Oct 2024, 17:25
Forum: General Discussion
Replies: 7
Views: 1448

Re: Dynamic texture loading with fallback local image

Actually, we're using it because we need rendering Noesis::Texture into Image. AFAIK, there are only 2 variants: 1. BitmapImage that doesn't have any textures under it 2. DynamicTextureSource, that allows to render into texture and display it. Even if texture was rendered just once (as we do) If I'm...
by Mikhail Yanakayev
13 Oct 2024, 17:13
Forum: General Discussion
Replies: 7
Views: 1448

Dynamic texture loading with fallback local image

Hello! We're using DynamicTextureSource for rendering our image rendered into texture. Also we want to show some default local image while real texture is loading in separate thread. Problem is we don't have any way to get some Noesis::Texture object from BitmapImage with local value to show it in D...