Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 1.2
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gfx
GFXSamplerState
Class GFXSamplerState
GFX 采样器状态。
Hierarchy
GFXSamplerState
Index
Properties
addressU
addressV
addressW
cmp
Func
mag
Filter
max
Anisotropy
maxLOD
min
Filter
minLOD
mip
Filter
mipLODBias
name
Methods
compare
Object literals
border
Color
Properties
addressU
addressU
:
GFXAddress
= GFXAddress.WRAP
addressV
addressV
:
GFXAddress
= GFXAddress.WRAP
addressW
addressW
:
GFXAddress
= GFXAddress.WRAP
cmp
Func
cmp
Func
:
GFXComparisonFunc
= GFXComparisonFunc.NEVER
mag
Filter
mag
Filter
:
GFXFilter
= GFXFilter.LINEAR
max
Anisotropy
max
Anisotropy
:
number
= 16
maxLOD
maxLOD
:
number
= 0
min
Filter
min
Filter
:
GFXFilter
= GFXFilter.LINEAR
minLOD
minLOD
:
number
= 0
mip
Filter
mip
Filter
:
GFXFilter
= GFXFilter.NONE
mipLODBias
mipLODBias
:
number
= 0
name
name
:
string
= ""
Methods
compare
compare
(
state
:
GFXSamplerState
)
:
boolean
Parameters
state:
GFXSamplerState
Returns
boolean
Object literals
border
Color
border
Color
:
object
a
a
:
number
= 0
b
b
:
number
= 0
g
g
:
number
= 0
r
r
:
number
= 0
Globals
gfx
GFXSampler
State
addressU
addressV
addressW
cmp
Func
mag
Filter
max
Anisotropy
maxLOD
min
Filter
minLOD
mip
Filter
mipLODBias
name
compare
border
Color
Generated using
TypeDoc
GFX 采样器状态。