Class: RbSDL2::Surface::PixelFormat::PixelFormatPointer

Inherits:
RefCountPointer
  • Object
show all
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_classObject



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)