Class UnorderedAccessBufferInfo
Unordered Access Buffer RWStructuredBuffer RWTexture1D RWTexture1DArray RWTexture2D RWTexture3D RWByteAddressBuffer RWBuffer AppendStructuredBuffer ConsumeStructuredBuffer.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public class UnorderedAccessBufferInfo : GraphicsResourceInfo, IEquatable<GraphicsResourceInfo>
Constructors
UnorderedAccessBufferInfo(UnorderedAccessBufferType, string, string, int, string)
Initializes a new instance of the UnorderedAccessBufferInfo class.
Declaration
public UnorderedAccessBufferInfo(UnorderedAccessBufferInfo.UnorderedAccessBufferType uaType, string name, string structType, int slot, string tag)
Parameters
Type | Name | Description |
---|---|---|
UnorderedAccessBufferInfo.UnorderedAccessBufferType | uaType | UnorderedAccessBuffer Type. |
string | name | UnorderedAccessBuffer name. |
string | structType | Struct type. |
int | slot | UnorderedAccessBuffer slot. |
string | tag | UnorderedAccess semantic tag. |
UnorderedAccessBufferInfo(string, string, string, string, string)
Initializes a new instance of the UnorderedAccessBufferInfo class.
Declaration
public UnorderedAccessBufferInfo(string s_uaType, string name, string structType, string slot, string tag)
Parameters
Type | Name | Description |
---|---|---|
string | s_uaType | UnorderedAccessBuffer Type. |
string | name | UnorderedAccessBuffer name. |
string | structType | Struct type. |
string | slot | UnorderedAccessBuffer slot. |
string | tag | UA tag. |
Fields
FixedSize
Used on Post-processing ports as output texture size.
Declaration
public Vector2 FixedSize
Field Value
Type | Description |
---|---|
Vector2 |
PixelFormat
Used on Post-Processing ports as output pixel format.
Declaration
public PixelFormat PixelFormat
Field Value
Type | Description |
---|---|
PixelFormat |
ReferencedInput
Used on Post-processing ports as output referenced input port.
Declaration
public string ReferencedInput
Field Value
Type | Description |
---|---|
string |
ScaleFactor
Used on Post-processing ports as output scale factor.
Declaration
public float ScaleFactor
Field Value
Type | Description |
---|---|
float |
Semantic
The UA semantic.
Declaration
public UnorderedAccessBufferInfo.UnorderedAccessSemantic Semantic
Field Value
Type | Description |
---|---|
UnorderedAccessBufferInfo.UnorderedAccessSemantic |
StructType
Struct type inside of UnorderedAccessBuffer.
Declaration
public Type StructType
Field Value
Type | Description |
---|---|
Type |
StructTypeSize
Struct Type Size.
Declaration
public int StructTypeSize
Field Value
Type | Description |
---|---|
int |
Tag
Parameter tag attribute.
Declaration
public string Tag
Field Value
Type | Description |
---|---|
string |
UAType
Unordered Access Buffer Type.
Declaration
public UnorderedAccessBufferInfo.UnorderedAccessBufferType UAType
Field Value
Type | Description |
---|---|
UnorderedAccessBufferInfo.UnorderedAccessBufferType |
sStructType
Struct string type inside of UnorderedAccessBuffer.
Declaration
public string sStructType
Field Value
Type | Description |
---|---|
string |
Methods
IsTexture()
Indicates whether the ua is a texture. (RWTexture1D or RWTexture2D ...)
Declaration
public bool IsTexture()
Returns
Type | Description |
---|---|
bool | True is uaType is a texture type. |
Read(BinaryReader)
Read a Unordered Access Buffer from binary file.
Declaration
public static UnorderedAccessBufferInfo Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
UnorderedAccessBufferInfo | The read unordered access buffer. |
Write(BinaryWriter)
Write a Unordered Access Buffer into a binary file.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |