Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/OpenShadingLanguage
/ functions
Functions
2,194 in github.com/AcademySoftwareFoundation/OpenShadingLanguage
⨍
Functions
2,194
◇
Types & classes
269
↓ 425 callers
Method
size
src/liboslexec/automata.h:269
↓ 360 callers
Method
data
Return a pointer to the symbol's data.
src/include/osl_pvt.h:572
↓ 342 callers
Method
c_str
src/liboslexec/typespec.cpp:96
↓ 321 callers
Method
inst
Return a pointer to the currently-examining instance within the group.
src/liboslexec/oslexec_pvt.h:1942
↓ 300 callers
Method
opargsym
Return the ptr to the symbol that is the argnum-th argument to the given op in the current instance.
src/liboslexec/oslexec_pvt.h:1958
↓ 270 callers
Function
testshade
(args)
testsuite/runtest.py:189
↓ 211 callers
Method
constant
src/liboslexec/llvm_util.cpp:1068
↓ 196 callers
Method
is_constant
src/include/osl_pvt.h:698
↓ 188 callers
Method
firstarg
src/include/osl_pvt.h:777
↓ 156 callers
Method
is_int
Is it a simple scalar int?
src/include/osl_pvt.h:251
↓ 155 callers
Function
e
(e,t,r)
src/doc/markdeep.min.js:4
↓ 148 callers
Method
symtype
Kind of symbol this is (param, local, etc.)
src/include/osl_pvt.h:517
↓ 143 callers
Method
llvm_load_value
src/liboslexec/backendllvm.cpp:367
↓ 142 callers
Function
grad
src/include/OSL/oslnoise.h:862
↓ 134 callers
Method
opname
src/liboslcomp/ast.cpp:748
↓ 133 callers
Method
is_float
Is it a simple scalar float?
src/include/osl_pvt.h:258
↓ 132 callers
Method
has_derivs
src/include/osl_pvt.h:584
↓ 124 callers
Method
nargs
src/include/osl_pvt.h:778
↓ 121 callers
Method
argsymbol
src/liboslexec/oslexec_pvt.h:1193
↓ 114 callers
Method
end
src/liboslexec/accum.cpp:219
↓ 114 callers
Method
size
src/include/osl_pvt.h:588
↓ 109 callers
Function
error
src/liboslexec/oslexec_pvt.h:1773
↓ 104 callers
Method
add_constant
src/liboslexec/runtimeoptimize.cpp:235
↓ 103 callers
Method
name
src/liboslexec/oslexec_pvt.h:1494
↓ 99 callers
Method
is_triple
Is it a simple triple (color, point, vector, or normal)?
src/include/osl_pvt.h:324
↓ 95 callers
Method
turn_into_assign
src/liboslexec/runtimeoptimize.cpp:410
↓ 90 callers
Method
call_function
src/liboslexec/llvm_util.cpp:1237
↓ 88 callers
Method
is_string
Is it a simple string?
src/include/osl_pvt.h:293
↓ 85 callers
Method
clear
src/liboslexec/automata.cpp:515
↓ 79 callers
Function
group
Return a pointer to the shading group for this context.
src/liboslexec/oslexec_pvt.h:1677
↓ 77 callers
Method
get
src/liboslexec/pointcloud.cpp:91
↓ 75 callers
Function
T
(e,t)
src/doc/markdeep.min.js:4
↓ 75 callers
Function
max
src/shaders/color2.h:196
↓ 75 callers
Function
quick_floor
return the greatest integer <= x
src/include/OSL/oslnoise.h:147
↓ 74 callers
Method
llvm_void_ptr
src/liboslexec/backendllvm.h:264
↓ 69 callers
Method
insert
src/liboslcomp/symtab.cpp:225
↓ 68 callers
Method
begin
src/liboslexec/accum.cpp:210
↓ 68 callers
Function
comp
src/include/OSL/dual_vec.h:170
↓ 68 callers
Function
perlin
src/include/OSL/oslnoise.h:1243
↓ 67 callers
Function
floorfrac
floorfrac return quick_floor as well as the fractional remainder FIXME: already implemented inside OIIO but can't easily override it for duals inside
src/include/OSL/oslnoise.h:809
↓ 67 callers
Method
symbol
src/liboslexec/context.cpp:267
↓ 63 callers
Function
o
(e)
src/doc/markdeep.min.js:4
↓ 62 callers
Method
nodetype
What type of node is this?
src/liboslcomp/ast.h:103
↓ 60 callers
Method
dataoffset
src/liboslexec/oslexec_pvt.h:1259
↓ 60 callers
Method
numelements
Number of elements
src/include/osl_pvt.h:226
↓ 59 callers
Method
is_structure
Is this symbol a structure?
src/include/osl_pvt.h:541
↓ 57 callers
Method
mangled
src/liboslcomp/symtab.cpp:44
↓ 56 callers
Method
empty
src/liboslexec/oslexec_pvt.h:468
↓ 56 callers
Method
is_array
Is this an array (either a simple array, or an array of structs)?
src/include/osl_pvt.h:209
↓ 55 callers
Method
llvm_store_value
src/liboslexec/backendllvm.cpp:562
↓ 54 callers
Method
attribute
src/liboslexec/shadingsys.cpp:85
↓ 54 callers
Method
error
Check for error in the last parsed string
src/liboslexec/lpeparse.h:71
↓ 53 callers
Function
equivalent
src/liboslexec/typespec.cpp:137
↓ 53 callers
Method
is_closure
Is this typespec a closure? (N.B. if so, you can find out what kind of closure it is with simpletype()).
src/include/osl_pvt.h:158
↓ 52 callers
Function
y
(e,t)
src/doc/markdeep.min.js:4
↓ 51 callers
Function
fade
src/include/OSL/oslnoise.h:845
↓ 51 callers
Method
getType
src/liboslexec/lpexp.h:97
↓ 49 callers
Function
min
src/shaders/color2.h:208
↓ 48 callers
Method
elementtype
For an array, return the TypeSpec of an individual element of the array. For a non-array, just return the type.
src/include/osl_pvt.h:239
↓ 48 callers
Method
is_closure_based
Is this typespec based on closures (either a scalar or array of closures)?
src/include/osl_pvt.h:166
↓ 48 callers
Method
layername
Return the layer name of this instance
src/liboslexec/oslexec_pvt.h:1002
↓ 48 callers
Method
string
src/liboslexec/typespec.cpp:67
↓ 47 callers
Function
wrap
src/liboslnoise/gabornoise.cpp:242
↓ 44 callers
Method
find
src/liboslexec/oslexec_pvt.h:1397
↓ 44 callers
Method
sg_void_ptr
Return the ShaderGlobals pointer cast as a void*.
src/liboslexec/backendllvm.h:256
↓ 43 callers
Function
n
(t,n)
src/doc/markdeep.min.js:4
↓ 43 callers
Function
t
(e)
src/doc/markdeep.min.js:4
↓ 40 callers
Function
color
src/shaders/stdosl.h:168
↓ 40 callers
Method
jump
Return the i'th jump target address (-1 for none).
src/include/osl_pvt.h:812
↓ 39 callers
Method
is_matrix
Is it a simple matrix (but not an array or closure)?
src/include/osl_pvt.h:380
↓ 38 callers
Method
args
src/liboslcomp/ast.h:874
↓ 38 callers
Function
imod
always return a value inside [0,b) - even for negative numbers
src/include/OSL/oslnoise.h:795
↓ 38 callers
Method
sourcefile
What source file was this parse node created from?
src/liboslcomp/ast.h:177
↓ 38 callers
Function
v
(t,r)
src/doc/markdeep.min.js:4
↓ 38 callers
Function
vectorbytes
src/liboslexec/oslexec_pvt.h:337
↓ 37 callers
Method
valuesource
src/liboslexec/oslexec_pvt.h:1249
↓ 36 callers
Function
A
(e,t,r)
src/doc/markdeep.min.js:4
↓ 36 callers
Method
void_ptr
src/liboslexec/llvm_util.cpp:1165
↓ 35 callers
Method
arraylength
Returns the length of the array, or 0 if not an array.
src/include/osl_pvt.h:218
↓ 35 callers
Method
sourceline
What line of the source file was this parse node created from?
src/liboslcomp/ast.h:181
↓ 33 callers
Method
is_unsized_array
Is this a variable length array, without a definite size?
src/include/osl_pvt.h:212
↓ 33 callers
Method
name
src/liboslcomp/ast.h:512
↓ 32 callers
Method
initend
src/include/osl_pvt.h:616
↓ 32 callers
Method
structspec
Return the structspec for this structure.
src/include/osl_pvt.h:187
↓ 31 callers
Method
set
src/include/OSL/dual.h:100
↓ 31 callers
Method
shadername
src/liboslcomp/ast.h:410
↓ 29 callers
Method
arg
src/liboslexec/oslexec_pvt.h:1192
↓ 29 callers
Method
initbegin
src/include/osl_pvt.h:614
↓ 29 callers
Method
lockgeom
src/liboslexec/oslexec_pvt.h:1255
↓ 29 callers
Function
make_Vec3
A uniform way to assemble a Vec3 from float and a Dual<Vec3> from Dual<float>.
src/include/OSL/dual_vec.h:81
↓ 28 callers
Function
b
(t,n)
src/doc/markdeep.min.js:4
↓ 28 callers
Method
llvm_zero_derivs
src/liboslexec/backendllvm.cpp:188
↓ 28 callers
Method
next
Return a reference-counted pointer to the next node in the sequence.
src/liboslcomp/ast.h:212
↓ 28 callers
Function
r
(e)
src/doc/markdeep.min.js:4
↓ 27 callers
Function
d
(e)
src/doc/markdeep.min.js:4
↓ 27 callers
Method
nextptr
Return the raw pointer to the next node in the sequence. Use with caution!
src/liboslcomp/ast.h:216
↓ 27 callers
Function
p
(t,r)
src/doc/markdeep.min.js:4
↓ 26 callers
Function
debug
Set debug level
src/include/OSL/llvm_util.h:81
↓ 26 callers
Function
get
transform vector
src/testrender/sampling.h:26
↓ 26 callers
Method
new_basic_block
src/liboslexec/llvm_util.cpp:886
next →
1–100 of 2,194, ranked by callers