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.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| 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. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
long | getFramebuffer() | Returns the Vulkan framebuffer handle. |
VulkanRenderBridge | getBridge() | Returns the render bridge that created it. |
Inherited from FrameBufferHandle (5)
delete · getWidth · getHeight · getTexture · isDeleted
Creation details
Section titled “Creation details”VulkanFrameBuffer
Section titled “VulkanFrameBuffer”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.
Method details
Section titled “Method details”getFramebuffer
Section titled “getFramebuffer”long getFramebuffer()
Returns the Vulkan framebuffer handle.
getBridge
Section titled “getBridge”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
