| 812 | } |
| 813 | |
| 814 | HnRenderPass::SupportedVertexInputsSetType HnRenderPass::GetSupportedVertexInputs(const HnMaterial* Material) |
| 815 | { |
| 816 | SupportedVertexInputsSetType SupportedInputs{{pxr::HdTokens->points, pxr::HdTokens->normals, pxr::HdTokens->displayColor}}; |
| 817 | if (Material != nullptr) |
| 818 | { |
| 819 | const auto& TexCoordSets = Material->GetTextureCoordinateSets(); |
| 820 | for (const auto& TexCoordSet : TexCoordSets) |
| 821 | { |
| 822 | if (!TexCoordSet.PrimVarName.IsEmpty()) |
| 823 | SupportedInputs.emplace(TexCoordSet.PrimVarName); |
| 824 | } |
| 825 | } |
| 826 | |
| 827 | return SupportedInputs; |
| 828 | } |
| 829 | |
| 830 | PBR_Renderer::PSO_FLAGS HnRenderPass::GetMaterialPSOFlags(const HnMaterial& Material) |
| 831 | { |
nothing calls this directly
no outgoing calls
no test coverage detected