Skip to main content
Version: 1.0.0-preview.38

Velaptor.Content.Texture

Velaptor

Velaptor.Content

Texture Class

The texture to render to a screen.

public sealed class Texture :
Velaptor.Content.ITexture,
Velaptor.Content.IContent

Inheritance System.Object → Texture

Implements ITexture, IContent

Properties

FilePath

Gets the path to the content.

public string FilePath { get; }

Implements FilePath

Property Value

System.String

Height

Gets the height of the texture.

public uint Height { get; set; }

Implements Height

Property Value

System.UInt32

Id

Gets the ID of the texture.

public uint Id { get; set; }

Implements Id

Property Value

System.UInt32

Name

Gets the name of the content.

public string Name { get; set; }

Implements Name

Property Value

System.String

Width

Gets the width of the texture.

public uint Width { get; set; }

Implements Width

Property Value

System.UInt32