|
Cogs.Core
|
Public Member Functions | |
| void | initialize (GraphicsDeviceWebGPU *device) |
| size_t | renderPipelineHash (EffectHandle effect, InputLayoutHandle inputLayoutHandle, PrimitiveType primitiveType, RasterizerStateHandle rasterizeStateHandle, DepthStencilStateHandle depthStencilStateHandle, BlendStateHandle blendStateHandle, RenderTargetHandle renderTargetHandle, DepthStencilHandle depthStencilHandle) |
| RenderPipelineHandle | loadRenderPipeline (EffectHandle effect, InputLayoutHandle inputLayoutHandle, PrimitiveType primitiveType, RasterizerStateHandle rasterizeStateHandle, DepthStencilStateHandle depthStencilStateHandle, BlendStateHandle blendStateHandle, RenderTargetHandle renderTargetHandle, DepthStencilHandle depthStencilHandle) |
| ComputePipelineHandle | loadComputePipeline (EffectHandle effect) |
| virtual void | releaseRenderPipeline (RenderPipelineHandle) override |
| virtual void | releaseComputePipeline (ComputePipelineHandle) override |
| virtual void | releaseResources () override |
| virtual void | releaseRenderPipeline (RenderPipelineHandle psoHandle)=0 |
| virtual void | releaseComputePipeline (ComputePipelineHandle psoHandle)=0 |
| virtual void | releaseResources ()=0 |
Public Attributes | |
| GraphicsDeviceWebGPU * | graphics_device = nullptr |
| std::unordered_map< size_t, RenderPipelineHandle > | renderPipelineHashMap |
| SafeResourceMap< RenderPipelineHandle, RenderPipelineWebGPU > | renderPipeline |
| std::unordered_map< size_t, ComputePipelineHandle > | computePipelineHashMap |
| SafeResourceMap< ComputePipelineHandle, ComputePipelineWebGPU > | computePipeline |
Definition at line 37 of file PipelineStatesWebGPU.h.
| void Cogs::PipelineStatesWebGPU::initialize | ( | GraphicsDeviceWebGPU * | device | ) |
Definition at line 61 of file PipelineStatesWebGPU.cpp.
| ComputePipelineHandle Cogs::PipelineStatesWebGPU::loadComputePipeline | ( | EffectHandle | effect | ) |
Definition at line 366 of file PipelineStatesWebGPU.cpp.
| RenderPipelineHandle Cogs::PipelineStatesWebGPU::loadRenderPipeline | ( | EffectHandle | effect, |
| InputLayoutHandle | inputLayoutHandle, | ||
| PrimitiveType | primitiveType, | ||
| RasterizerStateHandle | rasterizeStateHandle, | ||
| DepthStencilStateHandle | depthStencilStateHandle, | ||
| BlendStateHandle | blendStateHandle, | ||
| RenderTargetHandle | renderTargetHandle, | ||
| DepthStencilHandle | depthStencilHandle | ||
| ) |
Definition at line 102 of file PipelineStatesWebGPU.cpp.
|
inlineoverridevirtual |
Implements Cogs::IPipelineStates.
Definition at line 60 of file PipelineStatesWebGPU.h.
|
inlineoverridevirtual |
Implements Cogs::IPipelineStates.
Definition at line 59 of file PipelineStatesWebGPU.h.
|
inlineoverridevirtual |
Implements Cogs::IPipelineStates.
Definition at line 61 of file PipelineStatesWebGPU.h.
| size_t Cogs::PipelineStatesWebGPU::renderPipelineHash | ( | EffectHandle | effect, |
| InputLayoutHandle | inputLayoutHandle, | ||
| PrimitiveType | primitiveType, | ||
| RasterizerStateHandle | rasterizeStateHandle, | ||
| DepthStencilStateHandle | depthStencilStateHandle, | ||
| BlendStateHandle | blendStateHandle, | ||
| RenderTargetHandle | renderTargetHandle, | ||
| DepthStencilHandle | depthStencilHandle | ||
| ) |
Definition at line 66 of file PipelineStatesWebGPU.cpp.
| SafeResourceMap<ComputePipelineHandle, ComputePipelineWebGPU> Cogs::PipelineStatesWebGPU::computePipeline |
Definition at line 69 of file PipelineStatesWebGPU.h.
| std::unordered_map<size_t, ComputePipelineHandle> Cogs::PipelineStatesWebGPU::computePipelineHashMap |
Definition at line 68 of file PipelineStatesWebGPU.h.
| GraphicsDeviceWebGPU* Cogs::PipelineStatesWebGPU::graphics_device = nullptr |
Definition at line 63 of file PipelineStatesWebGPU.h.
| SafeResourceMap<RenderPipelineHandle, RenderPipelineWebGPU> Cogs::PipelineStatesWebGPU::renderPipeline |
Definition at line 66 of file PipelineStatesWebGPU.h.
| std::unordered_map<size_t, RenderPipelineHandle> Cogs::PipelineStatesWebGPU::renderPipelineHashMap |
Definition at line 65 of file PipelineStatesWebGPU.h.