sealed class Tinman.AddOns.DirectX12.DirectX12TextureFactory

Derived from

TextureFactory abstract

Full source code is included in the Tinman 3D SDK download.

An implementation of the ITextureFactory for DirectX 12.

For custom texture formats, the TextureFormat.FormatIdentifier method must return the DXGI_FORMAT_* in Vec4I.X, the other components are not used.

Public / Constructors


public constructor DirectX12TextureFactory → (3)

pipeline in : RenderPipeline

The pipeline to use.

availableVideoMemory in : int64

The value to be returned by ITextureFactory.AvailableVideoMemory.

maximumSize opt : int64 = 0

See ITextureFactory.MaximumSize.

Creates a new instance of DirectX12TextureFactory.