Package icyllis.arc3d.vulkan
Class VkBackendRenderTarget
java.lang.Object
icyllis.arc3d.engine.BackendRenderTarget
icyllis.arc3d.vulkan.VkBackendRenderTarget
Deprecated.
-
Constructor Summary
ConstructorDescriptionVkBackendRenderTarget
(int width, int height, VulkanImageDesc info) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Deprecated.Get the BackendFormat for this texture.int
Deprecated.int
Deprecated.int
Deprecated.boolean
Deprecated.If the backend API is Vulkan, copies a snapshot of the VkImageInfo struct into the passed in pointer and returns true.boolean
Deprecated.Returns true if we are working with protected content.void
setVkImageLayout
(int layout) Deprecated.Anytime the client changes the VkImageLayout of the VkImage captured by this BackendTexture, they must call this function to notify pipeline of the changed layout.void
setVkQueueFamilyIndex
(int queueFamilyIndex) Deprecated.Anytime the client changes the QueueFamilyIndex of the VkImage captured by this BackendTexture, they must call this function to notify pipeline of the changed layout.Methods inherited from class icyllis.arc3d.engine.BackendRenderTarget
getGLFramebufferInfo, getHeight, getWidth
-
Constructor Details
-
VkBackendRenderTarget
Deprecated.
-
-
Method Details
-
getBackend
public int getBackend()Deprecated.- Specified by:
getBackend
in classBackendRenderTarget
- Returns:
- see Types
-
getSampleCount
public int getSampleCount()Deprecated.- Specified by:
getSampleCount
in classBackendRenderTarget
-
getDepthBits
public int getDepthBits()Deprecated.- Specified by:
getDepthBits
in classBackendRenderTarget
-
getStencilBits
public int getStencilBits()Deprecated.- Specified by:
getStencilBits
in classBackendRenderTarget
-
getVkImageInfo
Deprecated.Description copied from class:BackendRenderTarget
If the backend API is Vulkan, copies a snapshot of the VkImageInfo struct into the passed in pointer and returns true. This snapshot will set the mImageLayout to the current layout state. Otherwise, returns false if the backend API is not Vulkan.- Overrides:
getVkImageInfo
in classBackendRenderTarget
-
setVkImageLayout
public void setVkImageLayout(int layout) Deprecated.Description copied from class:BackendRenderTarget
Anytime the client changes the VkImageLayout of the VkImage captured by this BackendTexture, they must call this function to notify pipeline of the changed layout.- Overrides:
setVkImageLayout
in classBackendRenderTarget
-
setVkQueueFamilyIndex
public void setVkQueueFamilyIndex(int queueFamilyIndex) Deprecated.Description copied from class:BackendRenderTarget
Anytime the client changes the QueueFamilyIndex of the VkImage captured by this BackendTexture, they must call this function to notify pipeline of the changed layout.- Overrides:
setVkQueueFamilyIndex
in classBackendRenderTarget
-
getBackendFormat
Deprecated.Description copied from class:BackendRenderTarget
Get the BackendFormat for this texture.- Specified by:
getBackendFormat
in classBackendRenderTarget
-
isProtected
public boolean isProtected()Deprecated.Description copied from class:BackendRenderTarget
Returns true if we are working with protected content.- Specified by:
isProtected
in classBackendRenderTarget
-