Module
Rito.Materials.ShaderMaterial
- Package
- purescript-rito
- Repository
- mikesol/purescript-rito
#shaderMaterial Source
shaderMaterial :: forall i u url payload. InitialShaderMaterial i (Record u) => RowToList u url => IsUniform url => Record u -> i -> Event (ShaderMaterial u) -> Material payload
#shaderMaterial_ Source
shaderMaterial_ :: forall i u url payload. InitialShaderMaterial i (Record u) => RowToList u url => IsUniform url => Record u -> i -> Material payload
#ShaderMaterial Source
newtype ShaderMaterial :: Row Type -> Type
newtype ShaderMaterial u
Constructors
Instances
Newtype (ShaderMaterial u) (ShaderMaterial' u)
#ShaderMaterial' Source
type ShaderMaterial' :: Row Type -> Type
type ShaderMaterial' u = Variant (uniform :: Variant u)
Instances
Newtype (ShaderMaterial u) (ShaderMaterial' u)
#ShaderMaterialOptions Source
data ShaderMaterialOptions
Constructors
Instances
ConvertOption ShaderMaterialOptions "shaderMaterial" TShaderMaterial TShaderMaterial
ConvertOption ShaderMaterialOptions "vertexShader" String String
ConvertOption ShaderMaterialOptions "fragmentShader" String String
ConvertOption ShaderMaterialOptions "alphaTest" Number (Maybe Number)
ConvertOption ShaderMaterialOptions "alphaToCoverage" Number (Maybe Number)
ConvertOption ShaderMaterialOptions "blendDst" BlendDst (Maybe BlendDst)
ConvertOption ShaderMaterialOptions "blendDstAlpha" BlendDst (Maybe BlendDst)
ConvertOption ShaderMaterialOptions "blendEquation" BlendEquation (Maybe BlendEquation)
ConvertOption ShaderMaterialOptions "blendEquationAlpha" BlendEquation (Maybe BlendEquation)
ConvertOption ShaderMaterialOptions "blending" Blending (Maybe Blending)
ConvertOption ShaderMaterialOptions "blendSrc" BlendSrc (Maybe BlendSrc)
ConvertOption ShaderMaterialOptions "blendSrcAlpha" BlendSrc (Maybe BlendSrc)
ConvertOption ShaderMaterialOptions "clipIntersection" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "clipShadows" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "colorWrite" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "depthFunc" DepthMode (Maybe DepthMode)
ConvertOption ShaderMaterialOptions "depthTest" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "depthWrite" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "opacity" Number (Maybe Number)
ConvertOption ShaderMaterialOptions "polygonOffset" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "polygonOffsetFactor" Int (Maybe Int)
ConvertOption ShaderMaterialOptions "polygonOffsetUnits" Int (Maybe Int)
ConvertOption ShaderMaterialOptions "precision" Precision (Maybe Precision)
ConvertOption ShaderMaterialOptions "premultipliedAlpha" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "dithering" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "shadowSide" Side (Maybe Side)
ConvertOption ShaderMaterialOptions "side" Side (Maybe Side)
ConvertOption ShaderMaterialOptions "toneMapped" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "transparent" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "vertexColors" Boolean (Maybe Boolean)
ConvertOption ShaderMaterialOptions "visible" Boolean (Maybe Boolean)
#InitialShaderMaterial Source
class InitialShaderMaterial i u where
Members
toInitializeShaderMaterial :: u -> i -> InitializeShaderMaterial u
Instances
- 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