Blender V5.0
ShaderGlobals Struct Reference

#include <types.h>

Public Attributes

packed_float3 P
packed_float3 dPdx
packed_float3 dPdy
packed_float3 dPdz
packed_float3 I
packed_float3 dIdx
packed_float3 dIdy
packed_float3 N
packed_float3 Ng
float u
float dudx
float dudy
float v
float dvdx
float dvdy
packed_float3 dPdu
packed_float3 dPdv
float time
float dtime
packed_float3 dPdtime
packed_float3 Ps
packed_float3 dPsdx
packed_float3 dPsdy
ccl_private ShaderData * sd
ccl_private OSLTraceData * tracedata
const ThreadKernelGlobalsCPUkg
void * context
void * shadingStateUniform
int thread_index
int shade_index
void * renderer
ccl_private void * object2common
ccl_private void * shader2common
ccl_private OSLClosureCi
float surfacearea
int raytype
int flipHandedness
int backfacing
const struct IntegratorStateCPUpath_state
const struct IntegratorShadowStateCPUshadow_path_state

Detailed Description

Definition at line 91 of file kernel/osl/types.h.

Member Data Documentation

◆ backfacing

int ShaderGlobals::backfacing

Definition at line 135 of file kernel/osl/types.h.

◆ Ci

ccl_private OSLClosure* ShaderGlobals::Ci

Definition at line 131 of file kernel/osl/types.h.

◆ context

void* ShaderGlobals::context

Definition at line 119 of file kernel/osl/types.h.

◆ dIdx

packed_float3 ShaderGlobals::dIdx

Definition at line 95 of file kernel/osl/types.h.

◆ dIdy

packed_float3 ShaderGlobals::dIdy

Definition at line 95 of file kernel/osl/types.h.

◆ dPdtime

packed_float3 ShaderGlobals::dPdtime

Definition at line 103 of file kernel/osl/types.h.

◆ dPdu

packed_float3 ShaderGlobals::dPdu

Definition at line 100 of file kernel/osl/types.h.

◆ dPdv

packed_float3 ShaderGlobals::dPdv

Definition at line 100 of file kernel/osl/types.h.

◆ dPdx

packed_float3 ShaderGlobals::dPdx

Definition at line 93 of file kernel/osl/types.h.

◆ dPdy

packed_float3 ShaderGlobals::dPdy

Definition at line 93 of file kernel/osl/types.h.

◆ dPdz

packed_float3 ShaderGlobals::dPdz

Definition at line 94 of file kernel/osl/types.h.

◆ dPsdx

packed_float3 ShaderGlobals::dPsdx

Definition at line 104 of file kernel/osl/types.h.

◆ dPsdy

packed_float3 ShaderGlobals::dPsdy

Definition at line 104 of file kernel/osl/types.h.

◆ dtime

float ShaderGlobals::dtime

Definition at line 102 of file kernel/osl/types.h.

◆ dudx

float ShaderGlobals::dudx

Definition at line 98 of file kernel/osl/types.h.

◆ dudy

float ShaderGlobals::dudy

Definition at line 98 of file kernel/osl/types.h.

◆ dvdx

float ShaderGlobals::dvdx

Definition at line 99 of file kernel/osl/types.h.

◆ dvdy

float ShaderGlobals::dvdy

Definition at line 99 of file kernel/osl/types.h.

◆ flipHandedness

int ShaderGlobals::flipHandedness

Definition at line 134 of file kernel/osl/types.h.

◆ I

packed_float3 ShaderGlobals::I

Definition at line 95 of file kernel/osl/types.h.

◆ kg

◆ N

packed_float3 ShaderGlobals::N

Definition at line 96 of file kernel/osl/types.h.

Referenced by OSLRenderServices::get_camera_attribute().

◆ Ng

packed_float3 ShaderGlobals::Ng

Definition at line 97 of file kernel/osl/types.h.

◆ object2common

ccl_private void* ShaderGlobals::object2common

Definition at line 129 of file kernel/osl/types.h.

◆ P

packed_float3 ShaderGlobals::P

Definition at line 93 of file kernel/osl/types.h.

◆ path_state

const struct IntegratorStateCPU* ShaderGlobals::path_state

◆ Ps

packed_float3 ShaderGlobals::Ps

Definition at line 104 of file kernel/osl/types.h.

◆ raytype

int ShaderGlobals::raytype

Definition at line 133 of file kernel/osl/types.h.

Referenced by OSLRenderServices::get_background_attribute().

◆ renderer

void* ShaderGlobals::renderer

Definition at line 128 of file kernel/osl/types.h.

◆ sd

◆ shade_index

int ShaderGlobals::shade_index

Definition at line 126 of file kernel/osl/types.h.

◆ shader2common

ccl_private void* ShaderGlobals::shader2common

Definition at line 130 of file kernel/osl/types.h.

◆ shadingStateUniform

void* ShaderGlobals::shadingStateUniform

Definition at line 120 of file kernel/osl/types.h.

◆ shadow_path_state

const struct IntegratorShadowStateCPU* ShaderGlobals::shadow_path_state

Definition at line 140 of file kernel/osl/types.h.

Referenced by OSLRenderServices::get_background_attribute().

◆ surfacearea

float ShaderGlobals::surfacearea

Definition at line 132 of file kernel/osl/types.h.

◆ thread_index

int ShaderGlobals::thread_index

Definition at line 121 of file kernel/osl/types.h.

◆ time

float ShaderGlobals::time

Definition at line 101 of file kernel/osl/types.h.

◆ tracedata

ccl_private OSLTraceData* ShaderGlobals::tracedata

Definition at line 110 of file kernel/osl/types.h.

Referenced by OSLRenderServices::getmessage(), and OSLRenderServices::trace().

◆ u

float ShaderGlobals::u

Definition at line 98 of file kernel/osl/types.h.

◆ v

float ShaderGlobals::v

Definition at line 99 of file kernel/osl/types.h.


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