---
name: "rtcOccluded1M"
section: "3"
platform: "linux"
package: "libembree-dev"
version: "3.13.5+dfsg-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/rtcOccluded1M"
---

# rtcOccluded1M(3)

### NAME

-

  ```
  rtcOccluded1M - finds any hits for a stream of M single rays
  ```

### SYNOPSIS

-

  ```
  #include <embree3/rtcore.h>
  void rtcOccluded1M(
    RTCScene scene,
    struct RTCIntersectContext* context,
    struct RTCRay* ray,
    unsigned int M,
    size_t byteStride
  );
  ```

### DESCRIPTION

The `rtcOccluded1M` function checks whether there are any hits for a stream of `M` single rays (`ray` argument) with the scene (`scene` argument). The `ray` argument points to an array of rays with specified byte stride (`byteStride` argument) between the rays. See Section \[rtcOccluded1\] for a description of how to set up and trace occlusion rays.

-

  ```

  ```

-

  ```

  ```

A ray in a ray stream is considered inactive if its `tnear` value is larger than its `tfar` value.

The stream size `M` can be an arbitrary positive integer including 0. Each ray must be aligned to 16 bytes.

### EXIT STATUS

For performance reasons this function does not do any error checks, thus will not set any error flags on failure.

### SEE ALSO

\[rtcIntersect1M\]
