Struct DxgiSurfaceDesc
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiSurfaceDesc : IEquatable<DxgiSurfaceDesc>
Properties
|
Edit this page
View Source
Gets or sets a member of the DxgiFormat enumeration that describes the surface format.
Declaration
public DxgiFormat Format { get; set; }
Property Value
|
Edit this page
View Source
Height
Gets or sets a value describing the surface height.
Declaration
public uint Height { get; set; }
Property Value
|
Edit this page
View Source
SampleDesc
Gets or sets a DxgiSampleDesc structure that describes multi-sampling parameters for the surface.
Declaration
public DxgiSampleDesc SampleDesc { get; set; }
Property Value
|
Edit this page
View Source
Width
Gets or sets a value describing the surface width.
Declaration
public uint Width { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(DxgiSurfaceDesc)
Declaration
public readonly bool Equals(DxgiSurfaceDesc other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static DxgiSurfaceDesc NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiSurfaceDesc>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiSurfaceDesc> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in DxgiSurfaceDesc)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiSurfaceDesc obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiSurfaceDesc>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiSurfaceDesc> objects)
Parameters
|
Edit this page
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override readonly string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
Operators
|
Edit this page
View Source
operator ==(DxgiSurfaceDesc, DxgiSurfaceDesc)
Declaration
public static bool operator ==(DxgiSurfaceDesc left, DxgiSurfaceDesc right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiSurfaceDesc, DxgiSurfaceDesc)
Declaration
public static bool operator !=(DxgiSurfaceDesc left, DxgiSurfaceDesc right)
Parameters
Returns
Implements