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

Method IsBuffer

shadercompiler/Type.cpp:170–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170bool Type::IsBuffer() const
171{
172 return symbol == nullptr &&
173 ( builtInType == OP_BUFFER ||
174 builtInType == OP_BYTEADDRESSBUFFER ||
175 builtInType == OP_STRUCTUREDBUFFER ||
176 builtInType == OP_APPENDSTRUCTUREDBUFFER ||
177 builtInType == OP_CONSUMESTRUCTUREDBUFFER ||
178 builtInType == OP_RWBUFFER ||
179 builtInType == OP_RWSTRUCTUREDBUFFER ||
180 builtInType == OP_RWBYTEADDRESSBUFFER );
181}
182
183bool Type::GetMethodType( ASTNode* methodCall, Type& returnType ) const
184{

Callers 4

OutputHLSL.cppFile · 0.80
PatchShaderFunction · 0.80
ParseGlobalInputFunction · 0.80
PatchMetalBufferCallsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected