Struct D3D11TextureCubeArraySrv
Specifies the subresources from an array of cube textures to use in a shader resource view.
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11TextureCubeArraySrv : IEquatable<D3D11TextureCubeArraySrv>
Constructors
|
Edit this page
View Source
D3D11TextureCubeArraySrv(uint, uint, uint, uint)
Declaration
public D3D11TextureCubeArraySrv(uint mostDetailedMip, uint mipLevels, uint first2DArrayFace, uint numCubes)
Parameters
| Type |
Name |
Description |
| uint |
mostDetailedMip |
|
| uint |
mipLevels |
|
| uint |
first2DArrayFace |
|
| uint |
numCubes |
|
Properties
|
Edit this page
View Source
First2DArrayFace
Gets or sets the index of the first 2D texture to use.
Declaration
public uint First2DArrayFace { get; set; }
Property Value
|
Edit this page
View Source
MipLevels
Gets or sets the maximum number of mipmap levels for the view of the texture.
Declaration
public uint MipLevels { get; set; }
Property Value
|
Edit this page
View Source
MostDetailedMip
Gets or sets the index of the most detailed mipmap level to use.
Declaration
public uint MostDetailedMip { get; set; }
Property Value
|
Edit this page
View Source
NumCubes
Gets or sets the number of cube textures in the array.
Declaration
public uint NumCubes { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3D11TextureCubeArraySrv)
Declaration
public readonly bool Equals(D3D11TextureCubeArraySrv 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 D3D11TextureCubeArraySrv NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D3D11TextureCubeArraySrv>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D3D11TextureCubeArraySrv> 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 D3D11TextureCubeArraySrv)
Declaration
public static void NativeWriteTo(nint buffer, in D3D11TextureCubeArraySrv obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D3D11TextureCubeArraySrv>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D3D11TextureCubeArraySrv> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D3D11TextureCubeArraySrv, D3D11TextureCubeArraySrv)
Declaration
public static bool operator ==(D3D11TextureCubeArraySrv left, D3D11TextureCubeArraySrv right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3D11TextureCubeArraySrv, D3D11TextureCubeArraySrv)
Declaration
public static bool operator !=(D3D11TextureCubeArraySrv left, D3D11TextureCubeArraySrv right)
Parameters
Returns
Implements