GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
WGpuDepthStencilState Struct Reference

#include <lib_webgpu.h>

Collaboration diagram for WGpuDepthStencilState:

Public Attributes

WGPU_TEXTURE_FORMAT format
EM_BOOL depthWriteEnabled
WGPU_COMPARE_FUNCTION depthCompare
uint32_t stencilReadMask
uint32_t stencilWriteMask
int32_t depthBias
float depthBiasSlopeScale
float depthBiasClamp
WGpuStencilFaceState stencilFront
WGpuStencilFaceState stencilBack
EM_BOOL clampDepth

Member Data Documentation

◆ clampDepth

EM_BOOL WGpuDepthStencilState::clampDepth

◆ depthBias

int32_t WGpuDepthStencilState::depthBias

◆ depthBiasClamp

float WGpuDepthStencilState::depthBiasClamp

◆ depthBiasSlopeScale

float WGpuDepthStencilState::depthBiasSlopeScale

◆ depthCompare

WGPU_COMPARE_FUNCTION WGpuDepthStencilState::depthCompare

◆ depthWriteEnabled

EM_BOOL WGpuDepthStencilState::depthWriteEnabled

◆ format

WGPU_TEXTURE_FORMAT WGpuDepthStencilState::format

◆ stencilBack

WGpuStencilFaceState WGpuDepthStencilState::stencilBack

◆ stencilFront

WGpuStencilFaceState WGpuDepthStencilState::stencilFront

◆ stencilReadMask

uint32_t WGpuDepthStencilState::stencilReadMask

◆ stencilWriteMask

uint32_t WGpuDepthStencilState::stencilWriteMask

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