enum DepthWrite : Enum<DepthWrite>
// Enable depth writing for standard opaque objects sceneMaterial.setDepthWrite(DepthWrite.ENABLE) // Disable depth writing for transparent objects sceneMaterial.setDepthWrite(DepthWrite.DISABLE)
| Name | Summary |
|---|---|
| Name | Summary |
|---|---|
encoding | val encoding: Int Integer value corresponding to the native graphics API encoding for this depth write mode |
name | val name: String |
ordinal | val ordinal: Int |
| Name | Summary |
|---|---|
valueOf | fun valueOf(value: String): DepthWrite Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
values | fun values(): Array<DepthWrite> Returns an array containing the constants of this enum type, in the order they’re declared. |