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

#refcount, to_ptr

Class Method Details

.entity_classObject



10
# File 'lib/rb_sdl2/surface/pixel_format.rb', line 10

def entity_class = ::SDL2::SDL_PixelFormat

.release(ptr) ⇒ Object



8
# File 'lib/rb_sdl2/surface/pixel_format.rb', line 8

def release(ptr) = ::SDL2.SDL_FreeFormat(ptr)