Module
Rito.Renderers.WebGL
- Package
- purescript-rito
- Repository
- mikesol/purescript-rito
#WebGLRendererOptions Source
data WebGLRendererOptions
Constructors
Instances
ConvertOption WebGLRendererOptions "canvas" HTMLCanvasElement HTMLCanvasElement
ConvertOption WebGLRendererOptions "webGLRenderer" TWebGLRenderer TWebGLRenderer
ConvertOption WebGLRendererOptions "precision" WebGLRenderingPrecision WebGLRenderingPrecision
ConvertOption WebGLRendererOptions "alpha" Boolean Boolean
ConvertOption WebGLRendererOptions "premultipliedAlpha" Boolean Boolean
ConvertOption WebGLRendererOptions "antialias" Boolean Boolean
ConvertOption WebGLRendererOptions "stencil" Boolean Boolean
ConvertOption WebGLRendererOptions "preserveDrawingBuffer" Boolean Boolean
ConvertOption WebGLRendererOptions "powerPreference" WebGLRenderingPowerPreference WebGLRenderingPowerPreference
ConvertOption WebGLRendererOptions "failIfMajorPerformanceCaveat" Boolean Boolean
ConvertOption WebGLRendererOptions "depth" Boolean Boolean
ConvertOption WebGLRendererOptions "logarithmicDepthBuffer" Boolean Boolean
#WebGLRendererOptional Source
type WebGLRendererOptional :: Row Type
type WebGLRendererOptional = (alpha :: Boolean, antialias :: Boolean, depth :: Boolean, failIfMajorPerformanceCaveat :: Boolean, logarithmicDepthBuffer :: Boolean, powerPreference :: WebGLRenderingPowerPreference, precision :: WebGLRenderingPrecision, premultipliedAlpha :: Boolean, preserveDrawingBuffer :: Boolean, stencil :: Boolean)
#WebGLRendererAll Source
type WebGLRendererAll :: Row Type
type WebGLRendererAll = (canvas :: HTMLCanvasElement, webGLRenderer :: TWebGLRenderer | WebGLRendererOptional)
#InitialWebGLRenderer Source
#WebGLRenderer' Source
type WebGLRenderer' = Variant (render :: Unit, size :: { height :: Number, width :: Number })
Instances
#WebGLRenderer Source
#webGLRenderer Source
webGLRenderer :: forall i payload. InitialWebGLRenderer i => Scene payload -> Camera payload -> i -> Event WebGLRenderer -> WebGLRenderer payload
- Modules
- Rito.
BlendDst - Rito.
BlendEquation - Rito.
BlendSrc - Rito.
Blending - Rito.
Box3 - Rito.
BufferAttribute - Rito.
BufferAttributeUnsafe - Rito.
CSS. CSS2DObject - Rito.
CSS. CSS3DObject - Rito.
Cameras. PerspectiveCamera - Rito.
Color - Rito.
CombineOperation - Rito.
Core - Rito.
CubeTexture - Rito.
DepthMode - Rito.
Euler - Rito.
FogExp2 - Rito.
GLTF - Rito.
Geometries. Box - Rito.
Geometries. BufferGeometry - Rito.
Geometries. Capsule - Rito.
Geometries. Cylinder - Rito.
Geometries. Plane - Rito.
Geometries. Sphere - Rito.
Group - Rito.
InstancedBufferAttribute - Rito.
Interpret - Rito.
Lights. AmbientLight - Rito.
Lights. DirectionalLight - Rito.
Lights. PointLight - Rito.
Materials. MeshBasicMaterial - Rito.
Materials. MeshLambertMaterial - Rito.
Materials. MeshPhongMaterial - Rito.
Materials. MeshStandardMaterial - Rito.
Materials. RawShaderMaterial - Rito.
Materials. ShaderMaterial - Rito.
Matrix4 - Rito.
Mesh - Rito.
NormalMapType - Rito.
Points - Rito.
Portal - Rito.
Precision - Rito.
Properties - Rito.
Quaternion - Rito.
Renderers. CSS2D - Rito.
Renderers. CSS3D - Rito.
Renderers. Raycaster - Rito.
Renderers. WebGL - Rito.
Renderers. WebGL. BloomPass - Rito.
Renderers. WebGL. EffectComposer - Rito.
Renderers. WebGL. EffectComposerPass - Rito.
Renderers. WebGL. GlitchPass - Rito.
Renderers. WebGL. RenderPass - Rito.
Renderers. WebGL. UnrealBloomPass - Rito.
Renderers. WebGLRenderingPowerPreference - Rito.
Renderers. WebGLRenderingPrecision - Rito.
RoundRobin - Rito.
Run - Rito.
ST. ForEach - Rito.
Scene - Rito.
Side - Rito.
Sphere - Rito.
THREE - Rito.
Texture - Rito.
Undefinable - Rito.
Uniforms - Rito.
Vector2 - Rito.
Vector3 - Rito.
WireframeLinecap - Rito.
WireframeLinejoin