96 if constexpr (std::is_same_v<T, VertexShader>)
98 else if constexpr (std::is_same_v<T, PixelShader>)
100 else if constexpr (std::is_same_v<T, RHI::VertexShader>)
102 else if constexpr (std::is_same_v<T, RHI::PixelShader>)
104 else if constexpr (std::is_same_v<T, RHI::ConstBuffer>)
106 else if constexpr (std::is_same_v<T, RHI::InputLayout>)
108 else if constexpr (std::is_same_v<T, Image>)
110 else if constexpr (std::is_same_v<T, SingleBufferImage>)
112 else if constexpr (std::is_same_v<T, MutilBufferImage>)
114 else if constexpr (std::is_same_v<T, RHI::Image>)
116 else if constexpr (std::is_same_v<T, RHI::Swapchain>)
118 else if constexpr (std::is_same_v<T, RHI::PassGroup>)
120 else if constexpr (std::is_same_v<T, RHI::Pass>)
122 else if constexpr (std::is_same_v<T, RHI::Fence>)
124 else if constexpr (std::is_same_v<T, RHI::Semaphore>)
126 else if constexpr (std::is_same_v<T, RHI::CommandPool>)
128 else if constexpr (std::is_same_v<T, RHI::VertexBuffer>)
130 else if constexpr (std::is_same_v<T, RHI::IndexBuffer>)
132 else if constexpr (std::is_same_v<T, RHI::DescriptorPool>)
134 else if constexpr (std::is_same_v<T, RHI::RenderTargetView>)
136 else if constexpr (std::is_same_v<T, RHI::DepthStencilView>)
138 else if constexpr (std::is_same_v<T, RHI::TextureView>)
140 else if constexpr (std::is_same_v<T, RasterizationState>)
142 else if constexpr (std::is_same_v<T, BlendState>)
144 else if constexpr (std::is_same_v<T, Sampler>)
146 else if constexpr (std::is_same_v<T, PassResource>)
148 else if constexpr (std::is_same_v<T, SemaphorePool>)
150 else if constexpr (std::is_same_v<T, FencePool>)