Class: RbSDL2::Surface::PixelFormat::PixelFormatPointer
- Inherits:
-
RefCountPointer
- Object
- FFI::AutoPointer
- RefCountPointer
- RbSDL2::Surface::PixelFormat::PixelFormatPointer
- Defined in:
- lib/rb_sdl2/surface/pixel_format.rb
Class Method Summary collapse
Methods inherited from RefCountPointer
dec_ref, inc_ref, offset_of_refcount, #refcount, to_ptr
Class Method Details
.entity_class ⇒ Object
10 |
# File 'lib/rb_sdl2/surface/pixel_format.rb', line 10 def entity_class = ::SDL::PixelFormat |
.release(ptr) ⇒ Object
8 |
# File 'lib/rb_sdl2/surface/pixel_format.rb', line 8 def release(ptr) = ::SDL.FreeFormat(ptr) |