Blender V5.0
blender::gpu::GPUState Union Reference

#include <gpu_state_private.hh>

Public Attributes

struct { 
   uint32_t   write_mask: 13 
   uint32_t   blend: 4 
   uint32_t   culling_test: 2 
   uint32_t   depth_test: 3 
   uint32_t   stencil_test: 3 
   uint32_t   stencil_op: 3 
   uint32_t   provoking_vert: 1 
   uint32_t   logic_op_xor: 1 
   uint32_t   invert_facing: 1 
   uint32_t   shadow_bias: 1 
   uint32_t   clip_control: 1 
   uint32_t   clip_distances: 3 
   uint32_t   polygon_smooth: 1 
   uint32_t   line_smooth: 1 
}; 
uint64_t data

Detailed Description

Definition at line 23 of file gpu_state_private.hh.

Member Data Documentation

◆ [struct]

struct { ... } blender::gpu::GPUState

◆ blend

uint32_t blender::gpu::GPUState::blend

◆ clip_control

uint32_t blender::gpu::GPUState::clip_control

Clip range of 0..1 on OpenGL.

Definition at line 44 of file gpu_state_private.hh.

◆ clip_distances

uint32_t blender::gpu::GPUState::clip_distances

Number of clip distances enabled.

Definition at line 47 of file gpu_state_private.hh.

◆ culling_test

uint32_t blender::gpu::GPUState::culling_test

◆ data

uint64_t blender::gpu::GPUState::data

◆ depth_test

uint32_t blender::gpu::GPUState::depth_test

◆ invert_facing

uint32_t blender::gpu::GPUState::invert_facing

◆ line_smooth

uint32_t blender::gpu::GPUState::line_smooth

Definition at line 50 of file gpu_state_private.hh.

◆ logic_op_xor

uint32_t blender::gpu::GPUState::logic_op_xor

Enable bits.

Definition at line 40 of file gpu_state_private.hh.

Referenced by blender::gpu::VKPipelinePool::get_or_create_graphics_pipeline().

◆ polygon_smooth

uint32_t blender::gpu::GPUState::polygon_smooth

Definition at line 49 of file gpu_state_private.hh.

◆ provoking_vert

uint32_t blender::gpu::GPUState::provoking_vert

◆ shadow_bias

uint32_t blender::gpu::GPUState::shadow_bias

◆ stencil_op

uint32_t blender::gpu::GPUState::stencil_op

◆ stencil_test

uint32_t blender::gpu::GPUState::stencil_test

◆ write_mask

uint32_t blender::gpu::GPUState::write_mask

The documentation for this union was generated from the following file: