ShaderManager::HasInstancingSupport

ShaderManager::HasInstancingSupport
bool HasInstancingSupport() const;
Description

HasInstancingSupport determines whether the device supports hardware instancing. Hardware instancing must be supported on cards supporting SM3.0+. If the card supports less than that, remove instancing support, because the hardware essentially does the same thing as batching, and not all drivers have good support for it.

Return Value

A Boolean value of true if instancing is supported and false otherwise.