GraphicsCapabilities.Constructor
Section titled “GraphicsCapabilities.Constructor”
- Creates a device capability snapshot.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”public Inno.Rendering.GraphicsCapabilities.GraphicsCapabilities(Inno.Rendering.GraphicsApi backend, Inno.Rendering.GraphicsCapability features, Inno.Rendering.GraphicsLimits limits, System.Collections.Generic.IEnumerable<Inno.Rendering.RenderTextureFormat> sampledFormats, System.Collections.Generic.IEnumerable<Inno.Rendering.RenderTextureFormat> renderTargetFormats, System.Collections.Generic.IEnumerable<Inno.Rendering.RenderTextureFormat> storageReadFormats, System.Collections.Generic.IEnumerable<Inno.Rendering.RenderTextureFormat> storageWriteFormats, bool originBottomLeft, bool homogeneousDepth, System.Collections.Generic.IEnumerable<Inno.Rendering.RenderTextureFormat>? sampled3DFormats = null, System.Collections.Generic.IEnumerable<Inno.Rendering.RenderTextureFormat>? sampledCubeFormats = null, System.Collections.Generic.IEnumerable<Inno.Rendering.RenderTextureFormat>? multisampleRenderTargetFormats = null)Parameters
Section titled “Parameters”Parameter backend: Active graphics API family.
Parameter features: Supported optional features.
Parameter limits: Device limits.
Parameter sampledFormats: Formats valid for sampled two-dimensional textures.
Parameter renderTargetFormats: Formats valid as raster attachments.
Parameter storageReadFormats: Formats valid for unordered shader reads.
Parameter storageWriteFormats: Formats valid for unordered shader writes.
Parameter originBottomLeft: Whether render-target coordinates start at the bottom-left.
Parameter homogeneousDepth: Whether clip-space depth uses the negative-one-to-one range.
Parameter sampled3DFormats: Formats valid for sampled volume textures.
Parameter sampledCubeFormats: Formats valid for sampled cubemaps.
Parameter multisampleRenderTargetFormats: Formats valid as multisampled raster attachments.