Class DisposeCollectorResourceFactory
- Namespace
- NeoVeldrid.Utilities
- Assembly
- NeoVeldrid.Utilities.dll
public class DisposeCollectorResourceFactory : ResourceFactory
- Inheritance
-
DisposeCollectorResourceFactory
- Inherited Members
- Extension Methods
Constructors
DisposeCollectorResourceFactory(ResourceFactory)
public DisposeCollectorResourceFactory(ResourceFactory factory)
Parameters
factoryResourceFactory
DisposeCollectorResourceFactory(ResourceFactory, DisposeCollector)
public DisposeCollectorResourceFactory(ResourceFactory factory, DisposeCollector disposeCollector)
Parameters
factoryResourceFactorydisposeCollectorDisposeCollector
Properties
BackendType
Gets the GraphicsBackend of this instance.
public override GraphicsBackend BackendType { get; }
Property Value
DisposeCollector
public DisposeCollector DisposeCollector { get; }
Property Value
Factory
public ResourceFactory Factory { get; }
Property Value
Methods
CreateBufferCore(ref BufferDescription)
protected override DeviceBuffer CreateBufferCore(ref BufferDescription description)
Parameters
descriptionBufferDescription
Returns
CreateCommandList(ref CommandListDescription)
Creates a new CommandList.
public override CommandList CreateCommandList(ref CommandListDescription description)
Parameters
descriptionCommandListDescriptionThe desired properties of the created object.
Returns
- CommandList
A new CommandList.
CreateComputePipeline(ref ComputePipelineDescription)
Creates a new compute Pipeline object.
public override Pipeline CreateComputePipeline(ref ComputePipelineDescription description)
Parameters
descriptionComputePipelineDescriptionThe desirede properties of the created object.
Returns
CreateFence(bool)
Creates a new Fence in the given state.
public override Fence CreateFence(bool signaled)
Parameters
signaledboolA value indicating whether the Fence should be in the signaled state when created.
Returns
CreateFramebuffer(ref FramebufferDescription)
Creates a new Framebuffer.
public override Framebuffer CreateFramebuffer(ref FramebufferDescription description)
Parameters
descriptionFramebufferDescriptionThe desired properties of the created object.
Returns
- Framebuffer
A new Framebuffer.
CreateGraphicsPipelineCore(ref GraphicsPipelineDescription)
protected override Pipeline CreateGraphicsPipelineCore(ref GraphicsPipelineDescription description)
Parameters
descriptionGraphicsPipelineDescription
Returns
CreateResourceLayout(ref ResourceLayoutDescription)
Creates a new ResourceLayout.
public override ResourceLayout CreateResourceLayout(ref ResourceLayoutDescription description)
Parameters
descriptionResourceLayoutDescriptionThe desired properties of the created object.
Returns
- ResourceLayout
A new ResourceLayout.
CreateResourceSet(ref ResourceSetDescription)
Creates a new ResourceSet.
public override ResourceSet CreateResourceSet(ref ResourceSetDescription description)
Parameters
descriptionResourceSetDescriptionThe desired properties of the created object.
Returns
- ResourceSet
A new ResourceSet.
CreateSamplerCore(ref SamplerDescription)
protected override Sampler CreateSamplerCore(ref SamplerDescription description)
Parameters
descriptionSamplerDescription
Returns
CreateShaderCore(ref ShaderDescription)
protected override Shader CreateShaderCore(ref ShaderDescription description)
Parameters
descriptionShaderDescription
Returns
CreateSwapchain(ref SwapchainDescription)
Creates a new Swapchain.
public override Swapchain CreateSwapchain(ref SwapchainDescription description)
Parameters
descriptionSwapchainDescriptionThe desired properties of the created object.
Returns
CreateTextureCore(ref TextureDescription)
protected override Texture CreateTextureCore(ref TextureDescription description)
Parameters
descriptionTextureDescription
Returns
CreateTextureCore(ulong, ref TextureDescription)
protected override Texture CreateTextureCore(ulong nativeTexture, ref TextureDescription description)
Parameters
nativeTextureulongdescriptionTextureDescription
Returns
CreateTextureViewCore(ref TextureViewDescription)
protected override TextureView CreateTextureViewCore(ref TextureViewDescription description)
Parameters
descriptionTextureViewDescription