Struct Texture.Barrier
Specifies a barrier that can be used to transtion the state of Image resources.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct Texture.Barrier
Constructors
Barrier(Texture, StateFlags)
Initializes a new instance of the Texture.Barrier struct.
Declaration
public Barrier(Texture texture, Texture.StateFlags dstStateFlags)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | The texture. |
| Texture.StateFlags | dstStateFlags | The state flags we want to transition to. |
Fields
DstStateFlags
The state flags we want to transition to.
Declaration
public Texture.StateFlags DstStateFlags
Field Value
| Type | Description |
|---|---|
| Texture.StateFlags |
Texture
The texture to be transitioned.
Declaration
public Texture Texture
Field Value
| Type | Description |
|---|---|
| Texture |
firstLayer
The first array layer to be transitioned.
Declaration
public uint firstLayer
Field Value
| Type | Description |
|---|---|
| uint |
firstMip
The first mip level to be transtioned.
Declaration
public uint firstMip
Field Value
| Type | Description |
|---|---|
| uint |
numLayers
The number of array layers to be transitioned.
Declaration
public uint numLayers
Field Value
| Type | Description |
|---|---|
| uint |
numMips
The number of mip levels to be transitioned.
Declaration
public uint numMips
Field Value
| Type | Description |
|---|---|
| uint |