OGLRenderbuffer (object)¶
Members¶
| Versions | version | |
| String | name | |
| UInt32 | bufferID | |
| UInt32 | unactiveBufferID | |
| Boolean | externallyOwned | |
| OGLWrapperGlobals | wrapperGlobals | |
| StatisticsAutoRegisterMember | autoStats | |
| UInt32 | glInternalFormat | |
| UInt32 | samples | |
| UInt32 | width | |
| UInt32 | height |
Methods¶
| OGLRenderbuffer ( in OGLRenderbuffer other ) | |
| OGLRenderbuffer () | |
| OGLRenderbuffer | clone ? () |
| create ! ( in Size width, in Size height, io Ref<OGLContext> context ) | |
| Boolean | create ! ( io Ref<OGLContext> context ) |
| UInt32 | getInternalFormat ? () |
| getSize ? ( io Size width, io Size height, io Size depth, io Size samples ) | |
| UInt32 | getTextureType ? () |
| getType ? ( io UInt32 componentType, io UInt32 redBits, io UInt32 greenBits, io UInt32 blueBits, io UInt32 alphaBits, io UInt32 depthBits, io UInt32 stencilBits ) | |
| Boolean | hasSameType ? ( in OGLRenderbuffer other ) |
| Boolean | isShadow ? () |
| setSamples ! ( in Size samples ) | |
| setSize ! ( in Size width, in Size height ) | |
| setSize ! ( in Size width, in Size height, in Size depth ) | |
| setType ! ( in UInt32 glInternalFormat, in UInt32 samples ) | |
| ~OGLRenderbuffer () |
Methods in detail¶
OGLRenderbuffer ( in OGLRenderbuffer other )
copy constructor
OGLRenderbuffer OGLRenderbuffer.clone? ()
clone method
OGLRenderbuffer.create! ( in Size width, in Size height, io Ref<OGLContext> context )
Boolean OGLRenderbuffer.create! ( io Ref<OGLContext> context )
Returns true if it succeeded. Some Objects can only be created with specialized methods, in which case this will return false.
UInt32 OGLRenderbuffer.getInternalFormat? ()
OGLRenderbuffer.getSize? ( io Size width, io Size height, io Size depth, io Size samples )
UInt32 OGLRenderbuffer.getTextureType? ()
OGLRenderbuffer.getType? ( io UInt32 componentType, io UInt32 redBits, io UInt32 greenBits, io UInt32 blueBits, io UInt32 alphaBits, io UInt32 depthBits, io UInt32 stencilBits )
Boolean OGLRenderbuffer.hasSameType? ( in OGLRenderbuffer other )
Boolean OGLRenderbuffer.isShadow? ()
OGLRenderbuffer.setSamples! ( in Size samples )
OGLRenderbuffer.setSize! ( in Size width, in Size height )
OGLRenderbuffer.setSize! ( in Size width, in Size height, in Size depth )
OGLRenderbuffer.setType! ( in UInt32 glInternalFormat, in UInt32 samples )
~ OGLRenderbuffer ()