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
MaxDepth
The maximum supported depth.
public readonly uint MaxDepth
Field Value
MaxHeight
The maximum supported height.
public readonly uint MaxHeight
Field Value
MaxMipLevels
The maximum supported number of mipmap levels.
public readonly uint MaxMipLevels
Field Value
MaxWidth
The maximum supported width.
public readonly uint MaxWidth
Field Value
Methods
IsSampleCountSupported(TextureSampleCount)
Gets a value indicating whether or not the given TextureSampleCount is supported.
public bool IsSampleCountSupported(TextureSampleCount count)
Parameters
countTextureSampleCountThe TextureSampleCount to query.
Returns
- bool
True if the sample count is supported; false otherwise.