MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / BindCB

Method BindCB

Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp:1049–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047}
1048
1049void GPUContextVulkan::BindCB(int32 slot, GPUConstantBuffer* cb)
1050{
1051 ASSERT(slot >= 0 && slot < GPU_MAX_CB_BINDED);
1052 const auto cbVulkan = static_cast<GPUConstantBufferVulkan*>(cb);
1053 if (_cbHandles[slot] != cbVulkan)
1054 {
1055 _cbDirtyFlag = true;
1056 _cbHandles[slot] = cbVulkan;
1057 }
1058}
1059
1060void GPUContextVulkan::BindSR(int32 slot, GPUResourceView* view)
1061{

Callers 15

ExecuteDrawCallsMethod · 0.45
RenderLUTMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMotionVectorsMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderLightsMethod · 0.45
RenderRadialLightMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected