Class VFakePipeline
java.lang.Object
com.io7m.jcoronado.fake.VFakePipeline
- All Implemented Interfaces:
VulkanHandleNonDispatchableType, VulkanHandleType, VulkanPipelineType, com.io7m.jmulticlose.core.CloseableType, AutoCloseable
A fake pipeline.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe creation info of a fake compute pipeline.static interfaceThe creation info of a fake pipeline: either a graphics pipeline creation info, or a compute pipeline creation info.static final recordThe creation info of a fake graphics pipeline. -
Constructor Summary
ConstructorsConstructorDescriptionVFakePipeline(VulkanComputePipelineCreateInfo inCreateInfo) A fake compute pipeline.VFakePipeline(VulkanGraphicsPipelineCreateInfo inCreateInfo) A fake graphics pipeline. -
Method Summary
-
Constructor Details
-
VFakePipeline
A fake graphics pipeline.- Parameters:
inCreateInfo- The creation info
-
VFakePipeline
A fake compute pipeline.- Parameters:
inCreateInfo- The creation info
-
-
Method Details
-
createInfo
- Returns:
- The creation info
-
graphicsCreateInfo
- Returns:
- The graphics pipeline creation info
- Throws:
IllegalStateException- If the pipeline is a compute pipeline
-
computeCreateInfo
- Returns:
- The compute pipeline creation info
- Throws:
IllegalStateException- If the pipeline is a graphics pipeline
-
close
public void close()Description copied from interface:VulkanHandleTypeDestroy the object.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceVulkanHandleType- Specified by:
closein interfaceVulkanPipelineType
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfacecom.io7m.jmulticlose.core.CloseableType
-