Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
Graphic3d_ShaderProgram
Class Graphic3d_ShaderProgram
Hierarchy
Standard_Transient
Graphic3d_ShaderProgram
Index
Constructors
constructor
Methods
Append
To
Header
Attach
Shader
Clear
Variables
Decrement
Ref
Counter
Delete
Detach
Shader
Dynamic
Type
Get
Id
Get
Ref
Count
Has
Alpha
Test
Has
Default
Sampler
Header
Increment
Ref
Counter
Is
Done
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
IsPBR
Nb
Clip
Planes
Max
Nb
Fragment
Outputs
Nb
Lights
Max
Nb
Shadow
Maps
Oit
Output
Push
Variable
Float
Push
Variable
Int
Push
Variable
Vec2
Push
Variable
Vec2i
Push
Variable
Vec3
Push
Variable
Vec3i
Push
Variable
Vec4
Push
Variable
Vec4i
Set
Alpha
Test
Set
Default
Sampler
Set
Header
Set
Id
Set
Nb
Clip
Planes
Max
Set
Nb
Fragment
Outputs
Set
Nb
Lights
Max
Set
Nb
Shadow
Maps
Set
Oit
Output
SetPBR
Set
Texture
Set
Bits
Set
Vertex
Attributes
Shader
Objects
Texture
Set
Bits
This
Variables
Vertex
Attributes
delete
Shaders
Folder
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
Graphic3d_
Shader
Program
(
)
:
Graphic3d_ShaderProgram
Returns
Graphic3d_ShaderProgram
Methods
Append
To
Header
Append
To
Header
(
theHeaderLine
:
XCAFDoc_PartId
)
:
void
Parameters
theHeaderLine:
XCAFDoc_PartId
Returns
void
Attach
Shader
Attach
Shader
(
theShader
:
Handle_Graphic3d_ShaderObject
)
:
boolean
Parameters
theShader:
Handle_Graphic3d_ShaderObject
Returns
boolean
Clear
Variables
Clear
Variables
(
)
:
void
Returns
void
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Detach
Shader
Detach
Shader
(
theShader
:
Handle_Graphic3d_ShaderObject
)
:
boolean
Parameters
theShader:
Handle_Graphic3d_ShaderObject
Returns
boolean
Dynamic
Type
Dynamic
Type
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Get
Id
Get
Id
(
)
:
XCAFDoc_PartId
Returns
XCAFDoc_PartId
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Has
Alpha
Test
Has
Alpha
Test
(
)
:
boolean
Returns
boolean
Has
Default
Sampler
Has
Default
Sampler
(
)
:
boolean
Returns
boolean
Header
Header
(
)
:
XCAFDoc_PartId
Returns
XCAFDoc_PartId
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Is
Done
Is
Done
(
)
:
boolean
Returns
boolean
Is
Instance_
1
Is
Instance_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Instance_
2
Is
Instance_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Kind_
1
Is
Kind_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Kind_
2
Is
Kind_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
IsPBR
IsPBR
(
)
:
boolean
Returns
boolean
Nb
Clip
Planes
Max
Nb
Clip
Planes
Max
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Nb
Fragment
Outputs
Nb
Fragment
Outputs
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Nb
Lights
Max
Nb
Lights
Max
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Nb
Shadow
Maps
Nb
Shadow
Maps
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Oit
Output
Oit
Output
(
)
:
Graphic3d_RenderTransparentMethod
Returns
Graphic3d_RenderTransparentMethod
Push
Variable
Float
Push
Variable
Float
(
theName
:
XCAFDoc_PartId
, theValue
:
number
)
:
boolean
Parameters
theName:
XCAFDoc_PartId
theValue:
number
Returns
boolean
Push
Variable
Int
Push
Variable
Int
(
theName
:
XCAFDoc_PartId
, theValue
:
number
)
:
boolean
Parameters
theName:
XCAFDoc_PartId
theValue:
number
Returns
boolean
Push
Variable
Vec2
Push
Variable
Vec2
(
theName
:
XCAFDoc_PartId
, theValue
:
OpenGl_Vec2
)
:
boolean
Parameters
theName:
XCAFDoc_PartId
theValue:
OpenGl_Vec2
Returns
boolean
Push
Variable
Vec2i
Push
Variable
Vec2i
(
theName
:
XCAFDoc_PartId
, theValue
:
OpenGl_Vec2i
)
:
boolean
Parameters
theName:
XCAFDoc_PartId
theValue:
OpenGl_Vec2i
Returns
boolean
Push
Variable
Vec3
Push
Variable
Vec3
(
theName
:
XCAFDoc_PartId
, theValue
:
OpenGl_Vec3
)
:
boolean
Parameters
theName:
XCAFDoc_PartId
theValue:
OpenGl_Vec3
Returns
boolean
Push
Variable
Vec3i
Push
Variable
Vec3i
(
theName
:
XCAFDoc_PartId
, theValue
:
OpenGl_Vec3i
)
:
boolean
Parameters
theName:
XCAFDoc_PartId
theValue:
OpenGl_Vec3i
Returns
boolean
Push
Variable
Vec4
Push
Variable
Vec4
(
theName
:
XCAFDoc_PartId
, theValue
:
OpenGl_Vec4
)
:
boolean
Parameters
theName:
XCAFDoc_PartId
theValue:
OpenGl_Vec4
Returns
boolean
Push
Variable
Vec4i
Push
Variable
Vec4i
(
theName
:
XCAFDoc_PartId
, theValue
:
OpenGl_Vec4i
)
:
boolean
Parameters
theName:
XCAFDoc_PartId
theValue:
OpenGl_Vec4i
Returns
boolean
Set
Alpha
Test
Set
Alpha
Test
(
theAlphaTest
:
boolean
)
:
void
Parameters
theAlphaTest:
boolean
Returns
void
Set
Default
Sampler
Set
Default
Sampler
(
theHasDefSampler
:
boolean
)
:
void
Parameters
theHasDefSampler:
boolean
Returns
void
Set
Header
Set
Header
(
theHeader
:
XCAFDoc_PartId
)
:
void
Parameters
theHeader:
XCAFDoc_PartId
Returns
void
Set
Id
Set
Id
(
theId
:
XCAFDoc_PartId
)
:
void
Parameters
theId:
XCAFDoc_PartId
Returns
void
Set
Nb
Clip
Planes
Max
Set
Nb
Clip
Planes
Max
(
theNbPlanes
:
Graphic3d_ZLayerId
)
:
void
Parameters
theNbPlanes:
Graphic3d_ZLayerId
Returns
void
Set
Nb
Fragment
Outputs
Set
Nb
Fragment
Outputs
(
theNbOutputs
:
Graphic3d_ZLayerId
)
:
void
Parameters
theNbOutputs:
Graphic3d_ZLayerId
Returns
void
Set
Nb
Lights
Max
Set
Nb
Lights
Max
(
theNbLights
:
Graphic3d_ZLayerId
)
:
void
Parameters
theNbLights:
Graphic3d_ZLayerId
Returns
void
Set
Nb
Shadow
Maps
Set
Nb
Shadow
Maps
(
theNbMaps
:
Graphic3d_ZLayerId
)
:
void
Parameters
theNbMaps:
Graphic3d_ZLayerId
Returns
void
Set
Oit
Output
Set
Oit
Output
(
theOutput
:
Graphic3d_RenderTransparentMethod
)
:
void
Parameters
theOutput:
Graphic3d_RenderTransparentMethod
Returns
void
SetPBR
SetPBR
(
theIsPBR
:
boolean
)
:
void
Parameters
theIsPBR:
boolean
Returns
void
Set
Texture
Set
Bits
Set
Texture
Set
Bits
(
theBits
:
Graphic3d_ZLayerId
)
:
void
Parameters
theBits:
Graphic3d_ZLayerId
Returns
void
Set
Vertex
Attributes
Set
Vertex
Attributes
(
theAttributes
:
Graphic3d_ShaderAttributeList
)
:
void
Parameters
theAttributes:
Graphic3d_ShaderAttributeList
Returns
void
Shader
Objects
Shader
Objects
(
)
:
Graphic3d_ShaderObjectList
Returns
Graphic3d_ShaderObjectList
Texture
Set
Bits
Texture
Set
Bits
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
Variables
Variables
(
)
:
Graphic3d_ShaderVariableList
Returns
Graphic3d_ShaderVariableList
Vertex
Attributes
Vertex
Attributes
(
)
:
Graphic3d_ShaderAttributeList
Returns
Graphic3d_ShaderAttributeList
delete
delete
(
)
:
void
Returns
void
Static
Shaders
Folder
Shaders
Folder
(
)
:
XCAFDoc_PartId
Returns
XCAFDoc_PartId
Static
get_
type_
descriptor
get_
type_
descriptor
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Static
get_
type_
name
get_
type_
name
(
)
:
number
Returns
number
Exports
Graphic3d_
Shader
Program
constructor
Append
To
Header
Attach
Shader
Clear
Variables
Decrement
Ref
Counter
Delete
Detach
Shader
Dynamic
Type
Get
Id
Get
Ref
Count
Has
Alpha
Test
Has
Default
Sampler
Header
Increment
Ref
Counter
Is
Done
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
IsPBR
Nb
Clip
Planes
Max
Nb
Fragment
Outputs
Nb
Lights
Max
Nb
Shadow
Maps
Oit
Output
Push
Variable
Float
Push
Variable
Int
Push
Variable
Vec2
Push
Variable
Vec2i
Push
Variable
Vec3
Push
Variable
Vec3i
Push
Variable
Vec4
Push
Variable
Vec4i
Set
Alpha
Test
Set
Default
Sampler
Set
Header
Set
Id
Set
Nb
Clip
Planes
Max
Set
Nb
Fragment
Outputs
Set
Nb
Lights
Max
Set
Nb
Shadow
Maps
Set
Oit
Output
SetPBR
Set
Texture
Set
Bits
Set
Vertex
Attributes
Shader
Objects
Texture
Set
Bits
This
Variables
Vertex
Attributes
delete
Shaders
Folder
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc