Class VFakeMetricsLogicalDevice
java.lang.Object
com.io7m.jcoronado.fake.VFakeMetricsLogicalDevice
- All Implemented Interfaces:
VulkanMetricsLogicalDeviceType
public final class VFakeMetricsLogicalDevice
extends Object
implements VulkanMetricsLogicalDeviceType
Fake logical device metrics.
-
Constructor Summary
ConstructorsConstructorDescriptionFake logical device metrics. -
Method Summary
Modifier and TypeMethodDescriptionlongdeviceID()longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong
-
Constructor Details
-
VFakeMetricsLogicalDevice
Fake logical device metrics.- Parameters:
inMetrics- The instance metrics
-
-
Method Details
-
deviceID
public long deviceID()- Specified by:
deviceIDin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The unique device ID
-
getBuffers
public long getBuffers()- Specified by:
getBuffersin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing buffers
-
getCommandBuffers
public long getCommandBuffers()- Specified by:
getCommandBuffersin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing command buffers
-
getCommandPools
public long getCommandPools()- Specified by:
getCommandPoolsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing command pools
-
getComputePipelines
public long getComputePipelines()- Specified by:
getComputePipelinesin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing compute pipelines
-
getEvents
public long getEvents()- Specified by:
getEventsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing events
-
getFences
public long getFences()- Specified by:
getFencesin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing fences
-
getFramebuffers
public long getFramebuffers()- Specified by:
getFramebuffersin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing framebuffers
-
getGraphicsPipelines
public long getGraphicsPipelines()- Specified by:
getGraphicsPipelinesin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing graphics pipelines
-
getQueryPools
public long getQueryPools()- Specified by:
getQueryPoolsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing query pools
-
getRenderPasses
public long getRenderPasses()- Specified by:
getRenderPassesin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing render passes
-
getPipelineCaches
public long getPipelineCaches()- Specified by:
getPipelineCachesin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing pipeline caches
-
getPipelineLayouts
public long getPipelineLayouts()- Specified by:
getPipelineLayoutsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing pipeline layouts
-
getSamplers
public long getSamplers()- Specified by:
getSamplersin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing samplers
-
getTimelineSemaphores
public long getTimelineSemaphores()- Specified by:
getTimelineSemaphoresin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing timeline semaphores
-
getBinarySemaphores
public long getBinarySemaphores()- Specified by:
getBinarySemaphoresin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing binary semaphores
-
getImages
public long getImages()- Specified by:
getImagesin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing images
-
getImageViews
public long getImageViews()- Specified by:
getImageViewsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing image views
-
getDescriptorPools
public long getDescriptorPools()- Specified by:
getDescriptorPoolsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing descriptor pools
-
getDescriptorSetLayouts
public long getDescriptorSetLayouts()- Specified by:
getDescriptorSetLayoutsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing descriptor set layouts
-
getBufferViews
public long getBufferViews()- Specified by:
getBufferViewsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The number of currently existing buffer views
-
instanceMetrics
- Specified by:
instanceMetricsin interfaceVulkanMetricsLogicalDeviceType- Returns:
- The metrics for the owning instance
-