Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.1
Version: 1.0
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
Protected
_gfx
Type
_gfx
Type
:
GFXObjectType
= GFXObjectType.UNKNOWN
Protected
_state
_state
:
GFXSamplerState
= new GFXSamplerState()
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
Returns
boolean
Globals
gfx
GFXSampler
constructor
_device
_gfx
Type
_state
_status
gfx
Type
state
status
destroy
initialize
Generated using
TypeDoc
GFX 采样器。