was curious if hardware accelerated encoding was only h264 supported?
Does macOS support h265 hardware accelerated encoding
specifically interested in macOS
Yes, if the hardware supports it. I think 2017 or newer. Apple Silicon supports HEVC 10bit and 4:2:2 too.
You can use VideoToolBox API to list all the available encoders on your Mac or iOS device.