(XDK) Use wrapper functions in render_chain_xdk.h