MCPcopy Create free account
hub / github.com/carbonengine/trinity / IsSampler

Method IsSampler

shadercompiler/Type.cpp:159–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158
159bool Type::IsSampler() const
160{
161 return symbol == nullptr &&
162 ( builtInType == OP_SAMPLER ||
163 builtInType == OP_SAMPLER1D ||
164 builtInType == OP_SAMPLER2D ||
165 builtInType == OP_SAMPLER3D ||
166 builtInType == OP_SAMPLERCUBE ||
167 builtInType == OP_SAMPLERCOMPARISON );
168}
169
170bool Type::IsBuffer() const
171{

Callers 10

OutputHLSL.cppFile · 0.80
ProcessReflectionFunction · 0.80
CollectGlobalsFunction · 0.80
PatchShaderFunction · 0.80
GetStageDataForNodeFunction · 0.80
CreateGlobalInputsStructFunction · 0.80
ParseGlobalInputFunction · 0.80
MergeSamplersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected