CommonLibSSE (powerof3)
RE::BSGraphics::Renderer Class Reference

#include <Renderer.h>

Public Member Functions

void CreateSwapChain (REX::W32::HWND *a_window, bool a_setCurrent)
 
void KillWindow (std::uint32_t a_windowID)
 
void Lock ()
 
void Unlock ()
 
void ResizeWindow (std::uint32_t a_windowID, std::uint32_t a_width, std::uint32_t a_height, bool a_fullscreen, bool a_borderless)
 
void RequestWindowResize (std::uint32_t a_width, std::uint32_t a_height)
 
void SetWindowPosition (std::uint32_t a_windowID, std::int32_t a_x, std::int32_t a_y)
 
void SetWindowActiveState (bool a_show)
 
void WindowSizeChanged (std::uint32_t a_windowID)
 
void ResetWindow (std::uint32_t a_windowID)
 
void UpdateViewPort (std::uint32_t a_unk1, std::uint32_t a_unk2, bool a_unk3)
 
NiTexture::RendererDataCreateRenderTexture (std::uint32_t a_width, std::uint32_t a_height)
 
void SaveRenderTargetToFile (RENDER_TARGET a_renderTarget, const char *a_filePath, TextureFileFormat a_textureFileFormat)
 

Static Public Member Functions

static RendererGetSingleton () noexcept
 
static RendererDataGetRendererData ()
 
static ScreenSize GetScreenSize ()
 
static REX::W32::ID3D11Device * GetDevice ()
 
static RendererWindowGetCurrentRenderWindow ()
 

Public Attributes

std::uint64_t unk00
 
std::uint64_t unk08
 
RendererData data
 

Member Function Documentation

◆ CreateRenderTexture()

NiTexture::RendererData* RE::BSGraphics::Renderer::CreateRenderTexture ( std::uint32_t  a_width,
std::uint32_t  a_height 
)

◆ CreateSwapChain()

void RE::BSGraphics::Renderer::CreateSwapChain ( REX::W32::HWND a_window,
bool  a_setCurrent 
)

◆ GetCurrentRenderWindow()

static RendererWindow* RE::BSGraphics::Renderer::GetCurrentRenderWindow ( )
static

◆ GetDevice()

static REX::W32::ID3D11Device* RE::BSGraphics::Renderer::GetDevice ( )
static

◆ GetRendererData()

static RendererData* RE::BSGraphics::Renderer::GetRendererData ( )
static

◆ GetScreenSize()

static ScreenSize RE::BSGraphics::Renderer::GetScreenSize ( )
static

◆ GetSingleton()

static Renderer* RE::BSGraphics::Renderer::GetSingleton ( )
staticnoexcept

◆ KillWindow()

void RE::BSGraphics::Renderer::KillWindow ( std::uint32_t  a_windowID)

◆ Lock()

void RE::BSGraphics::Renderer::Lock ( )

◆ RequestWindowResize()

void RE::BSGraphics::Renderer::RequestWindowResize ( std::uint32_t  a_width,
std::uint32_t  a_height 
)

◆ ResetWindow()

void RE::BSGraphics::Renderer::ResetWindow ( std::uint32_t  a_windowID)

◆ ResizeWindow()

void RE::BSGraphics::Renderer::ResizeWindow ( std::uint32_t  a_windowID,
std::uint32_t  a_width,
std::uint32_t  a_height,
bool  a_fullscreen,
bool  a_borderless 
)

◆ SaveRenderTargetToFile()

void RE::BSGraphics::Renderer::SaveRenderTargetToFile ( RENDER_TARGET  a_renderTarget,
const char *  a_filePath,
TextureFileFormat  a_textureFileFormat 
)

◆ SetWindowActiveState()

void RE::BSGraphics::Renderer::SetWindowActiveState ( bool  a_show)

◆ SetWindowPosition()

void RE::BSGraphics::Renderer::SetWindowPosition ( std::uint32_t  a_windowID,
std::int32_t  a_x,
std::int32_t  a_y 
)

◆ Unlock()

void RE::BSGraphics::Renderer::Unlock ( )

◆ UpdateViewPort()

void RE::BSGraphics::Renderer::UpdateViewPort ( std::uint32_t  a_unk1,
std::uint32_t  a_unk2,
bool  a_unk3 
)

◆ WindowSizeChanged()

void RE::BSGraphics::Renderer::WindowSizeChanged ( std::uint32_t  a_windowID)

Member Data Documentation

◆ data

RendererData RE::BSGraphics::Renderer::data

◆ unk00

std::uint64_t RE::BSGraphics::Renderer::unk00

◆ unk08

std::uint64_t RE::BSGraphics::Renderer::unk08

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