Struct D3D11Box
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11Box : IEquatable<D3D11Box>
Constructors
|
Edit this page
View Source
D3D11Box(uint, uint, uint, uint, uint, uint)
Initializes a new instance of the D3D11Box struct.
Declaration
public D3D11Box(uint left, uint top, uint front, uint right, uint bottom, uint back)
Parameters
| Type |
Name |
Description |
| uint |
left |
The x position of the left hand side of the box.
|
| uint |
top |
The y position of the top of the box.
|
| uint |
front |
The z position of the front of the box.
|
| uint |
right |
The x position of the right hand side of the box.
|
| uint |
bottom |
The y position of the bottom of the box.
|
| uint |
back |
The z position of the back of the box.
|
Properties
|
Edit this page
View Source
Back
Gets or sets the z position of the back of the box.
Declaration
public uint Back { get; set; }
Property Value
|
Edit this page
View Source
Bottom
Gets or sets the y position of the bottom of the box.
Declaration
public uint Bottom { get; set; }
Property Value
|
Edit this page
View Source
Front
Gets or sets the z position of the front of the box.
Declaration
public uint Front { get; set; }
Property Value
|
Edit this page
View Source
Left
Gets or sets the x position of the left hand side of the box.
Declaration
public uint Left { get; set; }
Property Value
|
Edit this page
View Source
Right
Gets or sets the x position of the right hand side of the box.
Declaration
public uint Right { get; set; }
Property Value
|
Edit this page
View Source
Top
Gets or sets the y position of the top of the box.
Declaration
public uint Top { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3D11Box)
Declaration
public readonly bool Equals(D3D11Box 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 D3D11Box NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D3D11Box>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D3D11Box> 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 D3D11Box)
Declaration
public static void NativeWriteTo(nint buffer, in D3D11Box obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D3D11Box>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D3D11Box> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D3D11Box, D3D11Box)
Declaration
public static bool operator ==(D3D11Box left, D3D11Box right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3D11Box, D3D11Box)
Declaration
public static bool operator !=(D3D11Box left, D3D11Box right)
Parameters
Returns
Implements