Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScreenRenderer Class Reference
Inheritance diagram for ScreenRenderer:

Classes

class  QuadBuffer

Public Types

enum class  ScreenMaterial : int {
  Blit = 0 , Fill = 1 , FillGradient = 2 , ColorBlit = 3 ,
  ColorBlitBlur = 4 , BlitCurrentShaderColor = 5 , StencilFill = 6 , ScreenMatCount = 7
}
enum class  ScreenMaterial : int {
  Blit = 0 , Fill = 1 , FillGradient = 2 , ColorBlit = 3 ,
  ColorBlitBlur = 4 , BlitCurrentShaderColor = 5 , StencilFill = 6 , ScreenMatCount = 7
}

Public Member Functions

MCAPI void blit (::ScreenContext &screenContext, ::mce::TexturePtr const &tex, ::IntRectangle const &rect, ::mce::MaterialPtr const *optionalMat)
MCAPI void blit (::ScreenContext &screenContext, ::std::variant<::std::monostate, ::mce::TexturePtr, ::mce::ClientTexture, ::mce::ServerTexture > const &texture, int x, int y, int sx, int sy, int w, int h, int sw, int sh, ::mce::MaterialPtr const *optionalMat, float us, float vs)
MCAPI void blit (::ScreenContext &screenContext, ::mce::TexturePtr const &texture, int x, int y, int sx, int sy, int w, int h, int sw, int sh, ::mce::MaterialPtr const *optionalMat, float us, float vs)
MCAPI void blitQuadBuffer (::ScreenRenderer::QuadBuffer const &quadBuffer, float quadW, float quadH, ::ScreenContext &screenContext, ::mce::TexturePtr const &texture, ::mce::MaterialPtr const *optionalMat)
MCAPI void fill (::ScreenContext &screenContext, float x0, float y0, float x1, float y1, ::mce::Color const &color) const
MCAPI void fillGradient (::ScreenContext &screenContext, float x0, float y0, float x1, float y1, ::mce::Color const &color1, ::mce::Color const &color2)
MCAPI void fillHorizontalGradient (::ScreenContext &screenContext, float x0, float y0, float x1, float y1, ::mce::Color const &color1, ::mce::Color const &color2)
MCAPI void fillStencil (::ScreenContext &screenContext, float x0, float y0, float x1, float y1) const
MCAPI bool tessellateQuadBuffer (::ScreenRenderer::QuadBuffer const &quadBuffer, float quadW, float quadH, ::Tessellator &tessellator, ::mce::TexturePtr const &texture)

Static Public Member Functions

static MCAPI void loadMaterials ()
static MCAPI ::ScreenRenderer & singleton ()
static MCAPI ::std::add_lvalue_reference_t<::mce::MaterialPtr[]> mScreenMaterials ()
static MCAPI ::std::unique_ptr<::ScreenRenderer > & singletonPtr ()

Member Function Documentation

◆ blit() [1/3]

MCAPI void ScreenRenderer::blit ( ::ScreenContext & screenContext,
::mce::TexturePtr const & tex,
::IntRectangle const & rect,
::mce::MaterialPtr const * optionalMat )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ blit() [2/3]

MCAPI void ScreenRenderer::blit ( ::ScreenContext & screenContext,
::std::variant<::std::monostate, ::mce::TexturePtr, ::mce::ClientTexture, ::mce::ServerTexture > const & texture,
int x,
int y,
int sx,
int sy,
int w,
int h,
int sw,
int sh,
::mce::MaterialPtr const * optionalMat,
float us,
float vs )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ blit() [3/3]

MCAPI void ScreenRenderer::blit ( ::ScreenContext & screenContext,
::mce::TexturePtr const & texture,
int x,
int y,
int sx,
int sy,
int w,
int h,
int sw,
int sh,
::mce::MaterialPtr const * optionalMat,
float us,
float vs )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ blitQuadBuffer()

MCAPI void ScreenRenderer::blitQuadBuffer ( ::ScreenRenderer::QuadBuffer const & quadBuffer,
float quadW,
float quadH,
::ScreenContext & screenContext,
::mce::TexturePtr const & texture,
::mce::MaterialPtr const * optionalMat )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fillGradient()

MCAPI void ScreenRenderer::fillGradient ( ::ScreenContext & screenContext,
float x0,
float y0,
float x1,
float y1,
::mce::Color const & color1,
::mce::Color const & color2 )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fillHorizontalGradient()

MCAPI void ScreenRenderer::fillHorizontalGradient ( ::ScreenContext & screenContext,
float x0,
float y0,
float x1,
float y1,
::mce::Color const & color1,
::mce::Color const & color2 )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fillStencil()

MCAPI void ScreenRenderer::fillStencil ( ::ScreenContext & screenContext,
float x0,
float y0,
float x1,
float y1 ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ tessellateQuadBuffer()

MCAPI bool ScreenRenderer::tessellateQuadBuffer ( ::ScreenRenderer::QuadBuffer const & quadBuffer,
float quadW,
float quadH,
::Tessellator & tessellator,
::mce::TexturePtr const & texture )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ loadMaterials()

MCAPI void ScreenRenderer::loadMaterials ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ singletonPtr()

MCAPI ::std::unique_ptr<::ScreenRenderer > & ScreenRenderer::singletonPtr ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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