def add_depth_attachment(self, bits=32):
        """ Adds a depth attachment wit the given amount of bits """
        self._targets["depth"] = Texture(self.debug_name + "_depth")
        self._depth_bits = bits
 Adds a depth attachment wit the given amount of bits 
metadrive/render_pipeline/rpcore/render_target.py