Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDescriptorPools = []core1_0.DescriptorPoolSize{ { Type: core1_0.DescriptorTypeUniformBuffer, DescriptorCount: 10000, }, { Type: core1_0.DescriptorTypeStorageBuffer, DescriptorCount: 10000, }, { Type: core1_0.DescriptorTypeCombinedImageSampler, DescriptorCount: 100000, }, { Type: core1_0.DescriptorTypeInputAttachment, DescriptorCount: 1000, }, }
Functions ¶
Types ¶
type App ¶
type ResizeHandler ¶
type ResizeHandler func(width, height int)
type Target ¶
type Target interface { Size() TargetSize Scale() float32 Width() int Height() int Frames() int Surfaces() []image.T SurfaceFormat() core1_0.Format Aquire() (*swapchain.Context, error) Present(command.Worker, *swapchain.Context) Destroy() }
func NewColorTarget ¶
func NewDepthTarget ¶
func NewDepthTarget(device device.T, key string, size TargetSize) Target
func NewRenderTarget ¶
func NewRenderTarget(device device.T, key string, format core1_0.Format, usage core1_0.ImageUsageFlags, size TargetSize) (Target, error)
Click to show internal directories.
Click to hide internal directories.