Interface ITextureBase
Collection of members all texture types need to implement. All textures must be IDisposable.
Inherited Members
System.IDisposable.Dispose()
Namespace: Fusee.Engine.Common
Assembly: Fusee.Engine.Common.dll
Syntax
public interface ITextureBase : IDisposable
Properties
DoGenerateMipMaps
Defines if Mipmaps are generated for this texture.
Declaration
bool DoGenerateMipMaps { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
FilterMode
Defines how to map texels to uv coordinates.
Declaration
TextureFilterMode FilterMode { get; }
Property Value
Type | Description |
---|---|
TextureFilterMode |
SessionUniqueIdentifier
SessionUniqueIdentifier is used to verify a Textures's uniqueness in the current session.
Declaration
Suid SessionUniqueIdentifier { get; }
Property Value
Type | Description |
---|---|
Suid |
WrapMode
Defines how the texture should be sampled when a uv coordinate outside the range of 0 to 1 is given.
Declaration
TextureWrapMode WrapMode { get; }
Property Value
Type | Description |
---|---|
TextureWrapMode |
Events
TextureChanged
TextureChanged event notifies observing TextureManager about property changes and the Texture's disposal.
Declaration
event EventHandler<TextureEventArgs> TextureChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TextureEventArgs> |