次の方法で共有


ResourceType Enumeration

Defines resource types.

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

Syntax

public enum ResourceType

Members

  Member name Description
DepthStencilBuffer A depth stencil buffer resource.
IndexBuffer An index buffer resource.
RenderTarget A render target resource.
Texture2D A 2-dimensional texture resource.
Texture3D A 3-dimensional texture resource.
Texture3DVolume A 3-D volume texture resource.
TextureCube A cube texture resource.
VertexBuffer A vertex buffer resource.

See Also

Reference

GraphicsAdapter.CheckDeviceFormat Method
GraphicsResource.ResourceType Property
TextureInformation.ResourceType Property

Platforms

Xbox 360, Windows XP SP2, Windows Vista