Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlendAdditive = Blend{ Enabled: true, Color: BlendOp{ Operation: core1_0.BlendOpAdd, SrcFactor: core1_0.BlendFactorOne, DstFactor: core1_0.BlendFactorOne, }, Alpha: BlendOp{ Operation: core1_0.BlendOpAdd, SrcFactor: core1_0.BlendFactorOne, DstFactor: core1_0.BlendFactorZero, }, }
View Source
var BlendMix = Blend{ Enabled: true, Color: BlendOp{ Operation: core1_0.BlendOpAdd, SrcFactor: core1_0.BlendFactorSrcAlpha, DstFactor: core1_0.BlendFactorOneMinusSrcAlpha, }, Alpha: BlendOp{ Operation: core1_0.BlendOpAdd, SrcFactor: core1_0.BlendFactorOne, DstFactor: core1_0.BlendFactorZero, }, }
View Source
var BlendMultiply = Blend{ Enabled: true, Color: BlendOp{ Operation: core1_0.BlendOpAdd, SrcFactor: core1_0.BlendFactorSrcAlpha, DstFactor: core1_0.BlendFactorOneMinusSrcAlpha, }, Alpha: BlendOp{ Operation: core1_0.BlendOpAdd, SrcFactor: core1_0.BlendFactorSrcAlpha, DstFactor: core1_0.BlendFactorOneMinusSrcAlpha, }, }
View Source
var ErrArrayExhausted = errors.New("image array allocator exhausted")
Functions ¶
This section is empty.
Types ¶
type BlendOp ¶
type BlendOp struct { Operation core1_0.BlendOp SrcFactor core1_0.BlendFactor DstFactor core1_0.BlendFactor }
type Color ¶
type Color struct { Name Name Samples core1_0.SampleCountFlags LoadOp core1_0.AttachmentLoadOp StoreOp core1_0.AttachmentStoreOp InitialLayout core1_0.ImageLayout FinalLayout core1_0.ImageLayout Clear color.T Image Image Blend Blend }
type Depth ¶
type Depth struct { Samples core1_0.SampleCountFlags LoadOp core1_0.AttachmentLoadOp StoreOp core1_0.AttachmentStoreOp StencilLoadOp core1_0.AttachmentLoadOp StencilStoreOp core1_0.AttachmentStoreOp InitialLayout core1_0.ImageLayout FinalLayout core1_0.ImageLayout ClearDepth float32 ClearStencil uint32 // Allocation strategy. Defaults to allocating new images. Image Image }
Click to show internal directories.
Click to hide internal directories.