Documentation ¶
Overview ¶
Package mock_descriptor_update_template is a generated GoMock package.
Package mock_descriptor_update_template is a generated GoMock package.
Package mock_descriptor_update_template is a generated GoMock package.
Index ¶
- func NewFakeDescriptorTemplate() khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateKHR
- type MockDescriptorUpdateTemplate
- func (m *MockDescriptorUpdateTemplate) APIVersion() common.APIVersion
- func (m *MockDescriptorUpdateTemplate) Destroy(allocator *driver.AllocationCallbacks)
- func (m *MockDescriptorUpdateTemplate) DeviceHandle() driver.VkDevice
- func (m *MockDescriptorUpdateTemplate) Driver() driver.Driver
- func (m *MockDescriptorUpdateTemplate) EXPECT() *MockDescriptorUpdateTemplateMockRecorder
- func (m *MockDescriptorUpdateTemplate) Handle() khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateKHR
- func (m *MockDescriptorUpdateTemplate) UpdateDescriptorSetFromBuffer(descriptorSet core1_0.DescriptorSet, data core1_0.DescriptorBufferInfo)
- func (m *MockDescriptorUpdateTemplate) UpdateDescriptorSetFromImage(descriptorSet core1_0.DescriptorSet, data core1_0.DescriptorImageInfo)
- func (m *MockDescriptorUpdateTemplate) UpdateDescriptorSetFromObjectHandle(descriptorSet core1_0.DescriptorSet, data driver.VulkanHandle)
- type MockDescriptorUpdateTemplateMockRecorder
- func (mr *MockDescriptorUpdateTemplateMockRecorder) APIVersion() *gomock.Call
- func (mr *MockDescriptorUpdateTemplateMockRecorder) Destroy(allocator interface{}) *gomock.Call
- func (mr *MockDescriptorUpdateTemplateMockRecorder) DeviceHandle() *gomock.Call
- func (mr *MockDescriptorUpdateTemplateMockRecorder) Driver() *gomock.Call
- func (mr *MockDescriptorUpdateTemplateMockRecorder) Handle() *gomock.Call
- func (mr *MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromBuffer(descriptorSet, data interface{}) *gomock.Call
- func (mr *MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromImage(descriptorSet, data interface{}) *gomock.Call
- func (mr *MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromObjectHandle(descriptorSet, data interface{}) *gomock.Call
- type MockDriver
- func (m *MockDriver) EXPECT() *MockDriverMockRecorder
- func (m *MockDriver) VkCmdPushDescriptorSetWithTemplateKHR(commandBuffer driver.VkCommandBuffer, ...)
- func (m *MockDriver) VkCreateDescriptorUpdateTemplateKHR(device driver.VkDevice, ...) (common.VkResult, error)
- func (m *MockDriver) VkDestroyDescriptorUpdateTemplateKHR(device driver.VkDevice, ...)
- func (m *MockDriver) VkUpdateDescriptorSetWithTemplateKHR(device driver.VkDevice, descriptorSet driver.VkDescriptorSet, ...)
- type MockDriverMockRecorder
- func (mr *MockDriverMockRecorder) VkCmdPushDescriptorSetWithTemplateKHR(commandBuffer, descriptorUpdateTemplate, layout, set, pData interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) VkCreateDescriptorUpdateTemplateKHR(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) VkDestroyDescriptorUpdateTemplateKHR(device, descriptorUpdateTemplate, pAllocator interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) VkUpdateDescriptorSetWithTemplateKHR(device, descriptorSet, descriptorUpdateTemplate, pData interface{}) *gomock.Call
- type MockExtension
- type MockExtensionMockRecorder
- type MockShim
- type MockShimMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeDescriptorTemplate ¶
func NewFakeDescriptorTemplate() khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateKHR
Types ¶
type MockDescriptorUpdateTemplate ¶
type MockDescriptorUpdateTemplate struct {
// contains filtered or unexported fields
}
MockDescriptorUpdateTemplate is a mock of DescriptorUpdateTemplate interface.
func EasyMockDescriptorTemplate ¶
func EasyMockDescriptorTemplate(ctrl *gomock.Controller) *MockDescriptorUpdateTemplate
func NewMockDescriptorUpdateTemplate ¶
func NewMockDescriptorUpdateTemplate(ctrl *gomock.Controller) *MockDescriptorUpdateTemplate
NewMockDescriptorUpdateTemplate creates a new mock instance.
func (*MockDescriptorUpdateTemplate) APIVersion ¶ added in v2.1.0
func (m *MockDescriptorUpdateTemplate) APIVersion() common.APIVersion
APIVersion mocks base method.
func (*MockDescriptorUpdateTemplate) Destroy ¶
func (m *MockDescriptorUpdateTemplate) Destroy(allocator *driver.AllocationCallbacks)
Destroy mocks base method.
func (*MockDescriptorUpdateTemplate) DeviceHandle ¶ added in v2.1.0
func (m *MockDescriptorUpdateTemplate) DeviceHandle() driver.VkDevice
DeviceHandle mocks base method.
func (*MockDescriptorUpdateTemplate) Driver ¶ added in v2.1.0
func (m *MockDescriptorUpdateTemplate) Driver() driver.Driver
Driver mocks base method.
func (*MockDescriptorUpdateTemplate) EXPECT ¶
func (m *MockDescriptorUpdateTemplate) EXPECT() *MockDescriptorUpdateTemplateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDescriptorUpdateTemplate) Handle ¶
func (m *MockDescriptorUpdateTemplate) Handle() khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateKHR
Handle mocks base method.
func (*MockDescriptorUpdateTemplate) UpdateDescriptorSetFromBuffer ¶
func (m *MockDescriptorUpdateTemplate) UpdateDescriptorSetFromBuffer(descriptorSet core1_0.DescriptorSet, data core1_0.DescriptorBufferInfo)
UpdateDescriptorSetFromBuffer mocks base method.
func (*MockDescriptorUpdateTemplate) UpdateDescriptorSetFromImage ¶
func (m *MockDescriptorUpdateTemplate) UpdateDescriptorSetFromImage(descriptorSet core1_0.DescriptorSet, data core1_0.DescriptorImageInfo)
UpdateDescriptorSetFromImage mocks base method.
func (*MockDescriptorUpdateTemplate) UpdateDescriptorSetFromObjectHandle ¶
func (m *MockDescriptorUpdateTemplate) UpdateDescriptorSetFromObjectHandle(descriptorSet core1_0.DescriptorSet, data driver.VulkanHandle)
UpdateDescriptorSetFromObjectHandle mocks base method.
type MockDescriptorUpdateTemplateMockRecorder ¶
type MockDescriptorUpdateTemplateMockRecorder struct {
// contains filtered or unexported fields
}
MockDescriptorUpdateTemplateMockRecorder is the mock recorder for MockDescriptorUpdateTemplate.
func (*MockDescriptorUpdateTemplateMockRecorder) APIVersion ¶ added in v2.1.0
func (mr *MockDescriptorUpdateTemplateMockRecorder) APIVersion() *gomock.Call
APIVersion indicates an expected call of APIVersion.
func (*MockDescriptorUpdateTemplateMockRecorder) Destroy ¶
func (mr *MockDescriptorUpdateTemplateMockRecorder) Destroy(allocator interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockDescriptorUpdateTemplateMockRecorder) DeviceHandle ¶ added in v2.1.0
func (mr *MockDescriptorUpdateTemplateMockRecorder) DeviceHandle() *gomock.Call
DeviceHandle indicates an expected call of DeviceHandle.
func (*MockDescriptorUpdateTemplateMockRecorder) Driver ¶ added in v2.1.0
func (mr *MockDescriptorUpdateTemplateMockRecorder) Driver() *gomock.Call
Driver indicates an expected call of Driver.
func (*MockDescriptorUpdateTemplateMockRecorder) Handle ¶
func (mr *MockDescriptorUpdateTemplateMockRecorder) Handle() *gomock.Call
Handle indicates an expected call of Handle.
func (*MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromBuffer ¶
func (mr *MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromBuffer(descriptorSet, data interface{}) *gomock.Call
UpdateDescriptorSetFromBuffer indicates an expected call of UpdateDescriptorSetFromBuffer.
func (*MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromImage ¶
func (mr *MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromImage(descriptorSet, data interface{}) *gomock.Call
UpdateDescriptorSetFromImage indicates an expected call of UpdateDescriptorSetFromImage.
func (*MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromObjectHandle ¶
func (mr *MockDescriptorUpdateTemplateMockRecorder) UpdateDescriptorSetFromObjectHandle(descriptorSet, data interface{}) *gomock.Call
UpdateDescriptorSetFromObjectHandle indicates an expected call of UpdateDescriptorSetFromObjectHandle.
type MockDriver ¶
type MockDriver struct {
// contains filtered or unexported fields
}
MockDriver is a mock of Driver interface.
func NewMockDriver ¶
func NewMockDriver(ctrl *gomock.Controller) *MockDriver
NewMockDriver creates a new mock instance.
func (*MockDriver) EXPECT ¶
func (m *MockDriver) EXPECT() *MockDriverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDriver) VkCmdPushDescriptorSetWithTemplateKHR ¶
func (m *MockDriver) VkCmdPushDescriptorSetWithTemplateKHR(commandBuffer driver.VkCommandBuffer, descriptorUpdateTemplate khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateKHR, layout driver.VkPipelineLayout, set driver.Uint32, pData unsafe.Pointer)
VkCmdPushDescriptorSetWithTemplateKHR mocks base method.
func (*MockDriver) VkCreateDescriptorUpdateTemplateKHR ¶
func (m *MockDriver) VkCreateDescriptorUpdateTemplateKHR(device driver.VkDevice, pCreateInfo *khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateCreateInfoKHR, pAllocator *driver.VkAllocationCallbacks, pDescriptorUpdateTemplate *khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateKHR) (common.VkResult, error)
VkCreateDescriptorUpdateTemplateKHR mocks base method.
func (*MockDriver) VkDestroyDescriptorUpdateTemplateKHR ¶
func (m *MockDriver) VkDestroyDescriptorUpdateTemplateKHR(device driver.VkDevice, descriptorUpdateTemplate khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateKHR, pAllocator *driver.VkAllocationCallbacks)
VkDestroyDescriptorUpdateTemplateKHR mocks base method.
func (*MockDriver) VkUpdateDescriptorSetWithTemplateKHR ¶
func (m *MockDriver) VkUpdateDescriptorSetWithTemplateKHR(device driver.VkDevice, descriptorSet driver.VkDescriptorSet, descriptorUpdateTemplate khr_descriptor_update_template_driver.VkDescriptorUpdateTemplateKHR, pData unsafe.Pointer)
VkUpdateDescriptorSetWithTemplateKHR mocks base method.
type MockDriverMockRecorder ¶
type MockDriverMockRecorder struct {
// contains filtered or unexported fields
}
MockDriverMockRecorder is the mock recorder for MockDriver.
func (*MockDriverMockRecorder) VkCmdPushDescriptorSetWithTemplateKHR ¶
func (mr *MockDriverMockRecorder) VkCmdPushDescriptorSetWithTemplateKHR(commandBuffer, descriptorUpdateTemplate, layout, set, pData interface{}) *gomock.Call
VkCmdPushDescriptorSetWithTemplateKHR indicates an expected call of VkCmdPushDescriptorSetWithTemplateKHR.
func (*MockDriverMockRecorder) VkCreateDescriptorUpdateTemplateKHR ¶
func (mr *MockDriverMockRecorder) VkCreateDescriptorUpdateTemplateKHR(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate interface{}) *gomock.Call
VkCreateDescriptorUpdateTemplateKHR indicates an expected call of VkCreateDescriptorUpdateTemplateKHR.
func (*MockDriverMockRecorder) VkDestroyDescriptorUpdateTemplateKHR ¶
func (mr *MockDriverMockRecorder) VkDestroyDescriptorUpdateTemplateKHR(device, descriptorUpdateTemplate, pAllocator interface{}) *gomock.Call
VkDestroyDescriptorUpdateTemplateKHR indicates an expected call of VkDestroyDescriptorUpdateTemplateKHR.
func (*MockDriverMockRecorder) VkUpdateDescriptorSetWithTemplateKHR ¶
func (mr *MockDriverMockRecorder) VkUpdateDescriptorSetWithTemplateKHR(device, descriptorSet, descriptorUpdateTemplate, pData interface{}) *gomock.Call
VkUpdateDescriptorSetWithTemplateKHR indicates an expected call of VkUpdateDescriptorSetWithTemplateKHR.
type MockExtension ¶
type MockExtension struct {
// contains filtered or unexported fields
}
MockExtension is a mock of Extension interface.
func NewMockExtension ¶
func NewMockExtension(ctrl *gomock.Controller) *MockExtension
NewMockExtension creates a new mock instance.
func (*MockExtension) CreateDescriptorUpdateTemplate ¶
func (m *MockExtension) CreateDescriptorUpdateTemplate(device core1_0.Device, o khr_descriptor_update_template.DescriptorUpdateTemplateCreateInfo, allocator *driver.AllocationCallbacks) (khr_descriptor_update_template.DescriptorUpdateTemplate, common.VkResult, error)
CreateDescriptorUpdateTemplate mocks base method.
func (*MockExtension) EXPECT ¶
func (m *MockExtension) EXPECT() *MockExtensionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockExtensionMockRecorder ¶
type MockExtensionMockRecorder struct {
// contains filtered or unexported fields
}
MockExtensionMockRecorder is the mock recorder for MockExtension.
func (*MockExtensionMockRecorder) CreateDescriptorUpdateTemplate ¶
func (mr *MockExtensionMockRecorder) CreateDescriptorUpdateTemplate(device, o, allocator interface{}) *gomock.Call
CreateDescriptorUpdateTemplate indicates an expected call of CreateDescriptorUpdateTemplate.
type MockShim ¶ added in v2.1.0
type MockShim struct {
// contains filtered or unexported fields
}
MockShim is a mock of Shim interface.
func NewMockShim ¶ added in v2.1.0
func NewMockShim(ctrl *gomock.Controller) *MockShim
NewMockShim creates a new mock instance.
func (*MockShim) CreateDescriptorUpdateTemplate ¶ added in v2.1.0
func (m *MockShim) CreateDescriptorUpdateTemplate(o core1_1.DescriptorUpdateTemplateCreateInfo, allocator *driver.AllocationCallbacks) (core1_1.DescriptorUpdateTemplate, driver.VkResult, error)
CreateDescriptorUpdateTemplate mocks base method.
func (*MockShim) EXPECT ¶ added in v2.1.0
func (m *MockShim) EXPECT() *MockShimMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockShimMockRecorder ¶ added in v2.1.0
type MockShimMockRecorder struct {
// contains filtered or unexported fields
}
MockShimMockRecorder is the mock recorder for MockShim.
func (*MockShimMockRecorder) CreateDescriptorUpdateTemplate ¶ added in v2.1.0
func (mr *MockShimMockRecorder) CreateDescriptorUpdateTemplate(o, allocator interface{}) *gomock.Call
CreateDescriptorUpdateTemplate indicates an expected call of CreateDescriptorUpdateTemplate.