KiCad PCB EDA Suite
Loading...
Searching...
No Matches
buffers_debug.h File Reference
#include <plugins/3dapi/xv3d_types.h>
#include <wx/string.h>

Go to the source code of this file.

Functions

void DBG_SaveBuffer (const wxString &aFileName, const unsigned char *aInBuffer, unsigned int aXSize, unsigned int aYSize)
 
void DBG_SaveBuffer (const wxString &aFileName, const float *aInBuffer, unsigned int aXSize, unsigned int aYSize)
 
void DBG_SaveBuffer (const wxString &aFileName, const SFVEC3F *aInBuffer, unsigned int aXSize, unsigned int aYSize)
 
void DBG_SaveBuffer (const wxString &aFileName, const SFVEC4F *aInBuffer, unsigned int aXSize, unsigned int aYSize)
 
void DBG_SaveNormalsBuffer (const wxString &aFileName, const SFVEC3F *aInNormalsBuffer, unsigned int aXSize, unsigned int aYSize)
 

Function Documentation

◆ DBG_SaveBuffer() [1/4]

void DBG_SaveBuffer ( const wxString &  aFileName,
const float *  aInBuffer,
unsigned int  aXSize,
unsigned int  aYSize 
)

Definition at line 83 of file buffers_debug.cpp.

References dbg_save_rgb_buffer().

◆ DBG_SaveBuffer() [2/4]

void DBG_SaveBuffer ( const wxString &  aFileName,
const SFVEC3F aInBuffer,
unsigned int  aXSize,
unsigned int  aYSize 
)

Definition at line 104 of file buffers_debug.cpp.

References dbg_save_rgb_buffer().

◆ DBG_SaveBuffer() [3/4]

void DBG_SaveBuffer ( const wxString &  aFileName,
const SFVEC4F aInBuffer,
unsigned int  aXSize,
unsigned int  aYSize 
)

Definition at line 126 of file buffers_debug.cpp.

References dbg_save_rgb_a_buffer().

◆ DBG_SaveBuffer() [4/4]

void DBG_SaveBuffer ( const wxString &  aFileName,
const unsigned char *  aInBuffer,
unsigned int  aXSize,
unsigned int  aYSize 
)

Definition at line 62 of file buffers_debug.cpp.

References dbg_save_rgb_buffer().

Referenced by POST_SHADER::DebugBuffersOutputAsImages(), and IMAGE::SaveAsPNG().

◆ DBG_SaveNormalsBuffer()

void DBG_SaveNormalsBuffer ( const wxString &  aFileName,
const SFVEC3F aInNormalsBuffer,
unsigned int  aXSize,
unsigned int  aYSize 
)

Definition at line 151 of file buffers_debug.cpp.

References dbg_save_rgb_buffer().

Referenced by POST_SHADER::DebugBuffersOutputAsImages().