little modify on HelloTriangle
add readFloat to renderer