Blender  V3.3
Public Types | Public Member Functions | Public Attributes | List of all members
CCLIntersectContext Struct Reference

#include <bvh.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
 
const Rayray
 
Intersectionisect_s
 
uint max_hits
 
uint num_hits
 
uint num_recorded_hits
 
float throughput
 
float max_t
 
bool opaque_hit
 
LocalIntersectionlocal_isect
 
int local_object_id
 
uintlcg_state
 

Detailed Description

Definition at line 28 of file kernel/device/cpu/bvh.h.

Member Enumeration Documentation

◆ RayType

Enumerator
RAY_REGULAR 
RAY_SHADOW_ALL 
RAY_LOCAL 
RAY_SSS 
RAY_VOLUME_ALL 

Definition at line 29 of file kernel/device/cpu/bvh.h.

Constructor & Destructor Documentation

◆ CCLIntersectContext()

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

Member Data Documentation

◆ isect_s

Intersection* CCLIntersectContext::isect_s

◆ kg

KernelGlobals CCLIntersectContext::kg

◆ lcg_state

uint* CCLIntersectContext::lcg_state

◆ local_isect

LocalIntersection* CCLIntersectContext::local_isect

◆ local_object_id

int CCLIntersectContext::local_object_id

◆ max_hits

uint CCLIntersectContext::max_hits

◆ max_t

float CCLIntersectContext::max_t

◆ num_hits

uint CCLIntersectContext::num_hits

◆ num_recorded_hits

uint CCLIntersectContext::num_recorded_hits

◆ opaque_hit

bool CCLIntersectContext::opaque_hit

◆ ray

const Ray* CCLIntersectContext::ray

◆ throughput

float CCLIntersectContext::throughput

◆ type

RayType CCLIntersectContext::type

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