osg.DrawElementsUShort¶
- class osg.DrawElementsUShort¶
- Represents
c++ class
- Wraps
osg::DrawElementsUShort
- Bases
Constructors:
- osg.DrawElementsUShort(osg.PrimitiveSet.Mode mode)¶
-
- Параметры
mode (
osg.PrimitiveSet.Mode
) –
- osg.DrawElementsUShort(osg.PrimitiveSet.Mode mode, unsigned size)
-
- Параметры
mode (
osg.PrimitiveSet.Mode
) –size (
unsigned
) –
Methods:
- :setElement(unsigned i, unsigned v)¶
-
- Параметры
i (
unsigned
) –v (
unsigned
) –
- :getElement(unsigned i)¶
-
- Параметры
i (
unsigned
) –- Тип результата
unsigned
- :addElement(unsigned v)¶
-
- Параметры
v (
unsigned
) –
- :reserveElements(unsigned numIndices)¶
-
- Параметры
numIndices (
unsigned
) –
- :resizeElements(unsigned numIndices)¶
-
- Параметры
numIndices (
unsigned
) –