Documentation
¶
Index ¶
Constants ¶
View Source
const InvalidID = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPlayground ¶
type Float32DataPlayground ¶
type Float32DataPlayground interface {
DataPlayground
PutFloat32(index int, value float32)
Count() int
}
func DedicatedFloat32DataPlayground ¶
func DedicatedFloat32DataPlayground(count int) Float32DataPlayground
type Float32DataWriter ¶
type Float32DataWriter interface {
PutValue(value float32)
PutValue2(a, b float32)
PutValue3(a, b, c float32)
PutValue4(a, b, c, d float32)
}
func NewFloat32DataWriter ¶
func NewFloat32DataWriter(playground Float32DataPlayground, offset, stride int) Float32DataWriter
type IndexBuffer ¶
type IndexBuffer struct {
Buffer
}
func NewIndexBuffer ¶
func NewIndexBuffer() *IndexBuffer
func (*IndexBuffer) Bind ¶
func (b *IndexBuffer) Bind()
func (*IndexBuffer) CreateData ¶
func (b *IndexBuffer) CreateData(playground DataPlayground)
type UInt16DataPlayground ¶
type UInt16DataPlayground interface {
DataPlayground
PutUInt16(index int, value uint16)
Count() int
}
func DedicatedUInt16DataPlayground ¶
func DedicatedUInt16DataPlayground(count int) UInt16DataPlayground
type UInt16DataWriter ¶
type UInt16DataWriter interface {
PutValue(value uint16)
}
func NewUInt16DataWriter ¶
func NewUInt16DataWriter(playground UInt16DataPlayground, stride int) UInt16DataWriter
type VertexBuffer ¶
type VertexBuffer struct {
Buffer
}
func NewVertexBuffer ¶
func NewVertexBuffer() *VertexBuffer
func (*VertexBuffer) Bind ¶
func (b *VertexBuffer) Bind()
func (*VertexBuffer) CreateData ¶
func (b *VertexBuffer) CreateData(playground DataPlayground)
Click to show internal directories.
Click to hide internal directories.