MCPcopy Create free account
hub / github.com/NVIDIA-RTX/NVRHI / getNativeObject

Method getNativeObject

src/vulkan/vulkan-commandlist.cpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 nvrhi::Object CommandList::getNativeObject(ObjectType objectType)
51 {
52 switch (objectType)
53 {
54 case ObjectTypes::VK_CommandBuffer:
55 return Object(m_CurrentCmdBuf->cmdBuf);
56 default:
57 return nullptr;
58 }
59 }
60
61 void CommandList::open()
62 {

Callers

nothing calls this directly

Calls 1

ObjectClass · 0.85

Tested by

no test coverage detected