Gorgon
Show / Hide Table of Contents

Interface IGorgonTextureResource

Defines a texture resource.

Inherited Members
IGorgonNamedObject.Name
IGorgonGraphicsObject.Graphics
IGorgonImageInfo.ImageType
IGorgonImageInfo.Width
IGorgonImageInfo.Height
IGorgonImageInfo.Depth
IGorgonImageInfo.Format
IGorgonImageInfo.HasPreMultipliedAlpha
IGorgonImageInfo.MipCount
IGorgonImageInfo.IsPowerOfTwo
IGorgonImageInfo.ArrayCount
IDisposable.Dispose()
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public interface IGorgonTextureResource : IGorgonNamedObject, IGorgonGraphicsObject, IGorgonImageInfo, IDisposable

Properties

| Edit this page View Source

TextureID

Property to return the ID for this texture.

Declaration
int TextureID { get; }
Property Value
Type Description
int

Methods

| Edit this page View Source

GetShaderResourceView()

Function to retrieve a default shader resource view.

Declaration
GorgonShaderResourceView GetShaderResourceView()
Returns
Type Description
GorgonShaderResourceView

The default shader resource view for the texture.

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author