Skip to content

VulkanFrameBuffer

final class VulkanFrameBuffer
Extends: FrameBufferHandle<VulkanTexture>
Package: dev.joid.backend.vulkan.render.framebuffer · Module: backend-vulkan · Source: VulkanFrameBuffer.java
Backends: Vulkan

An offscreen target of Vulkan with a color texture and a depth image, without stencil.

ReturnsSignatureSummary
VulkanFrameBuffer(VulkanRenderBridge bridge, int width, int height)Creates the color texture, the depth image and the framebuffer at that size in pixels; VulkanRenderBridge.createFrameBuffer calls it.

ReturnsSignatureSummary
longgetFramebuffer()Returns the Vulkan framebuffer handle.
VulkanRenderBridgegetBridge()Returns the render bridge that created it.
Inherited from FrameBufferHandle (5)

delete · getWidth · getHeight · getTexture · isDeleted

VulkanFrameBuffer(VulkanRenderBridge bridge, int width, int height)

Creates the color texture, the depth image and the framebuffer at that size in pixels; VulkanRenderBridge.createFrameBuffer calls it.

long getFramebuffer()

Returns the Vulkan framebuffer handle.

VulkanRenderBridge getBridge()

Returns the render bridge that created it.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page