Struct Buffer.Barrier
Specifies a barrier that can be used to transition the state of Buffer resources.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct Buffer.Barrier
Constructors
Barrier()
Initializes a new instance of the Buffer.Barrier struct.
Declaration
public Barrier()
Barrier(Buffer, StateFlags)
Initializes a new instance of the Buffer.Barrier struct.
Declaration
public Barrier(Buffer buffer, Buffer.StateFlags dstStateFlags)
Parameters
| Type | Name | Description |
|---|---|---|
| Buffer | buffer | The buffer to be transitioned. |
| Buffer.StateFlags | dstStateFlags | The state to transition to. |
Fields
Buffer
The buffer to be transitioned.
Declaration
public Buffer Buffer
Field Value
| Type | Description |
|---|---|
| Buffer |
DstStateFlags
The state to transition to.
Declaration
public Buffer.StateFlags DstStateFlags
Field Value
| Type | Description |
|---|---|
| Buffer.StateFlags |