|
| enum | blender::GPUWriteMask {
blender::GPU_WRITE_NONE = 0
, blender::GPU_WRITE_RED = (1 << 0)
, blender::GPU_WRITE_GREEN = (1 << 1)
, blender::GPU_WRITE_BLUE = (1 << 2)
,
blender::GPU_WRITE_ALPHA = (1 << 3)
, blender::GPU_WRITE_DEPTH = (1 << 4)
, blender::GPU_WRITE_STENCIL = (1 << 5)
, blender::GPU_WRITE_COLOR = (GPU_WRITE_RED | GPU_WRITE_GREEN | GPU_WRITE_BLUE | GPU_WRITE_ALPHA)
} |
| enum | blender::GPUBarrier {
blender::GPU_BARRIER_FRAMEBUFFER = (1 << 0)
, blender::GPU_BARRIER_SHADER_IMAGE_ACCESS = (1 << 1)
, blender::GPU_BARRIER_TEXTURE_FETCH = (1 << 2)
, blender::GPU_BARRIER_TEXTURE_UPDATE = (1 << 3)
,
blender::GPU_BARRIER_COMMAND = (1 << 10)
, blender::GPU_BARRIER_SHADER_STORAGE = (1 << 11)
, blender::GPU_BARRIER_VERTEX_ATTRIB_ARRAY = (1 << 12)
, blender::GPU_BARRIER_ELEMENT_ARRAY = (1 << 13)
,
blender::GPU_BARRIER_UNIFORM = (1 << 14)
, blender::GPU_BARRIER_BUFFER_UPDATE = (1 << 15)
} |
| enum | blender::GPUStageBarrierBits {
blender::GPU_BARRIER_STAGE_VERTEX = (1 << 0)
, blender::GPU_BARRIER_STAGE_FRAGMENT = (1 << 1)
, blender::GPU_BARRIER_STAGE_COMPUTE = (1 << 2)
, blender::GPU_BARRIER_STAGE_ANY_GRAPHICS = (GPU_BARRIER_STAGE_VERTEX | GPU_BARRIER_STAGE_FRAGMENT)
,
blender::GPU_BARRIER_STAGE_ANY
} |
| enum | blender::GPUBlend {
blender::GPU_BLEND_NONE = 0
, blender::GPU_BLEND_ALPHA
, blender::GPU_BLEND_ALPHA_PREMULT
, blender::GPU_BLEND_ADDITIVE
,
blender::GPU_BLEND_ADDITIVE_PREMULT
, blender::GPU_BLEND_MULTIPLY
, blender::GPU_BLEND_SUBTRACT
, blender::GPU_BLEND_INVERT
,
blender::GPU_BLEND_MIN
, blender::GPU_BLEND_MAX
, blender::GPU_BLEND_OIT
, blender::GPU_BLEND_BACKGROUND
,
blender::GPU_BLEND_CUSTOM
, blender::GPU_BLEND_ALPHA_UNDER_PREMUL
, blender::GPU_BLEND_OVERLAY_MASK_FROM_ALPHA
, blender::GPU_BLEND_TRANSPARENCY
} |
| enum | blender::GPUDepthTest {
blender::GPU_DEPTH_NONE = 0
, blender::GPU_DEPTH_ALWAYS
, blender::GPU_DEPTH_LESS
, blender::GPU_DEPTH_LESS_EQUAL
,
blender::GPU_DEPTH_EQUAL
, blender::GPU_DEPTH_GREATER
, blender::GPU_DEPTH_GREATER_EQUAL
} |
| enum | blender::GPUStencilTest { blender::GPU_STENCIL_NONE = 0
, blender::GPU_STENCIL_ALWAYS
, blender::GPU_STENCIL_EQUAL
, blender::GPU_STENCIL_NEQUAL
} |
| enum | blender::GPUStencilOp { blender::GPU_STENCIL_OP_NONE = 0
, blender::GPU_STENCIL_OP_REPLACE
, blender::GPU_STENCIL_OP_COUNT_DEPTH_PASS
, blender::GPU_STENCIL_OP_COUNT_DEPTH_FAIL
} |
| enum | blender::GPUFaceCullTest { blender::GPU_CULL_NONE = 0
, blender::GPU_CULL_FRONT
, blender::GPU_CULL_BACK
} |
| enum | blender::GPUProvokingVertex { blender::GPU_VERTEX_LAST = 0
, blender::GPU_VERTEX_FIRST = 1
} |
|
| void | blender::GPU_blend (GPUBlend blend) |
| void | blender::GPU_face_culling (GPUFaceCullTest culling) |
| void | blender::GPU_depth_test (GPUDepthTest test) |
| void | blender::GPU_stencil_test (GPUStencilTest test) |
| void | blender::GPU_provoking_vertex (GPUProvokingVertex vert) |
| void | blender::GPU_front_facing (bool invert) |
| void | blender::GPU_line_smooth (bool enable) |
| void | blender::GPU_polygon_smooth (bool enable) |
| void | blender::GPU_write_mask (GPUWriteMask mask) |
| void | blender::GPU_color_mask (bool r, bool g, bool b, bool a) |
| void | blender::GPU_depth_mask (bool depth) |
| void | blender::GPU_clip_distances (int distances_enabled) |
| void | blender::GPU_state_set (GPUWriteMask write_mask, GPUBlend blend, GPUFaceCullTest culling_test, GPUDepthTest depth_test, GPUStencilTest stencil_test, GPUStencilOp stencil_op, GPUProvokingVertex provoking_vert) |
| void | blender::GPU_clip_control_unit_range (bool enable) |
| GPUFaceCullTest | blender::GPU_face_culling_get () |
| void | blender::GPU_scissor_test (bool enable) |
| void | blender::GPU_line_width (float width) |
| void | blender::GPU_point_size (float size) |
| void | blender::GPU_program_point_size (bool enable) |
| void | blender::GPU_scissor (int x, int y, int width, int height) |
| void | blender::GPU_viewport (int x, int y, int width, int height) |
| void | blender::GPU_stencil_reference_set (uint reference) |
| void | blender::GPU_stencil_write_mask_set (uint write_mask) |
| void | blender::GPU_stencil_compare_mask_set (uint compare_mask) |
| void | blender::GPU_scissor_get (int coords[4]) |
| void | blender::GPU_viewport_size_get_f (float coords[4]) |
| void | blender::GPU_viewport_size_get_i (int coords[4]) |
| bool | blender::GPU_depth_mask_get () |
| GPUBlend | blender::GPU_blend_get () |
| GPUDepthTest | blender::GPU_depth_test_get () |
| GPUWriteMask | blender::GPU_write_mask_get () |
| uint | blender::GPU_stencil_mask_get () |
| GPUStencilTest | blender::GPU_stencil_test_get () |
| float | blender::GPU_line_width_get () |
| bool | blender::GPU_line_smooth_get () |
| void | blender::GPU_flush () |
| void | blender::GPU_finish () |
| void | blender::GPU_apply_state () |
| void | blender::GPU_memory_barrier (GPUBarrier barrier) |
| GPUFence * | blender::GPU_fence_create () |
| void | blender::GPU_fence_free (GPUFence *fence) |
| void | blender::GPU_fence_signal (GPUFence *fence) |
| void | blender::GPU_fence_wait (GPUFence *fence) |