Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gfx
GFXShader
Class GFXShader
GFX 着色器。
Hierarchy
GFXObject
GFXShader
Index
Constructors
constructor
Properties
_attributes
_blocks
_device
_gfx
Type
_id
_name
_samplers
_stages
Accessors
attributes
blocks
gfx
Type
id
name
samplers
Methods
destroy
initialize
Constructors
constructor
newGFXShader
(
device
:
GFXDevice
)
:
GFXShader
Parameters
device:
GFXDevice
Returns
GFXShader
Properties
Protected
_attributes
_attributes
:
IGFXAttribute
[]
= []
Protected
_blocks
_blocks
:
GFXUniformBlock
[]
= []
Protected
_device
_device
:
GFXDevice
Protected
_gfx
Type
_gfx
Type
:
GFXObjectType
= GFXObjectType.UNKNOWN
Protected
_id
_id
:
number
Protected
_name
_name
:
string
= ""
Protected
_samplers
_samplers
:
GFXUniformSampler
[]
= []
Protected
_stages
_stages
:
GFXShaderStage
[]
= []
Accessors
attributes
get
attributes
(
)
:
IGFXAttribute
[]
Returns
IGFXAttribute
[]
blocks
get
blocks
(
)
:
GFXUniformBlock
[]
Returns
GFXUniformBlock
[]
gfx
Type
get
gfxType
(
)
:
GFXObjectType
Returns
GFXObjectType
id
get
id
(
)
:
number
着色器 id。
Returns
number
name
get
name
(
)
:
string
着色器名称。
Returns
string
samplers
get
samplers
(
)
:
GFXUniformSampler
[]
Returns
GFXUniformSampler
[]
Methods
Abstract
destroy
destroy
(
)
:
void
Returns
void
Abstract
initialize
initialize
(
info
:
GFXShaderInfo
)
:
boolean
Parameters
info:
GFXShaderInfo
Returns
boolean
Globals
cocos\core\gfx
GFXShader
constructor
_attributes
_blocks
_device
_gfx
Type
_id
_name
_samplers
_stages
attributes
blocks
gfx
Type
id
name
samplers
destroy
initialize
Generated using
TypeDoc
GFX 着色器。