Struct PixelFormatProperties
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).
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public struct PixelFormatProperties
Fields
MaxArrayLayers
The maximum supported number of array layers.
Declaration
public readonly uint MaxArrayLayers
Field Value
Type | Description |
---|---|
System.UInt32 |
MaxDepth
The maximum supported depth.
Declaration
public readonly uint MaxDepth
Field Value
Type | Description |
---|---|
System.UInt32 |
MaxHeight
The maximum supported height.
Declaration
public readonly uint MaxHeight
Field Value
Type | Description |
---|---|
System.UInt32 |
MaxMipLevels
The maximum supported number of mipmap levels.
Declaration
public readonly uint MaxMipLevels
Field Value
Type | Description |
---|---|
System.UInt32 |
MaxWidth
The maximum supported width.
Declaration
public readonly uint MaxWidth
Field Value
Type | Description |
---|---|
System.UInt32 |
Methods
IsSampleCountSupported(TextureSampleCount)
Gets a value indicating whether or not the given TextureSampleCount is supported.
Declaration
public bool IsSampleCountSupported(TextureSampleCount count)
Parameters
Type | Name | Description |
---|---|---|
TextureSampleCount | count | The TextureSampleCount to query. |
Returns
Type | Description |
---|---|
System.Boolean | True if the sample count is supported; false otherwise. |