- support particle styles in softpoly
This commit is contained in:
parent
bed559f763
commit
e865ba60f5
4 changed files with 49 additions and 1 deletions
|
|
@ -45,6 +45,14 @@ void PolyDrawArgs::SetClipPlane(const PolyClipPlane &plane)
|
|||
mClipPlane[3] = plane.D;
|
||||
}
|
||||
|
||||
void PolyDrawArgs::SetTexture(const uint8_t *texels, int width, int height)
|
||||
{
|
||||
mTexturePixels = texels;
|
||||
mTextureWidth = width;
|
||||
mTextureHeight = height;
|
||||
mTranslation = nullptr;
|
||||
}
|
||||
|
||||
void PolyDrawArgs::SetTexture(FTexture *texture)
|
||||
{
|
||||
mTextureWidth = texture->GetWidth();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue