kiba-engine
Data Fields
gpu_depth_stencil_state Struct Reference
Collaboration diagram for gpu_depth_stencil_state:

Data Fields

enum gpu_texture_format format
 
b8 depth_write_enabled
 
enum gpu_compare_func depth_compare
 
struct {
   struct {
enum  {
  GPU_STENCIL_OPERATION_KEEP , GPU_STENCIL_OPERATION_ZERO , GPU_STENCIL_OPERATION_REPLACE , GPU_STENCIL_OPERATION_INVERT ,
  GPU_STENCIL_OPERATION_INCREMENT_CLAMP , GPU_STENCIL_OPERATION_DECREMENT_CLAMP , GPU_STENCIL_OPERATION_INCREMENT_WRAP , GPU_STENCIL_OPERATION_DECREMENT_WRAP
}
 
      enum gpu_compare_func   compare
 
      enum gpu_depth_stencil_state:: { ... } ::   fail_op
 
      enum gpu_depth_stencil_state:: { ... } ::   depth_fail_op
 
      enum gpu_depth_stencil_state:: { ... } ::   pass_op
 
   }   front
 
   struct {
enum  {
  GPU_STENCIL_OPERATION_KEEP , GPU_STENCIL_OPERATION_ZERO , GPU_STENCIL_OPERATION_REPLACE , GPU_STENCIL_OPERATION_INVERT ,
  GPU_STENCIL_OPERATION_INCREMENT_CLAMP , GPU_STENCIL_OPERATION_DECREMENT_CLAMP , GPU_STENCIL_OPERATION_INCREMENT_WRAP , GPU_STENCIL_OPERATION_DECREMENT_WRAP
}
 
      enum gpu_compare_func   compare
 
      enum gpu_depth_stencil_state:: { ... } ::   fail_op
 
      enum gpu_depth_stencil_state:: { ... } ::   depth_fail_op
 
      enum gpu_depth_stencil_state:: { ... } ::   pass_op
 
   }   back
 
   u8   read_mask
 
   u8   write_mask
 
stencil
 
struct {
   f32   constant
 
   f32   slope_scale
 
   f32   clamp
 
depth_bias
 

Detailed Description

Definition at line 319 of file types.h.


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