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