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
bool depthClampEnabled

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 };

variable depthClampEnabled

1
bool depthClampEnabled { false };

Friends

friend operator==

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

    const DepthStencilOptions & 
);

Updated on 2024-12-22 at 00:01:23 +0000