Back to monogame.net
Show / Hide Table of Contents

Class DxtBitmapContent

Inheritance
Object
ContentItem
BitmapContent
DxtBitmapContent
Dxt1BitmapContent
Dxt3BitmapContent
Dxt5BitmapContent
Inherited Members
BitmapContent.Height
BitmapContent.Width
BitmapContent.Copy(BitmapContent, BitmapContent)
BitmapContent.Copy(BitmapContent, Rectangle, BitmapContent, Rectangle)
BitmapContent.ToString()
BitmapContent.TryGetFormat(SurfaceFormat)
BitmapContent.ValidateCopyArguments(BitmapContent, Rectangle, BitmapContent, Rectangle)
ContentItem.Identity
ContentItem.Name
ContentItem.OpaqueData
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline.dll
Syntax
public abstract class DxtBitmapContent : BitmapContent

Constructors

DxtBitmapContent(Int32)

Declaration
protected DxtBitmapContent(int blockSize)
Parameters
Type Name Description
Int32 blockSize

DxtBitmapContent(Int32, Int32, Int32)

Declaration
protected DxtBitmapContent(int blockSize, int width, int height)
Parameters
Type Name Description
Int32 blockSize
Int32 width
Int32 height

Methods

GetPixelData()

Declaration
public override byte[] GetPixelData()
Returns
Type Description
Byte[]
Overrides
BitmapContent.GetPixelData()

SetPixelData(Byte[])

Declaration
public override void SetPixelData(byte[] sourceData)
Parameters
Type Name Description
Byte[] sourceData
Overrides
BitmapContent.SetPixelData(Byte[])

TryCopyFrom(BitmapContent, Rectangle, Rectangle)

Declaration
protected override bool TryCopyFrom(BitmapContent sourceBitmap, Rectangle sourceRegion, Rectangle destinationRegion)
Parameters
Type Name Description
BitmapContent sourceBitmap
Rectangle sourceRegion
Rectangle destinationRegion
Returns
Type Description
Boolean
Overrides
BitmapContent.TryCopyFrom(BitmapContent, Rectangle, Rectangle)

TryCopyTo(BitmapContent, Rectangle, Rectangle)

Declaration
protected override bool TryCopyTo(BitmapContent destinationBitmap, Rectangle sourceRegion, Rectangle destinationRegion)
Parameters
Type Name Description
BitmapContent destinationBitmap
Rectangle sourceRegion
Rectangle destinationRegion
Returns
Type Description
Boolean
Overrides
BitmapContent.TryCopyTo(BitmapContent, Rectangle, Rectangle)
In This Article
Back to top

© 2012 Microsoft Corporation. All rights reserved.

© The MonoGame Team.