Gorgon
Show / Hide Table of Contents

Interface IGorgonFormatSupportInfo

Defines the support given to a specific BufferFormat.

Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public interface IGorgonFormatSupportInfo

Properties

| Edit this page View Source

ComputeSupport

Property to return the compute shader/uav support for a format.

Declaration
ComputeShaderFormatSupport ComputeSupport { get; }
Property Value
Type Description
ComputeShaderFormatSupport
| Edit this page View Source

Format

Property to return the format that is being queried for support.

Declaration
BufferFormat Format { get; }
Property Value
Type Description
BufferFormat
| Edit this page View Source

FormatSupport

Property to return the resource support for a format.

Declaration
BufferFormatSupport FormatSupport { get; }
Property Value
Type Description
BufferFormatSupport
| Edit this page View Source

IsDepthBufferFormat

Property to return whether this format is suitable for use in a depth/stencil buffer.

Declaration
bool IsDepthBufferFormat { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsDisplayFormat

Property to return whether this format is suitable for use for presentation to the output device.

Declaration
bool IsDisplayFormat { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsIndexBufferFormat

Property to return whether this format is suitable for use in an index buffer.

Declaration
bool IsIndexBufferFormat { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsRenderTargetFormat

Property to return whether this format is suitable for use as a render target.

Declaration
bool IsRenderTargetFormat { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsVertexBufferFormat

Property to return whether this format is suitable for use in a vertex buffer.

Declaration
bool IsVertexBufferFormat { get; }
Property Value
Type Description
bool
| Edit this page View Source

MaxMultisampleCountQuality

Property to return the maximum multisample count and quality level support for the format.

Declaration
GorgonMultisampleInfo MaxMultisampleCountQuality { get; }
Property Value
Type Description
GorgonMultisampleInfo

Methods

| Edit this page View Source

IsTextureFormat(ImageType)

Function to determine if a format is suitable for the texture type specified by ImageType.

Declaration
bool IsTextureFormat(ImageType imageType)
Parameters
Type Name Description
ImageType imageType

The image type to evaluate.

Returns
Type Description
bool

true if suitable, false if not.

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author