mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-17 15:15:27 +01:00
Irrlicht: expose MaxArrayTextureLayers
This commit is contained in:
@@ -2652,9 +2652,12 @@ ITexture *COpenGLDriver::addRenderTargetTextureCubemap(const u32 sideLen, const
|
||||
//! Returns the maximum amount of primitives (mostly vertices) which
|
||||
//! the device is able to render with one drawIndexedTriangleList
|
||||
//! call.
|
||||
u32 COpenGLDriver::getMaximalPrimitiveCount() const
|
||||
SDriverLimits COpenGLDriver::getLimits() const
|
||||
{
|
||||
return 0x7fffffff;
|
||||
SDriverLimits ret;
|
||||
ret.MaxPrimitiveCount = 0x7fffffff;
|
||||
ret.MaxTextureSize = MaxTextureSize;
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool COpenGLDriver::setRenderTargetEx(IRenderTarget *target, u16 clearFlag, SColor clearColor, f32 clearDepth, u8 clearStencil)
|
||||
@@ -2863,11 +2866,6 @@ IImage *COpenGLDriver::createScreenShot(video::ECOLOR_FORMAT format, video::E_RE
|
||||
return newImage;
|
||||
}
|
||||
|
||||
core::dimension2du COpenGLDriver::getMaxTextureSize() const
|
||||
{
|
||||
return core::dimension2du(MaxTextureSize, MaxTextureSize);
|
||||
}
|
||||
|
||||
//! Convert E_PRIMITIVE_TYPE to OpenGL equivalent
|
||||
GLenum COpenGLDriver::primitiveTypeToGL(scene::E_PRIMITIVE_TYPE type) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user