Download

Enqueue_render_command

Hi!

I’ve been following this tutorial http://www.sciement.com/tech-blog/c/…der_ue4_part3/ (right click and translate to English)
The guy uses ENQUEUE_UNIQUE_RENDER_COMMAND_XXXPARAMETERS for which you can find some documentation
However, it has been changed since to ENQUEUE_RENDER_COMMAND. As of 4.23, I cannot use the first option, it prompts me to update my code.
Problem is, there is no documentation on it, and I am a bit lost as to how to use it.
I would appreciate very much some help or some clarification.

Kind regards,
Matei

EDIT: NEVERMIND, I found something. Now I have linker errors, but I don’t get the first problem anymore.

I Have got this issue upgrading my gstreamer plugin from 4.25 → 4.26, any help would be brilliant. My code is currently looking like this:

ENQUEUE_UNIQUE_RENDER_COMMAND_TWOPARAMETER(	//This was for UE4.25
			UpdateTextureCmd,
			FGstTexture*, Context, this,
			IGstSample*, Sample, Sample,
		{
			Context->RenderCmd_UpdateTexture(Sample);
		});

And Another instance of the deprecated macro here:

	ENQUEUE_UNIQUE_RENDER_COMMAND(
		CreateTextureCmd,
		FGstTexture*, Context, this,
		{
			Context->RenderCmd_CreateTexture();
		});
	*/