Package com.mojang.blaze3d.pipeline
Class MainTarget
java.lang.Object
com.mojang.blaze3d.pipeline.RenderTarget
com.mojang.blaze3d.pipeline.MainTarget
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final MainTarget.Dimensionstatic final intstatic final intFields inherited from class com.mojang.blaze3d.pipeline.RenderTarget
colorTexture, colorTextureView, depthTexture, depthTextureView, filterMode, height, label, useDepth, useStencil, width -
Constructor Summary
ConstructorsConstructorDescriptionMainTarget(int pWidth, int pHeight) MainTarget(int pWidth, int pHeight, boolean enableStencil) -
Method Summary
Modifier and TypeMethodDescriptionprivate MainTarget.DimensionallocateAttachments(int pWidth, int pHeight) private GpuTextureallocateColorAttachment(MainTarget.Dimension pDimension) private GpuTextureallocateDepthAttachment(MainTarget.Dimension pDimension) private voidcreateFrameBuffer(int pWidth, int pHeight) Methods inherited from class com.mojang.blaze3d.pipeline.RenderTarget
blitAndBlendToTexture, blitToScreen, copyDepthFrom, createBuffers, destroyBuffers, getColorTexture, getColorTextureView, getDepthTexture, getDepthTextureView, resize, setFilterMode
-
Field Details
-
DEFAULT_WIDTH
public static final int DEFAULT_WIDTH- See Also:
-
DEFAULT_HEIGHT
public static final int DEFAULT_HEIGHT- See Also:
-
DEFAULT_DIMENSIONS
-
-
Constructor Details
-
MainTarget
public MainTarget(int pWidth, int pHeight) -
MainTarget
public MainTarget(int pWidth, int pHeight, boolean enableStencil)
-
-
Method Details
-
createFrameBuffer
private void createFrameBuffer(int pWidth, int pHeight) -
allocateAttachments
-
allocateColorAttachment
-
allocateDepthAttachment
-