MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / hasDeviceExtension

Method hasDeviceExtension

RenderSystems/Vulkan/src/OgreVulkanDevice.cpp:620–625  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

618 }
619 //-------------------------------------------------------------------------
620 bool VulkanDevice::hasDeviceExtension( const IdString extension ) const
621 {
622 FastArray<IdString>::const_iterator itor =
623 std::lower_bound( mDeviceExtensions.begin(), mDeviceExtensions.end(), extension );
624 return itor != mDeviceExtensions.end() && *itor == extension;
625 }
626 //-------------------------------------------------------------------------
627 bool VulkanDevice::hasInstanceExtension( const IdString extension )
628 {

Callers 4

VulkanDeviceMethod · 0.95
createDeviceMethod · 0.95
_createRenderWindowMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected