MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / GetSelectionTypeString

Method GetSelectionTypeString

Hydrogent/src/HnRenderPass.cpp:61–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59{
60
61const char* HnRenderPassParams::GetSelectionTypeString(SelectionType Type)
62{
63 switch (Type)
64 {
65 case SelectionType::All:
66 return "All";
67 case SelectionType::Unselected:
68 return "Unselected";
69 case SelectionType::Selected:
70 return "Selected";
71 default:
72 UNEXPECTED("Unexpected selection type");
73 return "Unknown";
74 }
75}
76
77pxr::HdRenderPassSharedPtr HnRenderPass::Create(pxr::HdRenderIndex* pIndex,
78 const pxr::HdRprimCollection& Collection)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected