Class VulkanRenderPipeline
java.lang.Object
com.mojang.renderpearl.backend.vulkan.VulkanRenderPipeline
- All Implemented Interfaces:
BackendRenderPipeline, Destroyable, UncheckedAutoCloseable, AutoCloseable
public final class VulkanRenderPipeline
extends Object
implements BackendRenderPipeline, Destroyable
-
Nested Class Summary
Nested classes/interfaces inherited from interface BackendRenderPipeline
BackendRenderPipeline.CreateInfo, BackendRenderPipeline.Pending -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final longprivate final VulkanDeviceprivate final longprivate final it.unimi.dsi.fastutil.longs.LongListprivate final List<BindGroupLayout.UniformDescription> private final longprivate final longprivate final long -
Constructor Summary
ConstructorsConstructorDescriptionVulkanRenderPipeline(VulkanDevice device, long withDepthStencilPipeline, long withDepthPipeline, long withoutDepthPipeline, long pipelineLayout, long descriptorSetLayout, it.unimi.dsi.fastutil.longs.LongList shaderModules, List<BindGroupLayout.UniformDescription> uniforms) -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidapplyBlendInformation(org.lwjgl.vulkan.VkPipelineColorBlendAttachmentState.Buffer blendAttachments, BlendFunction blendFunction) voidclose()static VulkanRenderPipelinecompile(VulkanDevice device, BackendRenderPipeline.CreateInfo pipelineCreateInfo) voiddestroy()device()booleanisClosed()longuniforms()longlonglong
-
Field Details
-
device
-
withDepthStencilPipeline
private final long withDepthStencilPipeline -
withDepthPipeline
private final long withDepthPipeline -
withoutDepthPipeline
private final long withoutDepthPipeline -
pipelineLayout
private final long pipelineLayout -
descriptorSetLayout
private final long descriptorSetLayout -
shaderModules
private final it.unimi.dsi.fastutil.longs.LongList shaderModules -
uniforms
-
closed
private boolean closed
-
-
Constructor Details
-
VulkanRenderPipeline
public VulkanRenderPipeline(VulkanDevice device, long withDepthStencilPipeline, long withDepthPipeline, long withoutDepthPipeline, long pipelineLayout, long descriptorSetLayout, it.unimi.dsi.fastutil.longs.LongList shaderModules, List<BindGroupLayout.UniformDescription> uniforms)
-
-
Method Details
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceBackendRenderPipeline
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceUncheckedAutoCloseable
-
compile
public static VulkanRenderPipeline compile(VulkanDevice device, BackendRenderPipeline.CreateInfo pipelineCreateInfo) -
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
applyBlendInformation
private static void applyBlendInformation(org.lwjgl.vulkan.VkPipelineColorBlendAttachmentState.Buffer blendAttachments, BlendFunction blendFunction) -
device
-
withDepthStencilPipeline
public long withDepthStencilPipeline() -
withDepthPipeline
public long withDepthPipeline() -
withoutDepthPipeline
public long withoutDepthPipeline() -
pipelineLayout
public long pipelineLayout() -
uniforms
-