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

#include <gpu_state_private.hh>

Public Attributes

struct { 
   float   depth_range [2] 
   float   point_size 
   float   line_width 
   uint8_t   stencil_write_mask 
   uint8_t   stencil_compare_mask 
   uint8_t   stencil_reference 
   uint8_t   _pad0 [5] 
}; 
uint64_t data [3]

Detailed Description

Definition at line 83 of file gpu_state_private.hh.

Member Data Documentation

◆ [struct]

◆ _pad0

uint8_t blender::gpu::GPUStateMutable::_pad0[5]

Definition at line 97 of file gpu_state_private.hh.

◆ data

uint64_t blender::gpu::GPUStateMutable::data[3]

◆ depth_range

float blender::gpu::GPUStateMutable::depth_range[2]

TODO: remove.

Definition at line 87 of file gpu_state_private.hh.

◆ line_width

float blender::gpu::GPUStateMutable::line_width

Not supported on every platform. Prefer using wide-line shader.

Definition at line 92 of file gpu_state_private.hh.

Referenced by blender::gpu::VKContext::update_pipeline_data().

◆ point_size

float blender::gpu::GPUStateMutable::point_size

Positive if using program point size.

Definition at line 90 of file gpu_state_private.hh.

Referenced by blender::gpu::VKContext::update_pipeline_data().

◆ stencil_compare_mask

uint8_t blender::gpu::GPUStateMutable::stencil_compare_mask

◆ stencil_reference

uint8_t blender::gpu::GPUStateMutable::stencil_reference

◆ stencil_write_mask

uint8_t blender::gpu::GPUStateMutable::stencil_write_mask

Mutable stencil states.

Definition at line 94 of file gpu_state_private.hh.

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


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