Documentation ¶
Index ¶
- Constants
- func Memcpy(dst, src unsafe.Pointer, n int) int
- type Address
- type Device
- func (d *Device) Allocate(key string, size int, kind MemoryType) *Memory
- func (d *Device) Destroy()
- func (d *Device) GetBufferAddress(buffer core1_0.Buffer) (Address, error)
- func (d *Device) GetDepthFormat() core1_0.Format
- func (d *Device) GetFormatProperties(format core1_0.Format) *core1_0.FormatProperties
- func (d *Device) GetLimits() core1_0.PhysicalDeviceLimits
- func (d *Device) Physical() core1_0.PhysicalDevice
- func (d *Device) Ptr() core1_0.Device
- func (d *Device) Queue() Queue
- func (d *Device) SetDebugObjectName(handle driver.VulkanHandle, objType core1_0.ObjectType, name string)
- func (d *Device) WaitIdle()
- type Memory
- type MemoryType
- type Queue
- type Resource
Constants ¶
View Source
const InvalidAddress = Address(0)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) GetBufferAddress ¶
func (*Device) GetDepthFormat ¶
func (*Device) GetFormatProperties ¶
func (d *Device) GetFormatProperties(format core1_0.Format) *core1_0.FormatProperties
func (*Device) GetLimits ¶
func (d *Device) GetLimits() core1_0.PhysicalDeviceLimits
func (*Device) Physical ¶
func (d *Device) Physical() core1_0.PhysicalDevice
func (*Device) SetDebugObjectName ¶
func (d *Device) SetDebugObjectName(handle driver.VulkanHandle, objType core1_0.ObjectType, name string)
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func (*Memory) Invalidate ¶
func (m *Memory) Invalidate()
func (*Memory) Ptr ¶
func (m *Memory) Ptr() core1_0.DeviceMemory
type MemoryType ¶
type MemoryType int
const ( MemoryTypeGPU MemoryType = 1 MemoryTypeCPU MemoryType = 3 MemoryTypeTexture MemoryType = 4 )
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (Queue) FamilyIndex ¶
Click to show internal directories.
Click to hide internal directories.