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

Method GetBytecode

trinityal/dx12/Tr2ShaderALDx12.cpp:62–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62ALResult Tr2ShaderAL::GetBytecode( Tr2ShaderBytecodeAL& bytecode ) const
63{
64 if( !IsValid() )
65 {
66 bytecode = Tr2ShaderBytecodeAL();
67 return E_INVALIDCALL;
68 }
69 bytecode.bytecode = m_bytecode.get();
70 bytecode.size = m_bytecode.size();
71 return S_OK;
72}
73
74const Tr2ShaderSignatureAL& Tr2ShaderAL::GetSignature() const
75{

Callers

nothing calls this directly

Calls 4

Tr2ShaderBytecodeALClass · 0.85
getMethod · 0.80
sizeMethod · 0.80
IsValidFunction · 0.70

Tested by

no test coverage detected