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

Method VulkanDevice

RenderSystems/Vulkan/src/OgreVulkanDevice.cpp:48–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 static FastArray<IdString> msInstanceExtensions;
47
48 VulkanDevice::VulkanDevice( VkInstance instance, uint32 deviceIdx,
49 VulkanRenderSystem *renderSystem ) :
50 mInstance( instance ),
51 mPhysicalDevice( 0 ),
52 mDevice( 0 ),
53 mPresentQueue( 0 ),
54 mVaoManager( 0 ),
55 mRenderSystem( renderSystem ),
56 mSupportedStages( 0xFFFFFFFF ),
57 mIsExternal( false )
58 {
59 memset( &mDeviceMemoryProperties, 0, sizeof( mDeviceMemoryProperties ) );
60 createPhysicalDevice( deviceIdx );
61 }
62 //-------------------------------------------------------------------------
63 VulkanDevice::VulkanDevice( VkInstance instance, const VulkanExternalDevice &externalDevice,
64 VulkanRenderSystem *renderSystem ) :

Callers

nothing calls this directly

Calls 14

hasDeviceExtensionMethod · 0.95
efficientVectorRemoveFunction · 0.85
makeVkStructFunction · 0.85
initUtilsFunction · 0.85
setExternalQueueMethod · 0.80
logMessageMethod · 0.45
resizeMethod · 0.45
beginMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
findMethod · 0.45
reserveMethod · 0.45

Tested by

no test coverage detected