candlewick 0.1.0
A renderer
Loading...
Searching...
No Matches
candlewick::DepthDebugPass Struct Reference

#include <candlewick/core/debug/DepthViz.h>

Classes

struct  Options
 

Public Types

enum  VizStyle : int { VIZ_GRAYSCALE , VIZ_HEATMAP }
 

Public Member Functions

void release (SDL_GPUDevice *device)
 

Static Public Member Functions

static DepthDebugPass create (const Renderer &renderer, SDL_GPUTexture *depthTexture)
 

Public Attributes

SDL_GPUTexture * depthTexture
 
SDL_GPUSampler * sampler
 
SDL_GPUGraphicsPipeline * pipeline
 

Member Enumeration Documentation

◆ VizStyle

Enumerator
VIZ_GRAYSCALE 
VIZ_HEATMAP 

Member Function Documentation

◆ create()

static DepthDebugPass candlewick::DepthDebugPass::create ( const Renderer & renderer,
SDL_GPUTexture * depthTexture )
static

◆ release()

void candlewick::DepthDebugPass::release ( SDL_GPUDevice * device)
inline

Member Data Documentation

◆ depthTexture

SDL_GPUTexture* candlewick::DepthDebugPass::depthTexture

◆ pipeline

SDL_GPUGraphicsPipeline* candlewick::DepthDebugPass::pipeline

◆ sampler

SDL_GPUSampler* candlewick::DepthDebugPass::sampler

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