sf.VertexBuffer – sfml Reference Manual
Packages
sfml
sf
VertexBuffer
VertexBuffer
bind
copy
draw
getNativeHandle
getPrimitiveType
getUsage
getVertexCount
isAvailable
setPrimitiveType
setUsage
swap
update
updateFromVertexBuffer
VertexBuffer
Object Hierarchy:
Description:
[
Compact
]
[
CCode
( copy_function =
"sfVertexBuffer_copy"
, cprefix =
"sfVertexBuffer_"
, free_function =
"sfVertexBuffer_destroy"
) ]
public
class
VertexBuffer
Namespace:
sf
Package:
sfml
Content:
Creation methods:
public
VertexBuffer
(
uint
vertexCount,
PrimitiveType
type,
VertexBufferUsage
usage)
Methods:
public
void
bind
()
public
VertexBuffer
copy
()
public
void
draw
(
RenderWindow
window,
RenderStates
? state =
null
)
public
uint
getNativeHandle
()
public
PrimitiveType
getPrimitiveType
()
public
VertexBufferUsage
getUsage
()
public
uint
getVertexCount
()
public
bool
isAvailable
()
public
void
setPrimitiveType
(
PrimitiveType
type)
public
void
setUsage
(
VertexBufferUsage
usage)
public
void
swap
(
VertexBuffer
source)
public
bool
update
(
Vertex
vertices,
uint
vertexCount,
uint
offset)
public
bool
updateFromVertexBuffer
(
VertexBuffer
other)