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.Dimension
static final int
static final int
Fields inherited from class com.mojang.blaze3d.pipeline.RenderTarget
colorTexture, depthTexture, filterMode, height, label, useDepth, useStencil, viewHeight, viewWidth, width
-
Constructor Summary
ConstructorsConstructorDescriptionMainTarget
(int p_166137_, int p_166138_) MainTarget
(int p_166137_, int p_166138_, boolean enableStencil) -
Method Summary
Modifier and TypeMethodDescriptionprivate MainTarget.Dimension
allocateAttachments
(int p_166147_, int p_166148_) private GpuTexture
allocateColorAttachment
(MainTarget.Dimension p_166140_) private GpuTexture
allocateDepthAttachment
(MainTarget.Dimension p_166145_) private void
createFrameBuffer
(int p_166142_, int p_166143_) Methods inherited from class com.mojang.blaze3d.pipeline.RenderTarget
blitAndBlendToTexture, blitToScreen, copyDepthFrom, createBuffers, destroyBuffers, getColorTexture, getDepthTexture, 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 p_166137_, int p_166138_) -
MainTarget
public MainTarget(int p_166137_, int p_166138_, boolean enableStencil)
-
-
Method Details
-
createFrameBuffer
private void createFrameBuffer(int p_166142_, int p_166143_) -
allocateAttachments
-
allocateColorAttachment
-
allocateDepthAttachment
-