Axiom.RenderSystems.DirectX9.D3DRenderWindow.this C# (CSharp) Method

this() private method

private this ( string attribute ) : object
attribute string
return object
        public override object this[ string attribute ]
		{
			get
			{
				switch ( attribute.ToUpper() )
				{
					case "D3DDEVICE":
						return D3DDevice;

					case "WINDOW":
						return hWnd.Handle;

					case "ISTEXTURE":
						return false;

					case "D3DZBUFFER":
				        return device.GetDepthBuffer( this );

					case "DDBACKBUFFER":
                        return new[] { device.GetBackBuffer(this) };

					case "DDFRONTBUFFER":
				        return device.GetBackBuffer( this );
				}
				return new NotSupportedException( "There is no D3D RenderWindow custom attribute named " + attribute );
			}
		}