Struct D2D1FactoryOptions
Contains the debugging level of an D2D1Factory object.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1FactoryOptions : IEquatable<D2D1FactoryOptions>
Constructors
| Edit this page View SourceD2D1FactoryOptions(D2D1DebugLevel)
Initializes a new instance of the D2D1FactoryOptions struct.
Declaration
public D2D1FactoryOptions(D2D1DebugLevel debugLevel)
Parameters
Type | Name | Description |
---|---|---|
D2D1DebugLevel | debugLevel | The level of debugging information. |
Properties
| Edit this page View SourceDebugLevel
Gets or sets a certain level of debugging information from the debug layer. This parameter is ignored if the debug layer DLL is not present.
Declaration
public D2D1DebugLevel DebugLevel { get; set; }
Property Value
Type | Description |
---|---|
D2D1DebugLevel |
Methods
| Edit this page View SourceEquals(D2D1FactoryOptions)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D2D1FactoryOptions other)
Parameters
Type | Name | Description |
---|---|---|
D2D1FactoryOptions | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(D2D1FactoryOptions, D2D1FactoryOptions)
Compares two D2D1FactoryOptions objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D2D1FactoryOptions left, D2D1FactoryOptions right)
Parameters
Type | Name | Description |
---|---|---|
D2D1FactoryOptions | left | The left D2D1FactoryOptions to compare. |
D2D1FactoryOptions | right | The right D2D1FactoryOptions to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D2D1FactoryOptions, D2D1FactoryOptions)
Compares two D2D1FactoryOptions objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D2D1FactoryOptions left, D2D1FactoryOptions right)
Parameters
Type | Name | Description |
---|---|---|
D2D1FactoryOptions | left | The left D2D1FactoryOptions to compare. |
D2D1FactoryOptions | right | The right D2D1FactoryOptions to compare. |
Returns
Type | Description |
---|---|
bool |