Add bindings for vertexLinkedFunctions

This commit is contained in:
Tohei Ichikawa
2025-08-07 00:25:36 -04:00
parent a492fa7bc2
commit 5a998d44d4

View File

@@ -2767,6 +2767,10 @@ RenderPipelineDescriptor_fragmentBuffers :: #force_inline proc "c" (self: ^Rende
RenderPipelineDescriptor_fragmentFunction :: #force_inline proc "c" (self: ^RenderPipelineDescriptor) -> ^Function {
return msgSend(^Function, self, "fragmentFunction")
}
@(objc_type=RenderPipelineDescriptor, objc_name="vertexLinkedFunctions")
RenderPipelineDescriptor_vertexLinkedFunctions :: #force_inline proc "c" (self: ^RenderPipelineDescriptor) -> ^LinkedFunctions {
return msgSend(^LinkedFunctions, self, "vertexLinkedFunctions")
}
@(objc_type=RenderPipelineDescriptor, objc_name="fragmentLinkedFunctions")
RenderPipelineDescriptor_fragmentLinkedFunctions :: #force_inline proc "c" (self: ^RenderPipelineDescriptor) -> ^LinkedFunctions {
return msgSend(^LinkedFunctions, self, "fragmentLinkedFunctions")
@@ -2835,6 +2839,10 @@ RenderPipelineDescriptor_setDepthAttachmentPixelFormat :: #force_inline proc "c"
RenderPipelineDescriptor_setFragmentFunction :: #force_inline proc "c" (self: ^RenderPipelineDescriptor, fragmentFunction: ^Function) {
msgSend(nil, self, "setFragmentFunction:", fragmentFunction)
}
@(objc_type=RenderPipelineDescriptor, objc_name="setVertexLinkedFunctions")
RenderPipelineDescriptor_setVertexLinkedFunctions :: #force_inline proc "c" (self: ^RenderPipelineDescriptor, vertexLinkedFunctions: ^LinkedFunctions) {
msgSend(nil, self, "setVertexLinkedFunctions:", vertexLinkedFunctions)
}
@(objc_type=RenderPipelineDescriptor, objc_name="setFragmentLinkedFunctions")
RenderPipelineDescriptor_setFragmentLinkedFunctions :: #force_inline proc "c" (self: ^RenderPipelineDescriptor, fragmentLinkedFunctions: ^LinkedFunctions) {
msgSend(nil, self, "setFragmentLinkedFunctions:", fragmentLinkedFunctions)