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
GFXTextureView
Class GFXTextureView
GFX 纹理视图。
Hierarchy
GFXObject
GFXTextureView
Index
Constructors
constructor
Properties
_base
Layer
_base
Level
_device
_format
_gfx
Type
_layer
Count
_level
Count
_status
_texture
_type
Accessors
base
Layer
base
Level
format
gfx
Type
layer
Count
level
Count
status
texture
type
Methods
destroy
initialize
Constructors
constructor
newGFXTexture
View
(
device
:
GFXDevice
)
:
GFXTextureView
Parameters
device:
GFXDevice
Returns
GFXTextureView
Properties
Protected
_base
Layer
_base
Layer
:
number
= 0
Protected
_base
Level
_base
Level
:
number
= 0
Protected
_device
_device
:
GFXDevice
Protected
_format
_format
:
GFXFormat
= GFXFormat.UNKNOWN
Protected
_gfx
Type
_gfx
Type
:
GFXObjectType
= GFXObjectType.UNKNOWN
Protected
_layer
Count
_layer
Count
:
number
= 1
Protected
_level
Count
_level
Count
:
number
= 1
Protected
_status
_status
:
GFXStatus
= GFXStatus.UNREADY
Protected
_texture
_texture
:
GFXTexture
|
null
= null
Protected
_type
_type
:
GFXTextureViewType
= GFXTextureViewType.TV2D
Accessors
base
Layer
get
baseLayer
(
)
:
number
纹理视图基础图层。
Returns
number
base
Level
get
baseLevel
(
)
:
number
纹理视图基础层级。
Returns
number
format
get
format
(
)
:
GFXFormat
纹理视图格式。
Returns
GFXFormat
gfx
Type
get
gfxType
(
)
:
GFXObjectType
Returns
GFXObjectType
layer
Count
get
layerCount
(
)
:
number
纹理视图图层数量。
Returns
number
level
Count
get
levelCount
(
)
:
number
纹理视图层级数量。
Returns
number
status
get
status
(
)
:
GFXStatus
Returns
GFXStatus
texture
get
texture
(
)
:
GFXTexture
GFX 纹理。
Returns
GFXTexture
type
get
type
(
)
:
GFXTextureViewType
纹理视图类型。
Returns
GFXTextureViewType
Methods
Abstract
destroy
destroy
(
)
:
void
Returns
void
Abstract
initialize
initialize
(
info
:
IGFXTextureViewInfo
)
:
boolean
Parameters
info:
IGFXTextureViewInfo
Returns
boolean
Globals
gfx
GFXTexture
View
constructor
_base
Layer
_base
Level
_device
_format
_gfx
Type
_layer
Count
_level
Count
_status
_texture
_type
base
Layer
base
Level
format
gfx
Type
layer
Count
level
Count
status
texture
type
destroy
initialize
Generated using
TypeDoc
GFX 纹理视图。