Blender V4.3
blender::gpu::MTLContextDepthStencilState Struct Reference

#include <mtl_context.hh>

Public Member Functions

bool operator== (const MTLContextDepthStencilState &other) const
 
std::size_t hash () const
 

Public Attributes

bool depth_write_enable
 
bool depth_test_enabled
 
float depth_range_near
 
float depth_range_far
 
MTLCompareFunction depth_function
 
float depth_bias
 
float depth_slope_scale
 
bool depth_bias_enabled_for_points
 
bool depth_bias_enabled_for_lines
 
bool depth_bias_enabled_for_tris
 
bool stencil_test_enabled
 
uint stencil_read_mask
 
uint stencil_write_mask
 
uint stencil_ref
 
MTLCompareFunction stencil_func
 
MTLStencilOperation stencil_op_front_stencil_fail
 
MTLStencilOperation stencil_op_front_depth_fail
 
MTLStencilOperation stencil_op_front_depthstencil_pass
 
MTLStencilOperation stencil_op_back_stencil_fail
 
MTLStencilOperation stencil_op_back_depth_fail
 
MTLStencilOperation stencil_op_back_depthstencil_pass
 
bool has_depth_target
 
bool has_stencil_target
 

Detailed Description

Definition at line 188 of file mtl_context.hh.

Member Function Documentation

◆ hash()

std::size_t blender::gpu::MTLContextDepthStencilState::hash ( ) const
inline

Definition at line 258 of file mtl_context.hh.

◆ operator==()

Member Data Documentation

◆ depth_bias

float blender::gpu::MTLContextDepthStencilState::depth_bias

◆ depth_bias_enabled_for_lines

bool blender::gpu::MTLContextDepthStencilState::depth_bias_enabled_for_lines

◆ depth_bias_enabled_for_points

bool blender::gpu::MTLContextDepthStencilState::depth_bias_enabled_for_points

◆ depth_bias_enabled_for_tris

bool blender::gpu::MTLContextDepthStencilState::depth_bias_enabled_for_tris

◆ depth_function

MTLCompareFunction blender::gpu::MTLContextDepthStencilState::depth_function

◆ depth_range_far

float blender::gpu::MTLContextDepthStencilState::depth_range_far

◆ depth_range_near

float blender::gpu::MTLContextDepthStencilState::depth_range_near

◆ depth_slope_scale

float blender::gpu::MTLContextDepthStencilState::depth_slope_scale

◆ depth_test_enabled

bool blender::gpu::MTLContextDepthStencilState::depth_test_enabled

◆ depth_write_enable

bool blender::gpu::MTLContextDepthStencilState::depth_write_enable

◆ has_depth_target

bool blender::gpu::MTLContextDepthStencilState::has_depth_target

◆ has_stencil_target

bool blender::gpu::MTLContextDepthStencilState::has_stencil_target

◆ stencil_func

MTLCompareFunction blender::gpu::MTLContextDepthStencilState::stencil_func

◆ stencil_op_back_depth_fail

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_back_depth_fail

◆ stencil_op_back_depthstencil_pass

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_back_depthstencil_pass

◆ stencil_op_back_stencil_fail

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_back_stencil_fail

◆ stencil_op_front_depth_fail

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_front_depth_fail

◆ stencil_op_front_depthstencil_pass

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_front_depthstencil_pass

◆ stencil_op_front_stencil_fail

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_front_stencil_fail

◆ stencil_read_mask

uint blender::gpu::MTLContextDepthStencilState::stencil_read_mask

◆ stencil_ref

uint blender::gpu::MTLContextDepthStencilState::stencil_ref

◆ stencil_test_enabled

bool blender::gpu::MTLContextDepthStencilState::stencil_test_enabled

◆ stencil_write_mask

uint blender::gpu::MTLContextDepthStencilState::stencil_write_mask

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