Table of Contents

Struct PixelFormatProperties

Namespace
NeoVeldrid
Assembly
NeoVeldrid.dll

Describes the properties that are supported for a particular combination of PixelFormat, TextureType, and TextureUsage by a GraphicsDevice. See GetPixelFormatSupport(PixelFormat, TextureType, TextureUsage, out PixelFormatProperties).

public struct PixelFormatProperties
Inherited Members

Fields

MaxArrayLayers

The maximum supported number of array layers.

public readonly uint MaxArrayLayers

Field Value

uint

MaxDepth

The maximum supported depth.

public readonly uint MaxDepth

Field Value

uint

MaxHeight

The maximum supported height.

public readonly uint MaxHeight

Field Value

uint

MaxMipLevels

The maximum supported number of mipmap levels.

public readonly uint MaxMipLevels

Field Value

uint

MaxWidth

The maximum supported width.

public readonly uint MaxWidth

Field Value

uint

Methods

IsSampleCountSupported(TextureSampleCount)

Gets a value indicating whether or not the given TextureSampleCount is supported.

public bool IsSampleCountSupported(TextureSampleCount count)

Parameters

count TextureSampleCount

The TextureSampleCount to query.

Returns

bool

True if the sample count is supported; false otherwise.