MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / SetCompiledCode

Method SetCompiledCode

GTE/Graphics/DX11/HLSLReflection.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void HLSLReflection::SetCompiledCode(size_t numBytes, void const* buffer)
80{
81 mCompiledCode.resize(numBytes);
82 std::memcpy(&mCompiledCode[0], buffer, numBytes);
83}
84
85int32_t HLSLReflection::GetShaderTypeIndex() const
86{

Callers 1

ReflectShaderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected