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
GFXSampler
Class GFXSampler
GFX sampler.
Hierarchy
GFXObject
GFXSampler
Index
Constructors
constructor
Properties
_device
_gfx
Type
_state
Accessors
gfx
Type
state
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()
Accessors
gfx
Type
get
gfxType
(
)
:
GFXObjectType
Returns
GFXObjectType
state
get
state
(
)
:
GFXSamplerState
Get current sampler state.
Returns
GFXSamplerState
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
gfx
Type
state
destroy
initialize
Generated using
TypeDoc
GFX sampler.