Click or drag to resize
DigitalRuneRenderTargetFormatIsCompatibleWith Method
Determines whether this instance is compatible with the specified render target format.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public bool IsCompatibleWith(
	Texture texture
)

Parameters

texture
Type: Texture
The format to compare with this instance.

Return Value

Type: Boolean
if this instance is compatible with the given format; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptiontexture is .
Remarks
This instance is compatible with the specified format if all properties are equal or if a property of this instance is undefined. This method returns if a property in this instance has a value, but is undefined in the specified format.
See Also