Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
func NewStaticArrayBuffer ¶
func NewStaticArrayBuffer(data interface{}) Buffer
type DynamicBuffer ¶
type DynamicBuffer struct { Buffer // contains filtered or unexported fields }
func NewDynamicArrayBuffer ¶
func NewDynamicArrayBuffer(data IDynamicBufferData) DynamicBuffer
func (*DynamicBuffer) Set ¶
func (buffer *DynamicBuffer) Set(data IDynamicBufferData)
func (*DynamicBuffer) Sync ¶
func (buffer *DynamicBuffer) Sync()
type DynamicBufferData ¶
type DynamicBufferData struct {
// contains filtered or unexported fields
}
func (*DynamicBufferData) IsSync ¶
func (data *DynamicBufferData) IsSync() bool
func (*DynamicBufferData) SetIsSync ¶
func (data *DynamicBufferData) SetIsSync(val bool)
type IDynamicBufferData ¶
type ShaderStorageBuffer ¶
type ShaderStorageBuffer struct { DynamicBuffer // contains filtered or unexported fields }
func NewShaderStorageBuffer ¶
func NewShaderStorageBuffer(data IDynamicBufferData, binding uint32) ShaderStorageBuffer
func (*ShaderStorageBuffer) GetBinding ¶
func (buffer *ShaderStorageBuffer) GetBinding() uint32
type UniformBuffer ¶
type UniformBuffer struct { DynamicBuffer // contains filtered or unexported fields }
func NewUniformBuffer ¶
func NewUniformBuffer(data IDynamicBufferData, binding uint32) UniformBuffer
func (*UniformBuffer) GetBinding ¶
func (buffer *UniformBuffer) GetBinding() uint32
Source Files ¶
Click to show internal directories.
Click to hide internal directories.