-
public class RenderTarget
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumRenderTarget.AttachmentPointAn attachment point is a slot that can be assigned to a Texture.
public classRenderTarget.BuilderConstructs
RenderTargetobjects using a builder pattern.
-
Method Summary
Modifier and Type Method Description longgetNativeObject()TexturegetTexture(@NonNull() RenderTarget.AttachmentPoint attachment)Gets the texture set on the given attachment point. intgetMipLevel(@NonNull() RenderTarget.AttachmentPoint attachment)Returns the mipmap level set on the given attachment point. Texture.CubemapFacegetFace(RenderTarget.AttachmentPoint attachment)Returns the face of a cubemap set on the given attachment point. intgetLayer(@NonNull() RenderTarget.AttachmentPoint attachment)Returns the texture-layer set on the given attachment point. -
-
Method Detail
-
getNativeObject
long getNativeObject()
-
getTexture
@Nullable() Texture getTexture(@NonNull() RenderTarget.AttachmentPoint attachment)
Gets the texture set on the given attachment point.
- Parameters:
attachment- Attachment point
-
getMipLevel
@IntRange(from = 0) int getMipLevel(@NonNull() RenderTarget.AttachmentPoint attachment)
Returns the mipmap level set on the given attachment point.
- Parameters:
attachment- Attachment point
-
getFace
Texture.CubemapFace getFace(RenderTarget.AttachmentPoint attachment)
Returns the face of a cubemap set on the given attachment point.
- Parameters:
attachment- Attachment point
-
getLayer
@IntRange(from = 0) int getLayer(@NonNull() RenderTarget.AttachmentPoint attachment)
Returns the texture-layer set on the given attachment point.
- Parameters:
attachment- Attachment point
-
-
-
-