Struct D3D11UnorderedAccessViewDesc
Specifies the subresources from a resource that are accessible using an unordered-access view.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11UnorderedAccessViewDesc : IEquatable<D3D11UnorderedAccessViewDesc>
Constructors
| Edit this page View SourceD3D11UnorderedAccessViewDesc(D3D11Buffer, DxgiFormat, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Buffer buffer, DxgiFormat format, uint firstElement, uint numElements)
Parameters
Type | Name | Description |
---|---|---|
D3D11Buffer | buffer | A buffer. |
DxgiFormat | format | The viewing format. |
uint | firstElement | The number of bytes between the beginning of the buffer and the first element to access. |
uint | numElements | The total number of elements in the view. |
D3D11UnorderedAccessViewDesc(D3D11Buffer, DxgiFormat, uint, uint, D3D11BufferUavOptions)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Buffer buffer, DxgiFormat format, uint firstElement, uint numElements, D3D11BufferUavOptions options)
Parameters
Type | Name | Description |
---|---|---|
D3D11Buffer | buffer | A buffer. |
DxgiFormat | format | The viewing format. |
uint | firstElement | The number of bytes between the beginning of the buffer and the first element to access. |
uint | numElements | The total number of elements in the view. |
D3D11BufferUavOptions | options | The view options for a buffer. |
D3D11UnorderedAccessViewDesc(D3D11Texture1D, D3D11UavDimension)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture1D texture, D3D11UavDimension viewDimension)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture1D | texture | A 1D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
D3D11UnorderedAccessViewDesc(D3D11Texture1D, D3D11UavDimension, DxgiFormat)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture1D texture, D3D11UavDimension viewDimension, DxgiFormat format)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture1D | texture | A 1D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
D3D11UnorderedAccessViewDesc(D3D11Texture1D, D3D11UavDimension, DxgiFormat, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture1D texture, D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture1D | texture | A 1D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
D3D11UnorderedAccessViewDesc(D3D11Texture1D, D3D11UavDimension, DxgiFormat, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture1D texture, D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice, uint firstArraySlice)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture1D | texture | A 1D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstArraySlice | The index of the first element to use in an array of elements. |
D3D11UnorderedAccessViewDesc(D3D11Texture1D, D3D11UavDimension, DxgiFormat, uint, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture1D texture, D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice, uint firstArraySlice, uint arraySize)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture1D | texture | A 1D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstArraySlice | The index of the first element to use in an array of elements. |
uint | arraySize | The number of elements in the array. |
D3D11UnorderedAccessViewDesc(D3D11Texture2D, D3D11UavDimension)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture2D texture, D3D11UavDimension viewDimension)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture2D | texture | A 2D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
D3D11UnorderedAccessViewDesc(D3D11Texture2D, D3D11UavDimension, DxgiFormat)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture2D texture, D3D11UavDimension viewDimension, DxgiFormat format)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture2D | texture | A 2D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
D3D11UnorderedAccessViewDesc(D3D11Texture2D, D3D11UavDimension, DxgiFormat, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture2D texture, D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture2D | texture | A 2D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
D3D11UnorderedAccessViewDesc(D3D11Texture2D, D3D11UavDimension, DxgiFormat, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture2D texture, D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice, uint firstArraySlice)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture2D | texture | A 2D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstArraySlice | The index of the first element to use in an array of elements. |
D3D11UnorderedAccessViewDesc(D3D11Texture2D, D3D11UavDimension, DxgiFormat, uint, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture2D texture, D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice, uint firstArraySlice, uint arraySize)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture2D | texture | A 2D texture. |
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstArraySlice | The index of the first element to use in an array of elements. |
uint | arraySize | The number of elements in the array. |
D3D11UnorderedAccessViewDesc(D3D11Texture3D)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture3D texture)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture3D | texture | A 3D texture. |
D3D11UnorderedAccessViewDesc(D3D11Texture3D, DxgiFormat)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture3D texture, DxgiFormat format)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture3D | texture | A 3D texture. |
DxgiFormat | format | The viewing format. |
D3D11UnorderedAccessViewDesc(D3D11Texture3D, DxgiFormat, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture3D texture, DxgiFormat format, uint mipSlice)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture3D | texture | A 3D texture. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
D3D11UnorderedAccessViewDesc(D3D11Texture3D, DxgiFormat, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture3D texture, DxgiFormat format, uint mipSlice, uint firstWSlice)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture3D | texture | A 3D texture. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstWSlice | The first depth level to use. |
D3D11UnorderedAccessViewDesc(D3D11Texture3D, DxgiFormat, uint, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11Texture3D texture, DxgiFormat format, uint mipSlice, uint firstWSlice, uint wsize)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture3D | texture | A 3D texture. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstWSlice | The first depth level to use. |
uint | wsize | The number of depth levels to use in the render-target view. |
D3D11UnorderedAccessViewDesc(D3D11UavDimension)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11UavDimension viewDimension)
Parameters
Type | Name | Description |
---|---|---|
D3D11UavDimension | viewDimension | The resource type of the view. |
D3D11UnorderedAccessViewDesc(D3D11UavDimension, DxgiFormat)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11UavDimension viewDimension, DxgiFormat format)
Parameters
Type | Name | Description |
---|---|---|
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
D3D11UnorderedAccessViewDesc(D3D11UavDimension, DxgiFormat, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice)
Parameters
Type | Name | Description |
---|---|---|
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
D3D11UnorderedAccessViewDesc(D3D11UavDimension, DxgiFormat, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice, uint firstArraySlice)
Parameters
Type | Name | Description |
---|---|---|
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstArraySlice | The index of the first element to use in an array of elements. |
D3D11UnorderedAccessViewDesc(D3D11UavDimension, DxgiFormat, uint, uint, uint)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice, uint firstArraySlice, uint arraySize)
Parameters
Type | Name | Description |
---|---|---|
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstArraySlice | The index of the first element to use in an array of elements. |
uint | arraySize | The number of elements in the array. |
D3D11UnorderedAccessViewDesc(D3D11UavDimension, DxgiFormat, uint, uint, uint, D3D11BufferUavOptions)
Initializes a new instance of the D3D11UnorderedAccessViewDesc struct.
Declaration
public D3D11UnorderedAccessViewDesc(D3D11UavDimension viewDimension, DxgiFormat format, uint mipSlice, uint firstArraySlice, uint arraySize, D3D11BufferUavOptions bufferOptions)
Parameters
Type | Name | Description |
---|---|---|
D3D11UavDimension | viewDimension | The resource type of the view. |
DxgiFormat | format | The viewing format. |
uint | mipSlice | The index of the mipmap level to use mip slice. |
uint | firstArraySlice | The index of the first element to use in an array of elements. |
uint | arraySize | The number of elements in the array. |
D3D11BufferUavOptions | bufferOptions | The view options for a buffer. |
Properties
| Edit this page View SourceBuffer
Gets or sets a value indicating which buffer elements can be accessed.
Declaration
public D3D11BufferUav Buffer { get; set; }
Property Value
Type | Description |
---|---|
D3D11BufferUav |
Format
Gets or sets the data format.
Declaration
public DxgiFormat Format { get; set; }
Property Value
Type | Description |
---|---|
DxgiFormat |
Texture1D
Gets or sets the subresources in a 1D texture that can be accessed.
Declaration
public D3D11Texture1DUav Texture1D { get; set; }
Property Value
Type | Description |
---|---|
D3D11Texture1DUav |
Texture1DArray
Gets or sets the subresources in a 1D texture array that can be accessed.
Declaration
public D3D11Texture1DArrayUav Texture1DArray { get; set; }
Property Value
Type | Description |
---|---|
D3D11Texture1DArrayUav |
Texture2D
Gets or sets the subresources in a 2D texture that can be accessed.
Declaration
public D3D11Texture2DUav Texture2D { get; set; }
Property Value
Type | Description |
---|---|
D3D11Texture2DUav |
Texture2DArray
Gets or sets the subresources in a 2D texture array that can be accessed.
Declaration
public D3D11Texture2DArrayUav Texture2DArray { get; set; }
Property Value
Type | Description |
---|---|
D3D11Texture2DArrayUav |
Texture3D
Gets or sets the subresources in a 3D texture that can be accessed.
Declaration
public D3D11Texture3DUav Texture3D { get; set; }
Property Value
Type | Description |
---|---|
D3D11Texture3DUav |
ViewDimension
Gets or sets the resource type.
Declaration
public D3D11UavDimension ViewDimension { get; set; }
Property Value
Type | Description |
---|---|
D3D11UavDimension |
Methods
| Edit this page View SourceEquals(D3D11UnorderedAccessViewDesc)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D3D11UnorderedAccessViewDesc other)
Parameters
Type | Name | Description |
---|---|---|
D3D11UnorderedAccessViewDesc | 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 ==(D3D11UnorderedAccessViewDesc, D3D11UnorderedAccessViewDesc)
Compares two D3D11UnorderedAccessViewDesc objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D3D11UnorderedAccessViewDesc left, D3D11UnorderedAccessViewDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11UnorderedAccessViewDesc | left | The left D3D11UnorderedAccessViewDesc to compare. |
D3D11UnorderedAccessViewDesc | right | The right D3D11UnorderedAccessViewDesc to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11UnorderedAccessViewDesc, D3D11UnorderedAccessViewDesc)
Compares two D3D11UnorderedAccessViewDesc objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D3D11UnorderedAccessViewDesc left, D3D11UnorderedAccessViewDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11UnorderedAccessViewDesc | left | The left D3D11UnorderedAccessViewDesc to compare. |
D3D11UnorderedAccessViewDesc | right | The right D3D11UnorderedAccessViewDesc to compare. |
Returns
Type | Description |
---|---|
bool |