VulkanImage
final class VulkanImage
Package: dev.joid.backend.vulkan.render.texture · Module: backend-vulkan · Source: VulkanImage.java
Backends: Vulkan
An image of the host described for JOID: its image and view handles, its size and its number of levels.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
VulkanImage | of(long image, long view, int width, int height, int levels) factory | Describes the image of those handles, of that size in pixels and with that number of mipmap levels. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
long | getImage() | Returns the image handle. |
long | getView() | Returns the image view handle. |
int | getWidth() | Returns the width of the image, in pixels. |
int | getHeight() | Returns the height of the image, in pixels. |
int | getLevels() | Returns the number of mipmap levels, 1 without mipmaps. |
Creation details
Section titled “Creation details”VulkanImage of(long image, long view, int width, int height, int levels) factory
Describes the image of those handles, of that size in pixels and with that number of mipmap levels.
Method details
Section titled “Method details”getImage
Section titled “getImage”long getImage()
Returns the image handle.
getView
Section titled “getView”long getView()
Returns the image view handle.
getWidth
Section titled “getWidth”int getWidth()
Returns the width of the image, in pixels.
getHeight
Section titled “getHeight”int getHeight()
Returns the height of the image, in pixels.
getLevels
Section titled “getLevels”int getLevels()
Returns the number of mipmap levels, 1 without mipmaps.
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
