Package com.mojang.blaze3d.pipeline
Class RenderTarget
java.lang.Object
com.mojang.blaze3d.pipeline.RenderTarget
- Direct Known Subclasses:
MainTarget
,TextureTarget
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GpuTexture
protected GpuTexture
int
protected final String
private static int
final boolean
final boolean
int
int
int
-
Constructor Summary
ConstructorsConstructorDescriptionRenderTarget
(String p_405387_, boolean p_166199_) RenderTarget
(String p_405387_, boolean p_166199_, boolean useStencil) -
Method Summary
Modifier and TypeMethodDescriptionvoid
blitAndBlendToTexture
(GpuTexture p_410204_) void
void
copyDepthFrom
(RenderTarget p_83946_) void
createBuffers
(int p_83951_, int p_83952_) void
void
resize
(int p_83942_, int p_83943_) void
setFilterMode
(FilterMode p_404671_) private void
setFilterMode
(FilterMode p_404975_, boolean p_333775_)
-
Field Details
-
UNNAMED_RENDER_TARGETS
private static int UNNAMED_RENDER_TARGETS -
width
public int width -
height
public int height -
viewWidth
public int viewWidth -
viewHeight
public int viewHeight -
label
-
useDepth
public final boolean useDepth -
useStencil
public final boolean useStencil -
colorTexture
-
depthTexture
-
filterMode
-
-
Constructor Details
-
RenderTarget
-
RenderTarget
-
-
Method Details
-
resize
public void resize(int p_83942_, int p_83943_) -
destroyBuffers
public void destroyBuffers() -
copyDepthFrom
-
createBuffers
public void createBuffers(int p_83951_, int p_83952_) -
setFilterMode
-
setFilterMode
-
blitToScreen
public void blitToScreen() -
blitAndBlendToTexture
-
getColorTexture
-
getDepthTexture
-