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

Method SetPerObjectDataToDevice

trinity/Tr2PerObjectData.cpp:29–33  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Set the perObject data to the device. The function should use the provided buffer(s) to first map them and fill them up with per object data, _and_ then set the buffer to the renderContext at the correct register. Arguments: buffers - points to an array of SHADER_TYPE_COUNT constant buffers; the ele

Source from the content-addressed store, hash-verified

27// renderContext - current render context
28// --------------------------------------------------------------------------------------
29void Tr2PerObjectData::SetPerObjectDataToDevice( Tr2ConstantBufferAL** buffers,
30 unsigned constantTypeMask,
31 Tr2RenderContext& renderContext ) const
32{
33}
34
35void Tr2PerObjectData::ApplyConstantBuffers( Tr2IndirectDrawBufferWriter& writer, Tr2RenderContext& renderContext ) const
36{

Callers 4

RenderBatchesInOrderMethod · 0.45
RenderBatchGroupMethod · 0.45

Calls 8

FillAndSetConstantsFunction · 0.70
SetConstantsFunction · 0.70
IsValidMethod · 0.45
GetSizeMethod · 0.45
CreateMethod · 0.45
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected