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 SourceComputeSupport
Property to return the compute shader/uav support for a format.
Declaration
ComputeShaderFormatSupport ComputeSupport { get; }
Property Value
Type | Description |
---|---|
ComputeShaderFormatSupport |
Format
Property to return the format that is being queried for support.
Declaration
BufferFormat Format { get; }
Property Value
Type | Description |
---|---|
BufferFormat |
FormatSupport
Property to return the resource support for a format.
Declaration
BufferFormatSupport FormatSupport { get; }
Property Value
Type | Description |
---|---|
BufferFormatSupport |
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 |
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 |
IsIndexBufferFormat
Property to return whether this format is suitable for use in an index buffer.
Declaration
bool IsIndexBufferFormat { get; }
Property Value
Type | Description |
---|---|
bool |
IsRenderTargetFormat
Property to return whether this format is suitable for use as a render target.
Declaration
bool IsRenderTargetFormat { get; }
Property Value
Type | Description |
---|---|
bool |
IsVertexBufferFormat
Property to return whether this format is suitable for use in a vertex buffer.
Declaration
bool IsVertexBufferFormat { get; }
Property Value
Type | Description |
---|---|
bool |
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 SourceIsTextureFormat(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. |