Struct D3D11BufferRtv
Specifies the elements in a buffer resource to use in a render-target view.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11BufferRtv : IEquatable<D3D11BufferRtv>
Properties
| Edit this page View SourceElementOffset
Gets or sets the offset of the first element in the view to access, relative to element 0.
Declaration
public uint ElementOffset { get; set; }
Property Value
Type | Description |
---|---|
uint |
ElementWidth
Gets or sets the width of each element (in bytes). This can be determined from the format stored in the render-target-view description.
Declaration
public uint ElementWidth { get; set; }
Property Value
Type | Description |
---|---|
uint |
FirstElement
Gets or sets the number of bytes between the beginning of the buffer and the first element to access.
Declaration
public uint FirstElement { get; set; }
Property Value
Type | Description |
---|---|
uint |
NumElements
Gets or sets the total number of elements in the view.
Declaration
public uint NumElements { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(D3D11BufferRtv)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D3D11BufferRtv other)
Parameters
Type | Name | Description |
---|---|---|
D3D11BufferRtv | 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 ==(D3D11BufferRtv, D3D11BufferRtv)
Compares two D3D11BufferRtv objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D3D11BufferRtv left, D3D11BufferRtv right)
Parameters
Type | Name | Description |
---|---|---|
D3D11BufferRtv | left | The left D3D11BufferRtv to compare. |
D3D11BufferRtv | right | The right D3D11BufferRtv to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11BufferRtv, D3D11BufferRtv)
Compares two D3D11BufferRtv objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D3D11BufferRtv left, D3D11BufferRtv right)
Parameters
Type | Name | Description |
---|---|---|
D3D11BufferRtv | left | The left D3D11BufferRtv to compare. |
D3D11BufferRtv | right | The right D3D11BufferRtv to compare. |
Returns
Type | Description |
---|---|
bool |