Back to class index
IndexBuffer
[Class Summary]
indexData
indexDataBytes
numIndices
gpuIndexDataBytes
indexType
primType
indexBuffer
name
ctor
~dtor
ctor
operator=
(
rhs
)
Create
(
...
)
(+1 overload)
Deinit
(
)
SetIndex
(
n,vertexIndex
)
GetIndex
(
n
)
[const]
GetPointer
(
n
)
(+1 overload)
GetOffset
(
n
)
[const]
AllocateCpuMemory
(
)
AllocateGpuMemory
(
)
UpdateToGpu
(
)
HasCpuMemory
(
)
[const]
CpuSizeBytes
(
)
[const]
HasGpuMemory
(
)
[const]
GpuSizeBytes
(
)
[const]
FreeCpuMemory
(
)
FreeGpuMemory
(
)
CpuPtr
(
)
(+1 overload)
SetNumIndices
(
size
)
NumIndices
(
)
[const]
NumPrimitives
(
)
[const]
UsedSizeBytes
(
)
[const]
IndexSizeBytes
(
)
[const]
SaveToFile
(
handle
)
LoadFromFile
(
...
)
OptimizeForVertexCaches
(
)
CompressIndices
(
allow8BitIndices
)
Name
(
)
[const]
NumIndicesNeededToRenderNPrimitives
(
...
)
[static]
NumPrimivivesFromNIndices
(
...
)
[static]
IndexBuffer::SetNumIndices
Syntax
void
IndexBuffer::SetNumIndices(
int
size);
Reallocates this index buffer to the given number of elements.
The old data is lost.
Leave a Comment
Name:
Comments:
Captcha:
Type in the
black
symbols:
Back to class index