Property | Defined By | ||
---|---|---|---|
_conchVertexDeclaration : * | VertexDeclaration | ||
id : int [read-only]
获取唯一标识ID(通常用于优化或识别)。
| VertexDeclaration | ||
shaderDefineValue : int [read-only] | VertexDeclaration | ||
shaderValues : ValusArray [read-only] | VertexDeclaration | ||
vertexStride : int [read-only] | VertexDeclaration |
Method | Defined By | ||
---|---|---|---|
VertexDeclaration(vertexStride:int, vertexElements:Array) | VertexDeclaration | ||
_addShaderDefine(value:int):void
增加Shader宏定义。
| VertexDeclaration | ||
getVertexElementByUsage(usage:int):VertexElement | VertexDeclaration | ||
getVertexElements():Array | VertexDeclaration | ||
getVertexStride(vertexElements:Array):int [static] | VertexDeclaration | ||
unBinding():void | VertexDeclaration |
Method | Defined By | ||
---|---|---|---|
_removeShaderDefine(value:int):void
移除Shader宏定义。
| VertexDeclaration |
Constant | Defined By | ||
---|---|---|---|
maxVertexDeclaration : int [static] | VertexDeclaration | ||
_maxVertexDeclarationBit : int = 1000 [static] | VertexDeclaration |
_conchVertexDeclaration | property |
public var _conchVertexDeclaration:*
id | property |
id:int
[read-only] 获取唯一标识ID(通常用于优化或识别)。
public function get id():int
shaderDefineValue | property |
shaderDefineValue:int
[read-only] public function get shaderDefineValue():int
shaderValues | property |
shaderValues:ValusArray
[read-only] public function get shaderValues():ValusArray
vertexStride | property |
vertexStride:int
[read-only] public function get vertexStride():int
VertexDeclaration | () | Constructor |
public function VertexDeclaration(vertexStride:int, vertexElements:Array)
vertexStride:int | |
vertexElements:Array |
_addShaderDefine | () | method |
public function _addShaderDefine(value:int):void
增加Shader宏定义。
Parameters
value:int — 宏定义。
|
_removeShaderDefine | () | method |
protected function _removeShaderDefine(value:int):void
移除Shader宏定义。
Parameters
value:int — 宏定义。
|
getVertexElementByUsage | () | method |
public function getVertexElementByUsage(usage:int):VertexElement
Parameters
usage:int |
VertexElement |
getVertexElements | () | method |
public function getVertexElements():Array
ReturnsArray |
getVertexStride | () | method |
public static function getVertexStride(vertexElements:Array):int
Parameters
vertexElements:Array |
int |
unBinding | () | method |
public function unBinding():void
_maxVertexDeclarationBit | Constant |
public static const _maxVertexDeclarationBit:int = 1000
maxVertexDeclaration | Constant |
public static const maxVertexDeclaration:int