Package icyllis.arc3d.vulkan
Class VkBackendRenderTarget
java.lang.Object
icyllis.arc3d.engine.BackendRenderTarget
icyllis.arc3d.vulkan.VkBackendRenderTarget
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionVkBackendRenderTarget(int width, int height, VulkanImageDesc info) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.@NonNull BackendFormatDeprecated.Get the BackendFormat for this texture.intDeprecated.intDeprecated.intDeprecated.booleanDeprecated.If the backend API is Vulkan, copies a snapshot of the VkImageInfo struct into the passed in pointer and returns true.booleanDeprecated.Returns true if we are working with protected content.voidsetVkImageLayout(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.voidsetVkQueueFamilyIndex(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:
getBackendin classBackendRenderTarget- Returns:
- see Types
-
getSampleCount
public int getSampleCount()Deprecated.- Specified by:
getSampleCountin classBackendRenderTarget
-
getDepthBits
public int getDepthBits()Deprecated.- Specified by:
getDepthBitsin classBackendRenderTarget
-
getStencilBits
public int getStencilBits()Deprecated.- Specified by:
getStencilBitsin classBackendRenderTarget
-
getVkImageInfo
Deprecated.Description copied from class:BackendRenderTargetIf 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:
getVkImageInfoin classBackendRenderTarget
-
setVkImageLayout
public void setVkImageLayout(int layout) Deprecated.Description copied from class:BackendRenderTargetAnytime 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:
setVkImageLayoutin classBackendRenderTarget
-
setVkQueueFamilyIndex
public void setVkQueueFamilyIndex(int queueFamilyIndex) Deprecated.Description copied from class:BackendRenderTargetAnytime 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:
setVkQueueFamilyIndexin classBackendRenderTarget
-
getBackendFormat
Deprecated.Description copied from class:BackendRenderTargetGet the BackendFormat for this texture.- Specified by:
getBackendFormatin classBackendRenderTarget
-
isProtected
public boolean isProtected()Deprecated.Description copied from class:BackendRenderTargetReturns true if we are working with protected content.- Specified by:
isProtectedin classBackendRenderTarget
-