Table of Contents

Struct RenderTargetDescriptor

Namespace
LibGFX.Graphics
Assembly
LibGFX.dll

Represents a descriptor for a render target, including its dimensions, format, and other properties.

public struct RenderTargetDescriptor
Inherited Members

Fields

AttachmentPoint

public RenderFlags.GFXFramebufferAttachment AttachmentPoint

Field Value

RenderFlags.GFXFramebufferAttachment

Border

public int Border

Field Value

int

BorderColor

public Vector4 BorderColor

Field Value

Vector4

DrawBufferMode

public RenderFlags.RenderBufferMode DrawBufferMode

Field Value

RenderFlags.RenderBufferMode

FilterMode

public RenderFlags.TextureFilterMode FilterMode

Field Value

RenderFlags.TextureFilterMode

Format

public RenderFlags.ColorFormatHint Format

Field Value

RenderFlags.ColorFormatHint

Height

public int Height

Field Value

int

Layout

public RenderFlags.ColorFormatLayout Layout

Field Value

RenderFlags.ColorFormatLayout

ReadBufferMode

public RenderFlags.RenderBufferMode ReadBufferMode

Field Value

RenderFlags.RenderBufferMode

Samples

public int Samples

Field Value

int

Type

public RenderFlags.ColorFormatType Type

Field Value

RenderFlags.ColorFormatType

UseDepth

public bool UseDepth

Field Value

bool

UseStencil

public bool UseStencil

Field Value

bool

Width

public int Width

Field Value

int

WrapS

public RenderFlags.TextureWrapMode WrapS

Field Value

RenderFlags.TextureWrapMode

WrapT

public RenderFlags.TextureWrapMode WrapT

Field Value

RenderFlags.TextureWrapMode

Properties

IsDepthTexture

public bool IsDepthTexture { get; }

Property Value

bool

Methods

Default(int, int, int)

public static RenderTargetDescriptor Default(int width, int height, int samples = 0)

Parameters

width int
height int
samples int

Returns

RenderTargetDescriptor

DepthOnly(int, int)

public static RenderTargetDescriptor DepthOnly(int width, int height)

Parameters

width int
height int

Returns

RenderTargetDescriptor