Image ClassDelta Engine Documentation
Used in Sprites and 3D models to draw image textures on screen via . MaterialView code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Content ContentData
    DeltaEngine.Content Image
      DeltaEngine.Graphics.BaseOpenGL11 OpenGL11Image
      DeltaEngine.Graphics.BaseOpenGL20 OpenGL20Image
      DeltaEngine.Graphics.SharpDX SharpDXImage
      DeltaEngine.Graphics.SlimDX SlimDXImage
      DeltaEngine.Graphics.Xna VideoImage
      DeltaEngine.Graphics.Xna XnaImage
      DeltaEngine.Mocks MockImage
      DeltaEngine.Tests.Content FakeImage
      DeltaEngine.Tests.Content FakeImageContentLoaderTests MockFakeImage

Namespace: DeltaEngine.Content
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public abstract class Image : ContentData

The Image type exposes the following members.

Constructors

  NameDescription
Protected methodImage(String)
Initializes a new instance of the Image class
Protected methodImage(ImageCreationData)
Initializes a new instance of the Image class
Top
Methods

  NameDescription
Protected methodCompareActualSizeMetadataSize
Protected methodCreateDefault (Overrides ContentData CreateDefault .)
Public methodDispose (Inherited from ContentData.)
Protected methodDisposeData (Inherited from ContentData.)
Public methodFill(Color)
Public methodFill( Color )
Public methodFillRgbaData
Fill opaque or alpha images with 4 bytes per pixel (rgba). Using 3 bytes (24bit) is inefficient and would only work on some platforms that allow it. Use 16 or 8 bit if you want performance and use compressed textures as well. For small images this works fine. View code on GitHub
Public methodInternalCreateDefault (Inherited from ContentData.)
Protected methodLoadData (Overrides ContentData LoadData(Stream).)
Protected methodLoadImage
Protected methodSetSamplerState
Protected methodSetSamplerStateAndTryToLoadImage
Public methodToString (Inherited from ContentData.)
Protected methodTryLoadImage
Protected methodWarnAboutWrongAlphaFormat
Top
Fields

  NameDescription
Protected fieldContentChanged (Inherited from ContentData.)
Top
Properties

  NameDescription
Protected propertyAllowCreationIfContentNotFound (Overrides ContentData AllowCreationIfContentNotFound.)
Public propertyAllowTiling
Public propertyAtlasImage
Public propertyBlendMode
Public propertyDisableLinearFiltering
Protected propertyHasAlpha
Public propertyIsDisposed (Inherited from ContentData.)
Public propertyMetaData (Inherited from ContentData.)
Public propertyName (Inherited from ContentData.)
Public propertyPixelSize
Public propertyRenderingCalculator
Public propertyUseMipmaps
Top
See Also