FTEQW
Documentation of the FTE engine source tree.
d3d11_image.c File Reference

Functions

void D3D11BE_UnbindAllTextures (void)
 
ID3D11ShaderResourceView * D3D11_Image_View (const texid_t id)
 
void D3D11_DestroyTexture (texid_t tex)
 
qboolean D3D11_LoadTextureMips (image_t *tex, const struct pendingtextureinfo *mips)
 
void D3D11_UploadLightmap (lightmapinfo_t *lm)
 
texid_t D3D11_GetShadowMap (int id)
 
void D3D11_TerminateShadowMap (void)
 
qboolean D3D11_BeginShadowMap (int id, int w, int h)
 
void D3D11_EndShadowMap (void)
 

Variables

ID3D11Device * pD3DDev11
 
ID3D11DeviceContext * d3ddevctx
 
D3D_FEATURE_LEVEL d3dfeaturelevel
 
image_t shadowmap_texture [2]
 
ID3D11DepthStencilView * shadowmap_dsview [2]
 
ID3D11RenderTargetView * shadowmap_rtview [2]
 

Function Documentation

◆ D3D11_BeginShadowMap()

qboolean D3D11_BeginShadowMap ( int  id,
int  w,
int  h 
)

◆ D3D11_DestroyTexture()

void D3D11_DestroyTexture ( texid_t  tex)

◆ D3D11_EndShadowMap()

void D3D11_EndShadowMap ( void  )

◆ D3D11_GetShadowMap()

texid_t D3D11_GetShadowMap ( int  id)

◆ D3D11_Image_View()

ID3D11ShaderResourceView * D3D11_Image_View ( const texid_t  id)

◆ D3D11_LoadTextureMips()

qboolean D3D11_LoadTextureMips ( image_t tex,
const struct pendingtextureinfo mips 
)

◆ D3D11_TerminateShadowMap()

void D3D11_TerminateShadowMap ( void  )

◆ D3D11_UploadLightmap()

void D3D11_UploadLightmap ( lightmapinfo_t lm)

◆ D3D11BE_UnbindAllTextures()

void D3D11BE_UnbindAllTextures ( void  )

Variable Documentation

◆ d3ddevctx

ID3D11DeviceContext* d3ddevctx
extern

◆ d3dfeaturelevel

D3D_FEATURE_LEVEL d3dfeaturelevel
extern

◆ pD3DDev11

ID3D11Device* pD3DDev11
extern

◆ shadowmap_dsview

ID3D11DepthStencilView* shadowmap_dsview[2]

◆ shadowmap_rtview

ID3D11RenderTargetView* shadowmap_rtview[2]

◆ shadowmap_texture

image_t shadowmap_texture[2]