DepthStencilState.java
com.mojang.blaze3d.pipeline.DepthStencilState
信息
- 全限定名:com.mojang.blaze3d.pipeline.DepthStencilState
- 类型:public record
- 包:com.mojang.blaze3d.pipeline
- 源码路径:src/main/java/com/mojang/blaze3d/pipeline/DepthStencilState.java
- 起始行号:L8
- 职责:
TODO
字段/常量
DEFAULT- 类型:
DepthStencilState - 修饰符:
public static final - 源码定位:
L9 - 说明:
TODO
- 类型:
内部类/嵌套类型
- 无
构造器
public DepthStencilState(CompareOp depthTest, boolean depthWrite) @ L11
- 构造器名:DepthStencilState
- 源码定位:L11
- 修饰符:public
参数:
- depthTest: CompareOp
- depthWrite: boolean
说明:
TODO
方法
下面的方法块按源码顺序生成。
- 无
代码
@OnlyIn(Dist.CLIENT)
public record DepthStencilState(CompareOp depthTest, boolean writeDepth, float depthBiasScaleFactor, float depthBiasConstant) {
public static final DepthStencilState DEFAULT = new DepthStencilState(CompareOp.LESS_THAN_OR_EQUAL, true);
public DepthStencilState(CompareOp depthTest, boolean depthWrite) {
this(depthTest, depthWrite, 0.0F, 0.0F);
}
}引用的其他类
- CompareOp
- 引用位置:
参数
- 引用位置: