Click or drag to resize

Texture2D Class

A 2D Texture. A texture represents an image that is ready for use by objects such as primitives and screen overlays. Textures typically reside in video memory.

Use SceneManager.Textures to create textures.

A 2D Texture. A texture represents an image that is ready for use by objects such as primitives and screen overlays. Textures typically reside in video memory.

Use SceneManager.Textures to create textures.

Inheritance Hierarchy
SystemObject
  AGI.Foundation.Graphics.RendererTexture2D

Namespace:  AGI.Foundation.Graphics.Renderer
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public sealed class Texture2D : IDisposable

The Texture2D type exposes the following members.

Properties
  NameDescription
Public propertyTemplate
Gets the template from which the texture was created.
Top
Methods
  NameDescription
Public methodDispose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also