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

Method GetBytecode

trinityal/stub/Tr2ShaderALStub.cpp:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58ALResult Tr2ShaderAL::GetBytecode( Tr2ShaderBytecodeAL& bytecode ) const
59{
60 if( m_bytecode.empty() )
61 {
62 bytecode = Tr2ShaderBytecodeAL();
63 return E_INVALIDCALL;
64 }
65 bytecode.bytecode = m_bytecode.get();
66 bytecode.size = m_bytecode.size();
67 return S_OK;
68}
69
70const Tr2ShaderSignatureAL& Tr2ShaderAL::GetSignature() const
71{

Callers

nothing calls this directly

Calls 4

Tr2ShaderBytecodeALClass · 0.85
emptyMethod · 0.80
getMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected