SSEffect
A rendering effect that applies a full-screen shader to the camera output.
Properties
| Property | Type | Default |
|---|---|---|
Shader | any | nil |
Enabled | boolean | true |
Name | string | "SSEffect" |
Functions
`instance:SetUniform`
Sets a shader uniform value.
`instance:SetTexture`
Sets the Texture.
`instance:AddToPipeline`
Adds to pipeline.
instance:SetUniform
Sets a shader uniform value.
Arguments
name: string, value: number, isFloat: booleanReturns
This function returns nothing.
instance:SetTexture
Sets the Texture.
Arguments
name: string, textureObj: anyReturns
This function returns nothing.
instance:AddToPipeline
Adds to pipeline.
Arguments
This function takes no arguments.
Returns
This function returns nothing.
API
instance:SetUniform(name: string, value: number, isFloat: boolean)
instance:SetTexture(name: string, textureObj: any)
instance:AddToPipeline()