Skip to content

KDGpu::DepthStencilOptions

#include <graphics_pipeline_options.h>

Public Attributes

Name
Format format
bool depthTestEnabled
bool depthWritesEnabled
CompareOperation depthCompareOperation
bool stencilTestEnabled
StencilOperationOptions stencilFront
StencilOperationOptions stencilBack
bool resolveDepthStencil

Friends

Name
bool operator==(const DepthStencilOptions & , const DepthStencilOptions & )

Public Attributes Documentation

variable format

1
Format format { Format::UNDEFINED };

variable depthTestEnabled

1
bool depthTestEnabled { true };

variable depthWritesEnabled

1
bool depthWritesEnabled { false };

variable depthCompareOperation

1
CompareOperation depthCompareOperation { CompareOperation::Always };

variable stencilTestEnabled

1
bool stencilTestEnabled { false };

variable stencilFront

1
StencilOperationOptions stencilFront;

variable stencilBack

1
StencilOperationOptions stencilBack;

variable resolveDepthStencil

1
bool resolveDepthStencil { false };

Friends

friend operator==

1
2
3
4
5
friend bool operator==(
    const DepthStencilOptions & ,

    const DepthStencilOptions & 
);

Updated on 2024-09-10 at 00:01:36 +0000