Share via


GraphicsDeviceCapabilities.MaxSimultaneousTextures Property

Gets the maximum number of textures that can be simultaneously bound to the fixed-function pipeline sampler stages.

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

Syntax

public int MaxSimultaneousTextures { get; }

Property Value

The maximum number of textures that can be simultaneously bound to the fixed-function pipeline sampler stages.

Remarks

If the same texture is bound to two sampler stages, it counts as two textures.

This value has no meaning in the programmable pipeline where the number of sampler stages is determined by each pixel shader version. Each pixel shader version also determines the number of texture declaration instructions.

See Also

Reference

GraphicsDeviceCapabilities Class
GraphicsDeviceCapabilities Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista