Click or drag to resize

GpuTexture Class

Represents a texture.
Inheritance Hierarchy

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public class GpuTexture : ThreadSafeDisposable

The GpuTexture type exposes the following members.

Properties
  NameDescription
Public propertyArrayLayers
Public propertyDepth
Public propertyDisposed (Inherited from ThreadSafeDisposable.)
Public propertyMipmaps
Public propertyMode
Public propertyResultFormat
Gets the result format of the texture (after processing).
Public propertyResultSize
Gets the result size of the texture (after processing).
Public propertySourceFormat
Gets the source pixel format for the texture surface.
Public propertySourceSize
Gets the source size of the texture.
Public propertyTextureType
Public propertyUsage
Top
Methods
  NameDescription
Public methodStatic memberCreateCube
Public methodStatic memberCreateFromFile
Public methodDispose (Inherited from ThreadSafeDisposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetAll
Public methodGetData
Returns data that was initialized by the SetData method.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNativeObject
Public methodGetRenderTarget
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDispose (Overrides ThreadSafeDisposableOnDispose.)
Public methodPrepareNativeObject
Public methodSetData
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnload
Public methodStatic memberUnloadAllUnloadable
Public methodStatic memberUnloadNotUsedForLongTime
A method to temporary unload textures which are not used long time.
Top
Extension Methods
See Also