mirror of
https://github.com/aap/librw.git
synced 2025-12-20 01:19:51 +00:00
stencil clear
This commit is contained in:
@@ -1170,6 +1170,8 @@ clearCamera(Camera *cam, RGBA *col, uint32 mode)
|
||||
mode |= D3DCLEAR_TARGET;
|
||||
if(mode & Camera::CLEARZ)
|
||||
mode |= D3DCLEAR_ZBUFFER;
|
||||
if(mode & Camera::CLEARSTENCIL)
|
||||
mode |= D3DCLEAR_STENCIL;
|
||||
D3DCOLOR c = D3DCOLOR_RGBA(col->red, col->green, col->blue, col->alpha);
|
||||
|
||||
RECT r;
|
||||
|
||||
@@ -273,6 +273,8 @@ int32 lightingCB_Shader(Atomic *atomic);
|
||||
// for VS
|
||||
void uploadMatrices(void); // no world transform
|
||||
void uploadMatrices(Matrix *worldMat);
|
||||
void setAmbient(const RGBAf &color);
|
||||
void setNumLights(int numDir, int numPoint, int numSpot);
|
||||
int32 uploadLights(WorldLights *lightData); // called by lightingCB_Shader
|
||||
|
||||
extern void *im2dOverridePS;
|
||||
|
||||
Reference in New Issue
Block a user