Table of Contents

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

factory ResourceFactory

DisposeCollectorResourceFactory(ResourceFactory, DisposeCollector)

public DisposeCollectorResourceFactory(ResourceFactory factory, DisposeCollector disposeCollector)

Parameters

factory ResourceFactory
disposeCollector DisposeCollector

Properties

BackendType

Gets the GraphicsBackend of this instance.

public override GraphicsBackend BackendType { get; }

Property Value

GraphicsBackend

DisposeCollector

public DisposeCollector DisposeCollector { get; }

Property Value

DisposeCollector

Factory

public ResourceFactory Factory { get; }

Property Value

ResourceFactory

Methods

CreateBufferCore(ref BufferDescription)

protected override DeviceBuffer CreateBufferCore(ref BufferDescription description)

Parameters

description BufferDescription

Returns

DeviceBuffer

CreateCommandList(ref CommandListDescription)

Creates a new CommandList.

public override CommandList CreateCommandList(ref CommandListDescription description)

Parameters

description CommandListDescription

The 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

description ComputePipelineDescription

The desirede properties of the created object.

Returns

Pipeline

A new Pipeline which, when bound to a CommandList, is used to dispatch compute commands.

CreateFence(bool)

Creates a new Fence in the given state.

public override Fence CreateFence(bool signaled)

Parameters

signaled bool

A value indicating whether the Fence should be in the signaled state when created.

Returns

Fence

A new Fence.

CreateFramebuffer(ref FramebufferDescription)

Creates a new Framebuffer.

public override Framebuffer CreateFramebuffer(ref FramebufferDescription description)

Parameters

description FramebufferDescription

The desired properties of the created object.

Returns

Framebuffer

A new Framebuffer.

CreateGraphicsPipelineCore(ref GraphicsPipelineDescription)

protected override Pipeline CreateGraphicsPipelineCore(ref GraphicsPipelineDescription description)

Parameters

description GraphicsPipelineDescription

Returns

Pipeline

CreateResourceLayout(ref ResourceLayoutDescription)

Creates a new ResourceLayout.

public override ResourceLayout CreateResourceLayout(ref ResourceLayoutDescription description)

Parameters

description ResourceLayoutDescription

The 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

description ResourceSetDescription

The desired properties of the created object.

Returns

ResourceSet

A new ResourceSet.

CreateSamplerCore(ref SamplerDescription)

protected override Sampler CreateSamplerCore(ref SamplerDescription description)

Parameters

description SamplerDescription

Returns

Sampler

CreateShaderCore(ref ShaderDescription)

protected override Shader CreateShaderCore(ref ShaderDescription description)

Parameters

description ShaderDescription

Returns

Shader

CreateSwapchain(ref SwapchainDescription)

Creates a new Swapchain.

public override Swapchain CreateSwapchain(ref SwapchainDescription description)

Parameters

description SwapchainDescription

The desired properties of the created object.

Returns

Swapchain

A new Swapchain.

CreateTextureCore(ref TextureDescription)

protected override Texture CreateTextureCore(ref TextureDescription description)

Parameters

description TextureDescription

Returns

Texture

CreateTextureCore(ulong, ref TextureDescription)

protected override Texture CreateTextureCore(ulong nativeTexture, ref TextureDescription description)

Parameters

nativeTexture ulong
description TextureDescription

Returns

Texture

CreateTextureViewCore(ref TextureViewDescription)

protected override TextureView CreateTextureViewCore(ref TextureViewDescription description)

Parameters

description TextureViewDescription

Returns

TextureView