module Fog: sig
.. end
Fog - encapsulates OpenGL fog state.
type
t
type
mode =
type
fog_coordinate_source =
| |
FOG_COORDINATE |
| |
FRAGMENT_DEPTH |
val create' : unit -> t
val to_state_attribute : t -> Osg.State_attribute.t
val set_mode : t -> mode -> unit
val set_fog_coordinate_source : t -> fog_coordinate_source -> unit
val set_density : t -> float -> unit
val set_start : t -> float -> unit
val set_end : t -> float -> unit
val set_color : t -> Osg.Vec4.t -> unit
val create : ?mode:mode ->
?fog_coordinate_source:fog_coordinate_source ->
?density:float ->
?start:float ->
?end_:float -> ?color:Osg.Vec4.t -> unit -> Osg.State_attribute.t
val labl_create : ?mode:mode ->
?fog_coordinate_source:fog_coordinate_source ->
?density:float ->
?start:float -> ?end_:float -> ?color:Osg.Vec4.t -> unit -> t