TextureData2D

Description

sealed class Tinman.Engine.Rendering.TextureData2D

Derived from

Disposable abstract
IResourceData

A IResourceData implementation that holds a texel buffer for creating static ITexture2D resources.

Public / Constructors

For

2 overloads


[OwnerReturn]
public static method For1 → (1)

texels in : TexelBuffer own

[not-null]
The texel buffer.

returns → TextureData2D

The created TextureData2D object.

Creates a new instance of TextureData2D.


[OwnerReturn]
public static method For2 → (1)

texels in : TexelBuffer [ ] own

[not-null]
The texel buffer of each texture array slice.

returns → TextureData2D

The created TextureData2D object.

Creates a new instance of TextureData2D.