I’m trying various techniques to color correct dynamically loaded textures:
However, ETextureColorSpace Enum is not an option when trying to make an input value to the function:
What can I do to get this option (ETextureColorSpace Enum)?
I’m trying various techniques to color correct dynamically loaded textures:
However, ETextureColorSpace Enum is not an option when trying to make an input value to the function:
What can I do to get this option (ETextureColorSpace Enum)?
i think you might need to edit the engine source for that.
iirc that’s because the enum is declared as to be used in bps, but not as a type. it’s a shame when that happens.
you can try just storing an int, and casting. (i think you can auto cast by just connecting an int to an enum)
alternatively if it’s for a function input, you can make your own enum, pass that as input, and then use a “select “ node to convert to the target enum. sucks. but it’s pretty common.
here’s a pr for it. you can try voting or smth. https://github.com/EpicGames/UnrealEngine/pull/13948