Table of Contents

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

target Texture

The target Texture which will be rendered to.

arrayLayer uint

The target array layer.

FramebufferAttachment(Texture, uint, uint)

Constructs a new FramebufferAttachment.

public FramebufferAttachment(Texture target, uint arrayLayer, uint mipLevel)

Parameters

target Texture

The target Texture which will be rendered to.

arrayLayer uint

The target array layer.

mipLevel uint

The target mip level.

Properties

ArrayLayer

The target array layer.

public readonly uint ArrayLayer { get; }

Property Value

uint

MipLevel

The target mip level.

public readonly uint MipLevel { get; }

Property Value

uint

Target

The target Texture which will be rendered to.

public readonly Texture Target { get; }

Property Value

Texture