Constructs a new depth copy material.
ProtectedfarThe current camera far plane value.
The current depth copy mode.
ProtectednearThe current camera near plane value.
The screen space position used for single-texel copy operations.
Copies the settings of the given camera.
Updates the camera-related uniforms and macros.
A camera.
Updates the resolution uniform (XY = resolution, ZW = texelSize).
The width.
The height.
A depth copy shader material.