Show / Hide Table of Contents

Class GraphicsDeviceFeatures

Enumerates the optional features supported by a given GraphicsDevice.

Inheritance
System.Object
GraphicsDeviceFeatures
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public class GraphicsDeviceFeatures

Properties

BufferRangeBinding

Indicates whether uniform and structured buffers can be bound with an offset and a size. If false, buffer resources must be bound with their full range.

Declaration
public bool BufferRangeBinding { get; }
Property Value
Type Description
System.Boolean

CommandListDebugMarkers

Indicates whether CommandList instances created with this device support the PushDebugGroup(String), PopDebugGroup(), and InsertDebugMarker(String) methods. If not, these methods will have no effect.

Declaration
public bool CommandListDebugMarkers { get; }
Property Value
Type Description
System.Boolean

ComputeShader

Indicates whether Compute Shaders can be used.

Declaration
public bool ComputeShader { get; }
Property Value
Type Description
System.Boolean

DepthClipDisable

Indicates whether DepthClipEnabled can be set to false.

Declaration
public bool DepthClipDisable { get; }
Property Value
Type Description
System.Boolean

DrawBaseInstance

Indicates whether a non-zero "instanceStart" value can be used in Draw(UInt32, UInt32, UInt32, UInt32) and DrawIndexed(UInt32, UInt32, UInt32, Int32, UInt32).

Declaration
public bool DrawBaseInstance { get; }
Property Value
Type Description
System.Boolean

DrawBaseVertex

Indicates whether a non-zero "vertexStart" value can be used in Draw(UInt32, UInt32, UInt32, UInt32) and DrawIndexed(UInt32, UInt32, UInt32, Int32, UInt32).

Declaration
public bool DrawBaseVertex { get; }
Property Value
Type Description
System.Boolean

DrawIndirect

Indicates whether indirect draw commands can be issued.

Declaration
public bool DrawIndirect { get; }
Property Value
Type Description
System.Boolean

DrawIndirectBaseInstance

Indicates whether indirect draw structures stored in an Indirect DeviceBuffer can contain a non-zero FirstInstance value.

Declaration
public bool DrawIndirectBaseInstance { get; }
Property Value
Type Description
System.Boolean

FillModeWireframe

Indicates whether Wireframe is supported.

Declaration
public bool FillModeWireframe { get; }
Property Value
Type Description
System.Boolean

GeometryShader

Indicates whether Geometry Shaders can be used.

Declaration
public bool GeometryShader { get; }
Property Value
Type Description
System.Boolean

IndependentBlend

Indicates whether a BlendStateDescription can be used which has multiple different BlendAttachmentDescription values for each attachment. If false, all attachments must have the same blend state.

Declaration
public bool IndependentBlend { get; }
Property Value
Type Description
System.Boolean

MultipleViewports

Indicates whether multiple independent viewports can be set simultaneously. If this is not supported, then only the first Viewport index will be used for all render outputs.

Declaration
public bool MultipleViewports { get; }
Property Value
Type Description
System.Boolean

SamplerAnisotropy

Indicates whether Anisotropic is supported.

Declaration
public bool SamplerAnisotropy { get; }
Property Value
Type Description
System.Boolean

SamplerLodBias

Indicates whether LodBias can be non-zero. If false, it is an error to attempt to use a non-zero bias value.

Declaration
public bool SamplerLodBias { get; }
Property Value
Type Description
System.Boolean

StructuredBuffer

Indicates whether StructuredBufferReadOnly and StructuredBufferReadWrite can be used. If false, structured buffers cannot be created.

Declaration
public bool StructuredBuffer { get; }
Property Value
Type Description
System.Boolean

SubsetTextureView

Indicates whether a TextureView can be created which does not view the full set of mip levels and array layers contained in its target Texture, or uses a different PixelFormat from the underlying Texture.

Declaration
public bool SubsetTextureView { get; }
Property Value
Type Description
System.Boolean

TessellationShaders

Indicates whether Tessellation Shaders can be used.

Declaration
public bool TessellationShaders { get; }
Property Value
Type Description
System.Boolean

Texture1D

Indicates whether a Texture can be created with Texture1D.

Declaration
public bool Texture1D { get; }
Property Value
Type Description
System.Boolean
Back to top