Class RenderObjectResourcesCache
A pipeline state cache.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class RenderObjectResourcesCache : IDisposable
Constructors
RenderObjectResourcesCache(GraphicsContext)
Initializes a new instance of the Render
Declaration
public RenderObjectResourcesCache(GraphicsContext graphicsContext)
Parameters
Type | Name | Description |
---|---|---|
Graphics |
graphicsContext | Graphics context. |
Methods
Dispose()
Dispose of class and parent classes.
Declaration
public void Dispose()
Dispose(bool)
Dispose the object.
Declaration
public virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | Whether to dispose of unmanaged resources. |
~RenderObjectResourcesCache()
Finalizes an instance of the Render
Declaration
protected ~RenderObjectResourcesCache()
GetMaterialSetters(RenderObjectInfo, DrawContext, RenderPass[], ref MaterialResourcesPerPass[], out MaterialResourceSetters)
Get a pipeline sate.
Declaration
public void GetMaterialSetters(RenderObjectInfo renderMesh, DrawContext drawContext, RenderPass[] passes, ref MaterialResourcesCacheEntry.MaterialResourcesPerPass[] passResources, out MaterialResourceSetters materialSetters)
Parameters
Type | Name | Description |
---|---|---|
Render |
renderMesh | The render mesh. |
Draw |
drawContext | The draw context. |
Render |
passes | The array of passes. |
Material |
passResources | The material resources by pass. |
Material |
materialSetters | The material resource setters. |