def _create_buffer(self, width, height, frame_buffer_property):
        """
        The buffer is created without frame_buffer_property by default
        Args:
            width: Image width
            height: Image height
            frame_buffer_property: disabled in Semantic Camera

        Returns: Buffer object

        """
        if frame_buffer_property is not None:
            self.buffer = self.engine.win.makeTextureBuffer(
                self.__class__.__name__, width, height, fbp=frame_buffer_property
            )
        else:
            self.buffer = self.engine.win.makeTextureBuffer(self.__class__.__name__, width, height)

        The buffer is created without frame_buffer_property by default
        Args:
            width: Image width
            height: Image height
            frame_buffer_property: disabled in Semantic Camera

        Returns: Buffer object

        
metadrive/engine/core/image_buffer.py