MCPcopy Create free account
hub / github.com/NVIDIA-RTX/NRI / CmdSetRootConstants

Function CmdSetRootConstants

Source/Validation/ImplVal.cpp:287–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287static void NRI_CALL CmdSetRootConstants(CommandBuffer& commandBuffer, uint32_t rootConstantIndex, const void* data, uint32_t size) {
288 ((CommandBufferVal&)commandBuffer).SetRootConstants(rootConstantIndex, data, size);
289}
290
291static void NRI_CALL CmdSetRootDescriptor(CommandBuffer& commandBuffer, uint32_t rootDescriptorIndex, Descriptor& descriptor) {
292 ((CommandBufferVal&)commandBuffer).SetRootDescriptor(rootDescriptorIndex, descriptor);

Callers

nothing calls this directly

Calls 1

SetRootConstantsMethod · 0.45

Tested by

no test coverage detected