/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/api/ |
H A D | material.h | 54 * @brief The GraphicsState class 56 class GraphicsState final : public META_NS::Internal::ObjectInterfaceAPI<GraphicsState, ClassId::GraphicsState> { 57 META_API(GraphicsState) 59 META_API_CACHE_INTERFACE(IGraphicsState, GraphicsState) 61 META_API_INTERFACE_PROPERTY_CACHED(GraphicsState, Uri, BASE_NS::string) 62 META_API_INTERFACE_PROPERTY_CACHED(GraphicsState, Variant, BASE_NS::string)
|
H A D | material_uid.h | 25 REGISTER_CLASS(GraphicsState, "b49d2492-9bf3-467d-a214-de711a9e6e24", META_NS::ObjectCategoryBits::NO_CATEGORY)
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.h | 137 void PrimeCache(const GraphicsState& graphicsState); // Forces the graphics state.. 138 void PrimeDepthStencilState(const GraphicsState& graphicsState); 139 void PrimeBlendState(const GraphicsState& graphicsState); 140 void DoGraphicsState(const GraphicsState& graphicsState); 254 void UpdateBlendState(const GraphicsState& graphicsState); 255 void UpdateDepthState(const GraphicsState& graphicsState); 256 void UpdateStencilState(const GraphicsState& graphicsState); 257 void UpdateDepthStencilState(const GraphicsState& graphicsState); 258 void UpdateRasterizationState(const GraphicsState& graphicsState); 261 void SetStencilState(const uint32_t frontFlags, const GraphicsState [all...] |
H A D | pipeline_state_object_gles.h | 38 GraphicsState graphicsState; 50 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
|
H A D | render_backend_gles.cpp | 319 void SetCullMode(const GraphicsState::RasterizationState& rs) in SetCullMode() 339 void SetFrontFace(const GraphicsState::RasterizationState& rs) in SetFrontFace() 354 void SetPolygonMode(const GraphicsState::RasterizationState& rs) in SetPolygonMode() 602 const GraphicsState::ColorBlendState::Attachment& a, const GraphicsState::ColorBlendState::Attachment& b) in CompareBlendFactors() 608 void SetBlendFactors(GraphicsState::ColorBlendState::Attachment& a, const GraphicsState::ColorBlendState::Attachment& b) in SetBlendFactors() 617 const GraphicsState::ColorBlendState::Attachment& a, const GraphicsState::ColorBlendState::Attachment& b) in CompareBlendOps() 622 void SetBlendOps(GraphicsState [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_state_loader_util.cpp | 161 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::InputAssembly>& context) in FromJson() 167 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::RasterizationState>& context) in FromJson() 184 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::StencilOpState>& context) in FromJson() 195 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::DepthStencilState>& context) in FromJson() 208 JsonContext<GraphicsState::StencilOpState> stencilContext; in FromJson() 217 JsonContext<GraphicsState::StencilOpState> stencilContext; in FromJson() 226 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::ColorBlendState::Attachment>& context) in FromJson() 240 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::ColorBlendState>& context) in FromJson() 250 vector<JsonContext<GraphicsState::ColorBlendState::Attachment>> colorContexts; in FromJson() 272 GraphicsState graphicsStat in ParseSingleState() [all...] |
H A D | shader_state_loader.h | 60 BASE_NS::vector<GraphicsState> states; 77 BASE_NS::array_view<const GraphicsState> GetGraphicsStates() const; 88 BASE_NS::vector<GraphicsState> graphicsStates_;
|
H A D | shader_state_loader.cpp | 82 array_view<const GraphicsState> ShaderStateLoader::GetGraphicsStates() const in GetGraphicsStates()
|
H A D | shader_data_loader.h | 60 GraphicsState graphicsState;
|
H A D | shader_loader.h | 83 const BASE_NS::array_view<const GraphicsState>& states);
|
H A D | shader_data_loader.cpp | 37 void LoadState(const json::value& jsonData, GraphicsState& graphicsState, GraphicsStateFlags& stateFlags, in LoadState()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | graphicsstate_impl.cpp | 23 class GraphicsStateImpl : public META_NS::ObjectFwd<GraphicsStateImpl, SCENE_NS::ClassId::GraphicsState, 54 void SetGraphicsState(const RENDER_NS::GraphicsState& state, SCENE_NS::IMaterial::Ptr mat) override 74 META_NS::GetObjectRegistry().Create<SCENE_NS::IShaderGraphicsState>(SCENE_NS::ClassId::GraphicsState); 84 interface_cast<SCENE_NS::IPendingRequestData<RENDER_NS::GraphicsState>>(ret)) {
|
H A D | component_dll.cpp | 164 SCENE_NS::PendingRequestImpl<RENDER_NS::GraphicsState, SCENE_NS::ClassId::PendingGraphicsStateRequest>>(); in RegisterInterfaces() 218 SCENE_NS::PendingRequestImpl<RENDER_NS::GraphicsState, SCENE_NS::ClassId::PendingGraphicsStateRequest>>(); in UnregisterInterfaces()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | node_context_pso_manager.h | 74 RenderHandle GetGraphicsPsoHandle(const RenderHandle shader, const GraphicsState& graphicsState, 102 const BASE_NS::array_view<const DynamicStateEnum> dynamicStates, const GraphicsState* graphicsState); 134 BASE_NS::unique_ptr<GraphicsState> customGraphicsState;
|
H A D | node_context_pso_manager.cpp | 246 const array_view<const DynamicStateEnum> dynamicStates, const GraphicsState* customGraphicsState) in GetGraphicsPsoHandleImpl() 299 unique_ptr<GraphicsState> customGraphicsStatePtr = in GetGraphicsPsoHandleImpl() 300 customGraphicsState ? make_unique<GraphicsState>(*customGraphicsState) : nullptr; in GetGraphicsPsoHandleImpl() 343 RenderHandle NodeContextPsoManager::GetGraphicsPsoHandle(const RenderHandle shader, const GraphicsState& graphicsState, in GetGraphicsPsoHandle() 421 const GraphicsState* customGraphicsState = psoDataRef.customGraphicsState.get(); 422 const GraphicsState& graphicsState = (customGraphicsState)
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | pipeline_state_object_vk.cpp | 175 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, in GraphicsPipelineStateObjectVk() 209 const GraphicsState::InputAssembly& inputAssembly = graphicsState.inputAssembly; in GraphicsPipelineStateObjectVk() 220 const GraphicsState::RasterizationState& rasterizationState = graphicsState.rasterizationState; in GraphicsPipelineStateObjectVk() 239 const GraphicsState::DepthStencilState& depthStencilState = graphicsState.depthStencilState; in GraphicsPipelineStateObjectVk() 241 const GraphicsState::StencilOpState& frontStencilOpState = depthStencilState.frontStencilOpState; in GraphicsPipelineStateObjectVk() 251 const GraphicsState::StencilOpState& backStencilOpState = depthStencilState.backStencilOpState; in GraphicsPipelineStateObjectVk() 278 const GraphicsState::ColorBlendState& colorBlendState = graphicsState.colorBlendState; in GraphicsPipelineStateObjectVk() 285 const GraphicsState::ColorBlendState::Attachment& attachmentBlendState = colorBlendState.colorAttachments[idx]; in GraphicsPipelineStateObjectVk()
|
H A D | pipeline_state_object_vk.h | 43 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | intf_shader_manager.h | 133 const GraphicsState& graphicsState; 333 virtual GraphicsState GetGraphicsState(const RenderHandleReference& handle) const = 0; 437 virtual uint64_t HashGraphicsState(const GraphicsState& graphicsState) const = 0; 663 virtual const GraphicsState& GetGraphicsState(const RenderHandle& handle) const = 0; 753 virtual uint64_t HashGraphicsState(const GraphicsState& graphicsState) const = 0;
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_manager.h | 178 GraphicsState GetGraphicsState(const RenderHandleReference& handle) const override; 179 const GraphicsState& GetGraphicsStateRef(const RenderHandleReference& handle) const; 180 const GraphicsState& GetGraphicsStateRef(const RenderHandle& handle) const; 215 uint64_t HashGraphicsState(const GraphicsState& graphicsState) const override; 331 BASE_NS::vector<GraphicsState> graphicsStates; 478 GraphicsState defaultGraphicsState_; 511 virtual const GraphicsState& GetGraphicsState(const RenderHandle& handle) const override; 531 uint64_t HashGraphicsState(const GraphicsState& graphicsState) const override;
|
H A D | shader_manager.cpp | 59 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::InputAssembly& inputAssembly) in hash() 68 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::RasterizationState& state) in hash() 80 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::DepthStencilState& state) in hash() 91 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::ColorBlendState::Attachment& state) in hash() 107 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::ColorBlendState& state) in hash() 125 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState& state) in hash() 352 uint64_t ShaderManager::HashGraphicsState(const GraphicsState& graphicsState) const in HashGraphicsState() 1081 GraphicsState ShaderManager::GetGraphicsState(const RenderHandleReference& handle) const 1093 const GraphicsState& ShaderManager::GetGraphicsStateRef(const RenderHandle& handle) const 1110 const GraphicsState [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_node_context_pso_manager.h | 109 virtual RenderHandle GetGraphicsPsoHandle(const RenderHandle shaderHandle, const GraphicsState& graphicsState,
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_material.h | 141 using IShaderGraphicsState = IPendingRequest<RENDER_NS::GraphicsState>; 162 const RENDER_NS::GraphicsState& state, BASE_NS::shared_ptr<SCENE_NS::IMaterial> mat) = 0;
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_depth_render_slot.h | 160 const RENDER_NS::GraphicsState& gfxState,
|
H A D | render_node_default_depth_render_slot.cpp | 475 GraphicsState gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso() 481 const GraphicsState& gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso() 492 const RENDER_NS::GraphicsState& gfxState, in GetShaderSpecializationView()
|
H A D | render_node_default_material_render_slot.h | 207 const RENDER_NS::GraphicsState& gfxState,
|