void get_swizzle_array(VkComponentSwizzle* out_swizzle_array_ptr) const
{
memcpy(out_swizzle_array_ptr,
m_swizzle_array,
sizeof(m_swizzle_array) );
}
get_swizzle_array copies the contents of m_swizzle_array to the input array, but there's no way to know as a caller how large the input array has to be without looking into the code. The array size is always 4, but there should probably be a function to retrieve that information.