DirectX12TextureFactory

Description

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

Direct​X12​Texture​Factory


public constructor DirectX12TextureFactory → (3)

pipeline in : RenderPipeline

[not-null]
The pipeline to use.

availableVideoMemory in : int64

[>=0]
The value to be returned by ITextureFactory.AvailableVideoMemory.

maximumSize opt : int64 = 0

[>=0]
See ITextureFactory.MaximumSize.

Creates a new instance of DirectX12TextureFactory.