Search found 4 matches

by d.stepanov
23 Sep 2026, 16:34
Forum: General Discussion
Replies: 1
Views: 332

Lifetime of BaseRefCounted class fields

Hi! Official examples expose raw pointers to instances of BaseRefCounted fields of view models to the view. It does not look right, because any control can create Noesis::Ptr from such raw pointer which will call delete this; and thus will lead to subtle bugs and crashes. In our project we're indeed...
by d.stepanov
03 Jun 2025, 14:11
Forum: General Discussion
Replies: 7
Views: 2268

Re: bug with texture UV coordinates ?

Yeah, sure - https://www.noesisengine.com/bugs/view.php?id=4217 . There's no specific XAML - it can be reproduced on a single Image widget and the steps described in this thread.
by d.stepanov
03 Jun 2025, 13:43
Forum: General Discussion
Replies: 7
Views: 2268

Re: bug with texture UV coordinates ?

I've tried calling this on every frame: eastl::vector<Noesis::Visual*> stack; stack.push_back(it->root); while (!stack.empty()) { auto widget = stack.back(); stack.pop_back(); if (auto elem = Noesis::DynamicCast<Noesis::FrameworkElement*>(widget)) { elem->InvalidateVisual(); } for (int i = 0; i < No...
by d.stepanov
03 Jun 2025, 13:09
Forum: General Discussion
Replies: 7
Views: 2268

Re: bug with texture UV coordinates ?

Hi! I'm the one who initially found the issue. Answering your question: we're returning current texture dimensions from GetTextureInfo. If a texture is still loading, we're do not know what are the actual dimensions and simply return the size of the stub texture (8x8). When the texture is loaded, we...