How can I use a dynamic 2D texture with a plugin?
Currently a UTexture2DDynamic can't be used in a plugin because it has no methods exposed with the ENGINE_API so trying to initialize it with Init() causing link errors.
I could use FSlateTexture2DRHIRef for a dynamic texture but I don't think I can plug that into a MID as a texture parameter.
What is the right way to create a dynamic texture, lock and write to it every frame, and plug it into a MID. Is UTexture2D::CreateTransient() a dynamic texture?
I just use a FTexture2DRHIRef and create it using RHICreateTexture2D passing it TexCreate_Dynamic if you need to update it every frame
answered May 12 '14 at 12:45 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here