VertexDeclaration

Note: We intentionally do use ...Ref, not ...ParamRef to get AddRef() for object to prevent and rare issue that happened before.

Windows
MacOS
Linux

Syntax

FVertexDeclarationRHIRef VertexDeclaration

Remarks

Note: We intentionally do use ...Ref, not ...ParamRef to get AddRef() for object to prevent and rare issue that happened before. When changing and recompiling a shader it got the same memory pointer and because the caching is happening with pointer comparison the BoundShaderstate cache was holding on to the old pointer it was not creating a new entry.vertex decl for this combination

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss