Module: Gsplat::Native
- Defined in:
- lib/gsplat/native.rb
Overview
Optional C implementation entrypoint.
Class Attribute Summary collapse
-
.load_error ⇒ Object
readonly
Returns the value of attribute load_error.
Class Method Summary collapse
Class Attribute Details
.load_error ⇒ Object (readonly)
Returns the value of attribute load_error.
7 8 9 |
# File 'lib/gsplat/native.rb', line 7 def load_error @load_error end |
Class Method Details
.available? ⇒ Boolean
9 10 11 |
# File 'lib/gsplat/native.rb', line 9 def available? @available == true end |
.mark_available! ⇒ Object
13 14 15 |
# File 'lib/gsplat/native.rb', line 13 def mark_available! @available = true end |
.mark_unavailable!(error) ⇒ Object
17 18 19 20 |
# File 'lib/gsplat/native.rb', line 17 def mark_unavailable!(error) @available = false @load_error = error end |