Documentation
Preparing search index...
Copy @link
@lopoly/engine
materials/ShaderVariant
DefaultShader
Class DefaultShader
No description provided.
Implements
IShader
Index
Constructors
constructor
Properties
fragment
Shader
Source
vertex
Shader
Source
Methods
get
Defines
Constructors
constructor
new
DefaultShader
(
vertexShaderSource
:
string
,
fragmentShaderSource
:
string
,
)
:
DefaultShader
No description provided.
Parameters
vertexShaderSource
:
string
fragmentShaderSource
:
string
Returns
DefaultShader
Properties
Readonly
fragment
Shader
Source
fragmentShaderSource
:
string
No description provided.
Readonly
vertex
Shader
Source
vertexShaderSource
:
string
No description provided.
Methods
get
Defines
getDefines
(
engine
:
IEngine
,
options
:
ShaderVariantOptions
)
:
string
[]
No description provided.
Parameters
engine
:
IEngine
options
:
ShaderVariantOptions
Returns
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
fragment
Shader
Source
vertex
Shader
Source
Methods
get
Defines
Collapse all
Documentation
Loading...
No description provided.