Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
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
GFXSampler
Class GFXSampler
GFX采样器。
Hierarchy
GFXObject
GFXSampler
Index
Constructors
constructor
Properties
_device
_gfx
Type
_state
_status
Accessors
gfx
Type
state
status
Methods
destroy
initialize
Constructors
constructor
newGFXSampler
(
device
:
GFXDevice
)
:
GFXSampler
构造函数。
Parameters
device:
GFXDevice
Returns
GFXSampler
Properties
Protected
_device
_device
:
GFXDevice
GFX设备。
Protected
_gfx
Type
_gfx
Type
:
GFXObjectType
= GFXObjectType.UNKNOWN
对象类型。
Protected
_state
_state
:
GFXSamplerState
= new GFXSamplerState()
GFX采样器状态。
Protected
_status
_status
:
GFXStatus
= GFXStatus.UNREADY
对象状态。
Accessors
gfx
Type
get
gfxType
(
)
:
GFXObjectType
Returns
GFXObjectType
state
get
state
(
)
:
GFXSamplerState
GFX采样器状态。
Returns
GFXSamplerState
status
get
status
(
)
:
GFXStatus
Returns
GFXStatus
Methods
Abstract
destroy
destroy
(
)
:
void
销毁函数。
Returns
void
Abstract
initialize
initialize
(
info
:
IGFXSamplerInfo
)
:
boolean
初始化函数。
Parameters
info:
IGFXSamplerInfo
GFX采样器描述信息。
Returns
boolean
Globals
gfx
GFXSampler
constructor
_device
_gfx
Type
_state
_status
gfx
Type
state
status
destroy
initialize
Generated using
TypeDoc
GFX采样器。