Synced
GraphicsCapabilities.SupportsSampled
Section titled “GraphicsCapabilities.SupportsSampled”
- Tests whether a format is valid for sampled textures of one dimensional shape.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering
Scope: Runtime
Declaration
Section titled “Declaration”public bool InnoEngine.Rendering.GraphicsCapabilities.SupportsSampled(InnoEngine.Rendering.RenderTextureFormat format, InnoEngine.Rendering.RenderTextureDimension dimension)Parameters
Section titled “Parameters”Parameter format: Texture format to query.
Parameter dimension: Texture shape to query.
Returns
Section titled “Returns”true when the format and dimension can be sampled.