Skip to content

Vp::Entity::RenderContext ​

#include "Viewport/entity/Entity.h"

Public Attributes ​

Name
const DisplayOptions *displayOptions
intm_instanceCount
floatm_opacity
boolm_opaque
RenderTypem_renderType
Shader *m_shader
boolm_wboit <br>Whether to use weighted blended transparency for output if supported.
intm_wboitFunc

Public Attributes Documentation ​

variable displayOptions ​

cpp
const DisplayOptions * displayOptions {nullptr};

variable m_instanceCount ​

cpp
int m_instanceCount {0};

variable m_opacity ​

cpp
float m_opacity {1.0f};

variable m_opaque ​

cpp
bool m_opaque {true};

variable m_renderType ​

cpp
RenderType m_renderType {RenderType::NORMAL};

variable m_shader ​

cpp
Shader * m_shader {nullptr};

variable m_wboit ​

cpp
bool m_wboit {false};

Whether to use weighted blended transparency for output if supported.

See: supportsWboit()

variable m_wboitFunc ​

cpp
int m_wboitFunc {0};

Updated on 2026-09-11 at 21:24:25 +0000