Struct FramebufferAttachment
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
Represents a single output of a Framebuffer. May be a color or depth attachment.
public struct FramebufferAttachment
- Inherited Members
Constructors
FramebufferAttachment(Texture, uint)
Constructs a new FramebufferAttachment.
public FramebufferAttachment(Texture target, uint arrayLayer)
Parameters
targetTextureThe target Texture which will be rendered to.
arrayLayeruintThe target array layer.
FramebufferAttachment(Texture, uint, uint)
Constructs a new FramebufferAttachment.
public FramebufferAttachment(Texture target, uint arrayLayer, uint mipLevel)
Parameters
targetTextureThe target Texture which will be rendered to.
arrayLayeruintThe target array layer.
mipLeveluintThe target mip level.
Properties
ArrayLayer
The target array layer.
public readonly uint ArrayLayer { get; }
Property Value
MipLevel
The target mip level.
public readonly uint MipLevel { get; }
Property Value
Target
The target Texture which will be rendered to.
public readonly Texture Target { get; }