Package icyllis.arc3d.engine
Class BackendRenderTarget
java.lang.Object
icyllis.arc3d.engine.BackendRenderTarget
- Direct Known Subclasses:
GLBackendRenderTarget,VkBackendRenderTarget
Deprecated.
A BackendRenderTarget instance is initialized once, and may be shared.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intDeprecated.abstract @NonNull BackendFormatDeprecated.Get the BackendFormat for this texture.abstract intDeprecated.booleanDeprecated.If the backend API is OpenGL, copies a snapshot of the GLFramebufferInfo struct into the passed in pointer and returns true.final intDeprecated.abstract intDeprecated.abstract intDeprecated.booleanDeprecated.If the backend API is Vulkan, copies a snapshot of the VkImageInfo struct into the passed in pointer and returns true.final intgetWidth()Deprecated.abstract 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.
-
Constructor Details
-
BackendRenderTarget
public BackendRenderTarget(int width, int height) Deprecated.
-
-
Method Details
-
getBackend
public abstract int getBackend()Deprecated.- Returns:
- see Types
-
getWidth
public final int getWidth()Deprecated.- Returns:
- width in pixels
-
getHeight
public final int getHeight()Deprecated.- Returns:
- height in pixels
-
getSampleCount
public abstract int getSampleCount()Deprecated. -
getDepthBits
public abstract int getDepthBits()Deprecated. -
getStencilBits
public abstract int getStencilBits()Deprecated. -
getGLFramebufferInfo
Deprecated.If the backend API is OpenGL, copies a snapshot of the GLFramebufferInfo struct into the passed in pointer and returns true. Otherwise, returns false if the backend API is not OpenGL. -
getVkImageInfo
Deprecated.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. -
setVkImageLayout
public 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. -
setVkQueueFamilyIndex
public 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. -
getBackendFormat
Deprecated.Get the BackendFormat for this texture. -
isProtected
public abstract boolean isProtected()Deprecated.Returns true if we are working with protected content.
-