| RenderTargetFormatIsCompatibleWith Method |
Determines whether this instance is compatible with the specified render target format.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public bool IsCompatibleWith(
Texture texture
)
Public Function IsCompatibleWith (
texture As Texture
) As Boolean
public:
bool IsCompatibleWith(
Texture^ texture
)
member IsCompatibleWith :
texture : Texture -> bool
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 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