Module: GL_AMD_debug_output::RenderContext

Includes:
Roglew::RenderContextExtension
Defined in:
lib/roglew/extensions/GL_AMD_debug_output.rb

Instance Method Summary collapse

Methods included from Roglew::RenderContextExtension

included

Instance Method Details

#debug_message_enableAMD(category, severity, ids, enabled) ⇒ Object



38
39
40
41
42
# File 'lib/roglew/extensions/GL_AMD_debug_output.rb', line 38

def debug_message_enableAMD(category, severity, ids, enabled)
  pids = FFI::MemoryPointer.new(:uint, ids.count)
  pids.write_array_of_uint(ids)
  @rh.glDebugMessageEnableAMD(category, severity, ids.count, pids, enabled)
end