Texture2d in UFunction

Hi, I’d like to create a blueprint function that takes a texture2d and some coordinates as an input. I can add input pins for basic data types:

UFUNCTION(BlueprintCallable, Category = "MyCategory")
	int ReadMap(int x, int y,);

but how do I add a texture2d as an input?

thanks

Just use pointer - UTexture2D* is Ok.

UFUNCTION(BlueprintCallable, Category = "Test")
	void Fun(UTexture2D* texture, int32 X, int32 Y) {}

Ah fantastic, thanks for the quick reply. That works perfectly - guess I need to go and educate myself about pointers now!