gtk/gsk/vulkan/gskvulkanlineargradientopprivate.h
Benjamin Otte a8ff291a12 vulkan: Make clip type an enum
and add gsk_vulkan_shader_op_alloc() that sets it properly.
2023-07-16 13:16:43 +02:00

20 lines
1.1 KiB
C

#pragma once
#include "gskvulkanopprivate.h"
G_BEGIN_DECLS
void gsk_vulkan_linear_gradient_op (GskVulkanRender *render,
GskVulkanShaderClip clip,
const graphene_rect_t *rect,
const graphene_point_t *offset,
const graphene_point_t *start,
const graphene_point_t *end,
gboolean repeating,
const GskColorStop *stops,
gsize n_stops);
G_END_DECLS