Sdílet prostřednictvím


CompiledShader.GetSamplers Method

Note

This method is available only when developing for Windows.

Gets the sampler names referenced in a shader.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public string[] GetSamplers ()

Return Value

An array of sampler names.

See Also

Reference

CompiledShader Structure
CompiledShader Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista