Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Samples a texture at an explicit floating-point mip level without implicit derivatives.

API: engine
Project: Inno.Rendering.Shaders

public Inno.Rendering.Shaders.ShaderIrValue Inno.Rendering.Shaders.ShaderIrBuilder.SampleLevel(Inno.Rendering.Shaders.ShaderIrValue texture, Inno.Rendering.Shaders.ShaderIrValue coordinate, Inno.Rendering.Shaders.ShaderIrValue level)

Parameter texture: A sampled 2D, 2D-array, 3D or cube texture.

Parameter coordinate: float2 for 2D, or float3 for an array, volume or cube.

Parameter level: Scalar floating-point mip level.

The sampled float4 value.

Exception T:System.ArgumentException: Operands have incompatible types or owners.