Axiom.RenderSystems.OpenGL.GLPBRenderTexture.this C# (CSharp) Метод

this() публичный Метод

public this ( string attribute ) : object
attribute string
Результат object
		public override object this[ string attribute ]
		{
			get
			{
				switch ( attribute.ToUpper() )
				{
					case "TARGET":
						GLSurfaceDesc target = new GLSurfaceDesc();
						target.Buffer = (GLHardwarePixelBuffer)this.pixelBuffer;
						target.ZOffset = this.zOffset;
						return target;
						break;
					case "GLCONTEXT":
						// Get PBuffer for our internal format
						return manager.GetContextFor( pbFormat, Width, Height );
						break;
					default:
						return base[ attribute ];
						break;
				}
			}
		}
		#endregion Methods