Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CocoaGraphicsStateGuardian Class Reference

A tiny specialization on GLGraphicsStateGuardian to add some Cocoa-specific information. More...

#include "cocoaGraphicsStateGuardian.h"

Inheritance diagram for CocoaGraphicsStateGuardian:

Public Member Functions

 CocoaGraphicsStateGuardian (GraphicsEngine *engine, GraphicsPipe *pipe, CocoaGraphicsStateGuardian *share_with)
 
void choose_pixel_format (const FrameBufferProperties &properties, CGDirectDisplayID display, bool need_pbuffer)
 
virtual TypeHandle force_init_type ()
 
const FrameBufferPropertiesget_fb_properties () const
 Gets the FrameBufferProperties for all windows and buffers that use this GSG. More...
 
void get_properties (FrameBufferProperties &properties, NSOpenGLPixelFormat *pixel_format, int virtual_screen)
 
virtual TypeHandle get_type () const
 

Static Public Member Functions

static TypeHandle get_class_type ()
 
static void init_type ()
 

Public Attributes

NSOpenGLContext * _context
 
FrameBufferProperties _fbprops
 
NSOpenGLContext * _share_context
 

Detailed Description

A tiny specialization on GLGraphicsStateGuardian to add some Cocoa-specific information.

Definition at line 29 of file cocoaGraphicsStateGuardian.h.

Member Function Documentation

const FrameBufferProperties & CocoaGraphicsStateGuardian::get_fb_properties ( ) const
inline

Gets the FrameBufferProperties for all windows and buffers that use this GSG.

Definition at line 22 of file cocoaGraphicsStateGuardian.I.


The documentation for this class was generated from the following files: