Struct FramebufferAttachment
Represents a single output of a Framebuffer. May be a color or depth attachment.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public struct FramebufferAttachment
Constructors
FramebufferAttachment(Texture, UInt32)
Constructs a new FramebufferAttachment.
Declaration
public FramebufferAttachment(Texture target, uint arrayLayer)
Parameters
Type | Name | Description |
---|---|---|
Texture | target | The target Texture which will be rendered to. |
System.UInt32 | arrayLayer | The target array layer. |
FramebufferAttachment(Texture, UInt32, UInt32)
Constructs a new FramebufferAttachment.
Declaration
public FramebufferAttachment(Texture target, uint arrayLayer, uint mipLevel)
Parameters
Type | Name | Description |
---|---|---|
Texture | target | The target Texture which will be rendered to. |
System.UInt32 | arrayLayer | The target array layer. |
System.UInt32 | mipLevel | The target mip level. |
Properties
ArrayLayer
The target array layer.
Declaration
public uint ArrayLayer { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
MipLevel
The target mip level.
Declaration
public uint MipLevel { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Target
The target Texture which will be rendered to.
Declaration
public Texture Target { get; }
Property Value
Type | Description |
---|---|
Texture |