TextureCube

Description

abstract class Tinman.Engine.Rendering.TextureCube

Derived from

ResourceBase abstract
ITextureCube

Abstract base class for ITextureCube implementations.

Protected / Constructors

Texture​Cube


protected constructor TextureCube → (4)

size in : int32

[>0]
The texture size, in texels.

mipmaps in : int32

[>=0]
The number of mipmap levels.If 0 the number of levels will be inferred from size in.

format in : TextureFormat

[not-null]
The texture format.

srgb in : bool

The sRGB behaviour.

Creates a new instance of TextureCube.

Protected / Attributes

format


protected attribute format → (TextureFormat)

The texture format.

mipmaps


protected readonly attribute mipmaps → (int32)

The number of mipmap levels.

size


protected readonly attribute size → (int32)

The texture size.