Blender  V2.93
Public Types | Public Member Functions | Public Attributes | List of all members
CCLIntersectContext Struct Reference

#include <bvh_embree.h>

Public Types

enum  RayType {
  RAY_REGULAR = 0 , RAY_SHADOW_ALL = 1 , RAY_LOCAL = 2 , RAY_SSS = 3 ,
  RAY_VOLUME_ALL = 4
}
 

Public Member Functions

 CCLIntersectContext (KernelGlobals *kg_, RayType type_)
 

Public Attributes

KernelGlobals * kg
 
RayType type
 
Intersectionisect_s
 
int max_hits
 
int num_hits
 
LocalIntersectionlocal_isect
 
int local_object_id
 
uintlcg_state
 

Detailed Description

Definition at line 30 of file kernel/bvh/bvh_embree.h.

Member Enumeration Documentation

◆ RayType

Enumerator
RAY_REGULAR 
RAY_SHADOW_ALL 
RAY_LOCAL 
RAY_SSS 
RAY_VOLUME_ALL 

Definition at line 31 of file kernel/bvh/bvh_embree.h.

Constructor & Destructor Documentation

◆ CCLIntersectContext()

CCLIntersectContext::CCLIntersectContext ( KernelGlobals *  kg_,
RayType  type_ 
)
inline

Definition at line 52 of file kernel/bvh/bvh_embree.h.

References isect_s, kg, lcg_state, local_isect, local_object_id, max_hits, NULL, num_hits, and type.

Member Data Documentation

◆ isect_s

Intersection* CCLIntersectContext::isect_s

Definition at line 43 of file kernel/bvh/bvh_embree.h.

Referenced by CCLIntersectContext().

◆ kg

KernelGlobals* CCLIntersectContext::kg

Definition at line 39 of file kernel/bvh/bvh_embree.h.

Referenced by CCLIntersectContext().

◆ lcg_state

uint* CCLIntersectContext::lcg_state

Definition at line 50 of file kernel/bvh/bvh_embree.h.

Referenced by CCLIntersectContext().

◆ local_isect

LocalIntersection* CCLIntersectContext::local_isect

Definition at line 48 of file kernel/bvh/bvh_embree.h.

Referenced by CCLIntersectContext().

◆ local_object_id

int CCLIntersectContext::local_object_id

Definition at line 49 of file kernel/bvh/bvh_embree.h.

Referenced by CCLIntersectContext().

◆ max_hits

int CCLIntersectContext::max_hits

Definition at line 44 of file kernel/bvh/bvh_embree.h.

Referenced by CCLIntersectContext().

◆ num_hits

int CCLIntersectContext::num_hits

Definition at line 45 of file kernel/bvh/bvh_embree.h.

Referenced by CCLIntersectContext().

◆ type

RayType CCLIntersectContext::type

Definition at line 40 of file kernel/bvh/bvh_embree.h.

Referenced by CCLIntersectContext().


The documentation for this struct was generated from the following file: