VulkanTexture
final class VulkanTexture
Extends: Texture
Implements: IVulkanTexture
Package: dev.joid.backend.vulkan.render.texture · Module: backend-vulkan · Source: VulkanTexture.java
Backends: Vulkan
A texture of Vulkan in device memory, uploaded through a staging buffer, with mipmaps built by linear blits.
Description
Section titled “Description”A texture larger than the maximum size of the device throws an IllegalArgumentException that starts with A texture of.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
VulkanTexture | create(VulkanRenderBridge bridge) factory | Creates the texture, without storage; VulkanRenderBridge.createTexture calls it. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
VulkanRenderBridge | getBridge() | Returns the render bridge that created it. |
long | getView() | Returns the image view, VK_NULL_HANDLE before the storage exists. |
long | getImage() | Returns the image handle. |
long | getMemory() | Returns the memory handle. |
Inherited from Texture (10)
getWidth · getHeight · isAllocated · getLevels · isDeleted · isMipmapped · mipmap · allocate · upload · delete
Creation details
Section titled “Creation details”create
Section titled “create”VulkanTexture create(VulkanRenderBridge bridge) factory
Creates the texture, without storage; VulkanRenderBridge.createTexture calls it.
Method details
Section titled “Method details”getBridge
Section titled “getBridge”VulkanRenderBridge getBridge()
Returns the render bridge that created it.
getView
Section titled “getView”long getView()
Returns the image view, VK_NULL_HANDLE before the storage exists.
getImage
Section titled “getImage”long getImage()
Returns the image handle.
getMemory
Section titled “getMemory”long getMemory()
Returns the memory handle.
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
