C# Class Qyoto.QGLContext

Inheritance: Object, IDisposable
Mostra file Open project: 0xd34df00d/Qross Class Usage Examples

Protected Properties

Property Type Description
interceptor SmokeInvocation

Public Methods

Method Description
AreSharing ( QGLContext context1, QGLContext context2 ) : bool
BindTexture ( QImage image ) : uint
BindTexture ( QImage image, int target ) : uint
BindTexture ( QImage image, int target, int format ) : uint
BindTexture ( QImage image, int target, int format, uint options ) : uint
BindTexture ( QPixmap pixmap ) : uint
BindTexture ( QPixmap pixmap, int target ) : uint
BindTexture ( QPixmap pixmap, int target, int format ) : uint
BindTexture ( QPixmap pixmap, int target, int format, uint options ) : uint
BindTexture ( string fileName ) : uint
CurrentContext ( ) : QGLContext
CurrentCtx ( ) : QGLContext
DeleteTexture ( uint tx_id ) : void
Device ( ) : IQPaintDevice
Dispose ( ) : void
DrawTexture ( QPointF point, uint textureId ) : void
DrawTexture ( QPointF point, uint textureId, int textureTarget ) : void
DrawTexture ( Qyoto.QRectF target, uint textureId ) : void
DrawTexture ( Qyoto.QRectF target, uint textureId, int textureTarget ) : void
Format ( ) : QGLFormat
IsSharing ( ) : bool
IsValid ( ) : bool
OverlayTransparentColor ( ) : QColor
QGLContext ( QGLFormat format ) : System
QGLContext ( QGLFormat format, IQPaintDevice device ) : System
RequestedFormat ( ) : QGLFormat
Reset ( ) : void
SetFormat ( QGLFormat format ) : void
SetTextureCacheLimit ( int size ) : void
TextureCacheLimit ( ) : int

Protected Methods

Method Description
ColorIndex ( QColor c ) : uint
CreateProxy ( ) : void
DeviceIsPixmap ( ) : bool
GenerateFontDisplayLists ( QFont fnt, int listBase ) : void
Initialized ( ) : bool
QGLContext ( Type dummy ) : System
SetDevice ( IQPaintDevice pDev ) : void
SetInitialized ( bool on ) : void
SetValid ( bool valid ) : void
SetWindowCreated ( bool on ) : void
WindowCreated ( ) : bool

Private Methods

Method Description
ChooseContext ( ) : bool
ChooseContext ( QGLContext shareContext ) : bool
Create ( ) : bool
Create ( QGLContext shareContext ) : bool
DoneCurrent ( ) : void
MakeCurrent ( ) : void
QGLContext ( ) : System
SwapBuffers ( ) : void

Method Details

AreSharing() public static method

public static AreSharing ( QGLContext context1, QGLContext context2 ) : bool
context1 QGLContext
context2 QGLContext
return bool

BindTexture() public method

public BindTexture ( QImage image ) : uint
image QImage
return uint

BindTexture() public method

public BindTexture ( QImage image, int target ) : uint
image QImage
target int
return uint

BindTexture() public method

public BindTexture ( QImage image, int target, int format ) : uint
image QImage
target int
format int
return uint

BindTexture() public method

public BindTexture ( QImage image, int target, int format, uint options ) : uint
image QImage
target int
format int
options uint
return uint

BindTexture() public method

public BindTexture ( QPixmap pixmap ) : uint
pixmap QPixmap
return uint

BindTexture() public method

public BindTexture ( QPixmap pixmap, int target ) : uint
pixmap QPixmap
target int
return uint

BindTexture() public method

public BindTexture ( QPixmap pixmap, int target, int format ) : uint
pixmap QPixmap
target int
format int
return uint

BindTexture() public method

public BindTexture ( QPixmap pixmap, int target, int format, uint options ) : uint
pixmap QPixmap
target int
format int
options uint
return uint

BindTexture() public method

public BindTexture ( string fileName ) : uint
fileName string
return uint

ColorIndex() protected method

protected ColorIndex ( QColor c ) : uint
c QColor
return uint

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

CurrentContext() public static method

public static CurrentContext ( ) : QGLContext
return QGLContext

CurrentCtx() public static method

public static CurrentCtx ( ) : QGLContext
return QGLContext

DeleteTexture() public method

public DeleteTexture ( uint tx_id ) : void
tx_id uint
return void

Device() public method

public Device ( ) : IQPaintDevice
return IQPaintDevice

DeviceIsPixmap() protected method

protected DeviceIsPixmap ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

DrawTexture() public method

public DrawTexture ( QPointF point, uint textureId ) : void
point QPointF
textureId uint
return void

DrawTexture() public method

public DrawTexture ( QPointF point, uint textureId, int textureTarget ) : void
point QPointF
textureId uint
textureTarget int
return void

DrawTexture() public method

public DrawTexture ( Qyoto.QRectF target, uint textureId ) : void
target Qyoto.QRectF
textureId uint
return void

DrawTexture() public method

public DrawTexture ( Qyoto.QRectF target, uint textureId, int textureTarget ) : void
target Qyoto.QRectF
textureId uint
textureTarget int
return void

Format() public method

public Format ( ) : QGLFormat
return QGLFormat

GenerateFontDisplayLists() protected method

protected GenerateFontDisplayLists ( QFont fnt, int listBase ) : void
fnt QFont
listBase int
return void

Initialized() protected method

protected Initialized ( ) : bool
return bool

IsSharing() public method

public IsSharing ( ) : bool
return bool

IsValid() public method

public IsValid ( ) : bool
return bool

OverlayTransparentColor() public method

public OverlayTransparentColor ( ) : QColor
return QColor

QGLContext() public method

public QGLContext ( QGLFormat format ) : System
format QGLFormat
return System

QGLContext() public method

public QGLContext ( QGLFormat format, IQPaintDevice device ) : System
format QGLFormat
device IQPaintDevice
return System

QGLContext() protected method

protected QGLContext ( Type dummy ) : System
dummy System.Type
return System

RequestedFormat() public method

public RequestedFormat ( ) : QGLFormat
return QGLFormat

Reset() public method

public Reset ( ) : void
return void

SetDevice() protected method

protected SetDevice ( IQPaintDevice pDev ) : void
pDev IQPaintDevice
return void

SetFormat() public method

public SetFormat ( QGLFormat format ) : void
format QGLFormat
return void

SetInitialized() protected method

protected SetInitialized ( bool on ) : void
on bool
return void

SetTextureCacheLimit() public static method

public static SetTextureCacheLimit ( int size ) : void
size int
return void

SetValid() protected method

protected SetValid ( bool valid ) : void
valid bool
return void

SetWindowCreated() protected method

protected SetWindowCreated ( bool on ) : void
on bool
return void

TextureCacheLimit() public static method

public static TextureCacheLimit ( ) : int
return int

WindowCreated() protected method

protected WindowCreated ( ) : bool
return bool

Property Details

interceptor protected_oe property

protected SmokeInvocation,Qyoto interceptor
return SmokeInvocation