|
| static void | calculateViewPort (const NormalViewPort &normalizedView, uint32_t winW, uint32_t winH, int32_t &x, int32_t &y, uint32_t &width, uint32_t &height) |
| |
| static void | calculateViewPort (const NormalViewPort &normalizedView, uint32_t winW, uint32_t winH, int32_t &x, int32_t &y, uint32_t &width, uint32_t &height) |
| |
| static ErrCode | parseConfig (const std::string &yamlStr, BaseRenderConfig &config) |
| | static functions for backward compatibility More...
|
| |
| static ErrCode | parseConfig (const std::string &yamlStr, BaseRenderConfig &config) |
| | static functions for backward compatibility More...
|
| |
| static void | getMVPFrom (mat4f &m, mat4f &v, mat4f &p, const BaseRenderConfig &config) |
| |
| static void | getMVPFrom (mat4f &m, mat4f &v, mat4f &p, const BaseRenderConfig &config) |
| |
| static void | normalizeViewPort (const ViewLayout &layout, uint32_t winW, uint32_t winH, NormalViewPort &normalizedView) |
| |
| static void | normalizeViewPort (const ViewLayout &layout, uint32_t winW, uint32_t winH, NormalViewPort &normalizedView) |
| |
|
| Texture3DConfig & | textrueConfig () |
| |
| ErrCode | allocateBuffers () |
| |
| ErrCode | allocateTexture (const Frame2DPlane &plane, MemType memType, FrameType frameType) |
| |
| ErrCode | uploadDefaultValues () |
| |
| ErrCode | uploadImage (GuardDataMap &datamap) |
| |
| ErrCode | uploadVetex (GuardDataMap &datamap) |
| |
| Texture3DConfig & | textrueConfig () |
| |
| ErrCode | allocateBuffers () |
| |
| ErrCode | allocateTexture (const Frame2DPlane &plane, MemType memType, FrameType frameType) |
| |
| ErrCode | uploadDefaultValues () |
| |
| ErrCode | uploadImage (GuardDataMap &datamap) |
| |
| ErrCode | uploadVetex (GuardDataMap &datamap) |
| |
| Ptr< Program > & | shader () |
| |
| Ptr< Program > & | shader () |
| |
| Ptr< VertexArray > & | vao () |
| |
| Ptr< VertexArray > & | vao () |
| |
| NormalViewPort & | normalizedView () |
| |
| NormalViewPort & | normalizedView () |
| |
| mat4f & | model () |
| |
| mat4f & | model () |
| |
| mat4f & | view () |
| |
| mat4f & | view () |
| |
| mat4f & | project () |
| |
| mat4f & | project () |
| |
| ErrCode | initBase (const BaseRenderConfig &conf) |
| |
| ErrCode | initBase (const BaseRenderConfig &conf) |
| |
| ErrCode | clearBase () |
| |
| ErrCode | clearBase () |
| |
| void | initMvpFromConfig (const BaseRenderConfig &conf) |
| |
| void | initMvpFromConfig (const BaseRenderConfig &conf) |
| |
| ErrCode | buildShader (const std::vector< std::string > &scripts, const std::vector< GLenum > &types) |
| |
| ErrCode | buildShader (const std::vector< std::string > &scripts, const std::vector< GLenum > &types) |
| |
| ErrCode | storeViewPort (const ViewLayout &layout) |
| |
| ErrCode | storeViewPort (const ViewLayout &layout) |
| |
| ErrCode | calculateViewPort (int32_t &x, int32_t &y, uint32_t &width, uint32_t &height) |
| |
| ErrCode | calculateViewPort (int32_t &x, int32_t &y, uint32_t &width, uint32_t &height) |
| |
| ErrCode | createVao () |
| |
| ErrCode | createVao () |
| |
◆ allocateBuffers() [1/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::allocateBuffers |
( |
| ) |
|
|
protected |
◆ allocateBuffers() [2/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::allocateBuffers |
( |
| ) |
|
|
protected |
◆ allocateTexture() [1/2]
◆ allocateTexture() [2/2]
◆ buildShader() [1/2]
| ErrCode ds3d::gl::BaseRenderPriv::buildShader |
( |
const std::vector< std::string > & |
scripts, |
|
|
const std::vector< GLenum > & |
types |
|
) |
| |
|
inlineprotectedinherited |
◆ buildShader() [2/2]
| ErrCode ds3d::gl::BaseRenderPriv::buildShader |
( |
const std::vector< std::string > & |
scripts, |
|
|
const std::vector< GLenum > & |
types |
|
) |
| |
|
inlineprotectedinherited |
◆ calculateViewPort() [1/4]
| static void ds3d::gl::BaseRenderPriv::calculateViewPort |
( |
const NormalViewPort & |
normalizedView, |
|
|
uint32_t |
winW, |
|
|
uint32_t |
winH, |
|
|
int32_t & |
x, |
|
|
int32_t & |
y, |
|
|
uint32_t & |
width, |
|
|
uint32_t & |
height |
|
) |
| |
|
inlinestaticinherited |
◆ calculateViewPort() [2/4]
| static void ds3d::gl::BaseRenderPriv::calculateViewPort |
( |
const NormalViewPort & |
normalizedView, |
|
|
uint32_t |
winW, |
|
|
uint32_t |
winH, |
|
|
int32_t & |
x, |
|
|
int32_t & |
y, |
|
|
uint32_t & |
width, |
|
|
uint32_t & |
height |
|
) |
| |
|
inlinestaticinherited |
◆ calculateViewPort() [3/4]
| ErrCode ds3d::gl::BaseRenderPriv::calculateViewPort |
( |
int32_t & |
x, |
|
|
int32_t & |
y, |
|
|
uint32_t & |
width, |
|
|
uint32_t & |
height |
|
) |
| |
|
inlineprotectedinherited |
◆ calculateViewPort() [4/4]
| ErrCode ds3d::gl::BaseRenderPriv::calculateViewPort |
( |
int32_t & |
x, |
|
|
int32_t & |
y, |
|
|
uint32_t & |
width, |
|
|
uint32_t & |
height |
|
) |
| |
|
inlineprotectedinherited |
◆ clearBase() [1/2]
| ErrCode ds3d::gl::BaseRenderPriv::clearBase |
( |
| ) |
|
|
inlineprotectedinherited |
◆ clearBase() [2/2]
| ErrCode ds3d::gl::BaseRenderPriv::clearBase |
( |
| ) |
|
|
inlineprotectedinherited |
◆ configure() [1/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::configure |
( |
const char * |
yamlConfig, |
|
|
uint32_t |
size |
|
) |
| |
|
overridevirtual |
◆ configure() [2/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::configure |
( |
const char * |
yamlConfig, |
|
|
uint32_t |
size |
|
) |
| |
|
overridevirtual |
◆ createVao() [1/2]
| ErrCode ds3d::gl::BaseRenderPriv::createVao |
( |
| ) |
|
|
inlineprotectedinherited |
◆ createVao() [2/2]
| ErrCode ds3d::gl::BaseRenderPriv::createVao |
( |
| ) |
|
|
inlineprotectedinherited |
◆ deinitResource() [1/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::deinitResource |
( |
| ) |
|
|
overridevirtual |
◆ deinitResource() [2/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::deinitResource |
( |
| ) |
|
|
overridevirtual |
◆ draw() [1/2]
◆ draw() [2/2]
◆ flush() [1/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::flush |
( |
| ) |
|
|
overridevirtual |
◆ flush() [2/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::flush |
( |
| ) |
|
|
overridevirtual |
◆ getMVPFrom() [1/2]
Definition at line 260 of file sources/libs/ds3d/glprocess/gl_render_base_priv.h.
References ds3d::gl::eye4x4(), ds3d::gl::PerspectiveParam::far, ds3d::gl::PerspectiveParam::fov, ds3d::gl::glmMat4ToDS(), ds3d::gl::BaseRenderConfig::is2dOnly, ds3d::gl::BaseRenderConfig::lookat, ds3d::gl::BaseRenderConfig::lookatEnabled, ds3d::gl::BaseRenderConfig::modelMat, ds3d::gl::PerspectiveParam::near, ds3d::gl::BaseRenderConfig::perspective, ds3d::gl::BaseRenderConfig::perspectiveEnabled, ds3d::gl::ViewLookat::position, ds3d::gl::PerspectiveParam::ratio, ds3d::gl::ViewLookat::target, ds3d::gl::ViewLookat::up, and ds3d::gl::vec3ToGlm().
Referenced by ds3d::gl::BaseRenderPriv::initMvpFromConfig().
◆ getMVPFrom() [2/2]
◆ getWindow() [1/2]
|
|
inlineoverridevirtualinherited |
◆ getWindow() [2/2]
|
|
inlineoverridevirtualinherited |
◆ initBase() [1/2]
◆ initBase() [2/2]
◆ initMvpFromConfig() [1/2]
| void ds3d::gl::BaseRenderPriv::initMvpFromConfig |
( |
const BaseRenderConfig & |
conf | ) |
|
|
inlineprotectedinherited |
◆ initMvpFromConfig() [2/2]
| void ds3d::gl::BaseRenderPriv::initMvpFromConfig |
( |
const BaseRenderConfig & |
conf | ) |
|
|
inlineprotectedinherited |
◆ initResource() [1/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::initResource |
( |
| ) |
|
|
overridevirtual |
◆ initResource() [2/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::initResource |
( |
| ) |
|
|
overridevirtual |
◆ model() [1/2]
| mat4f& ds3d::gl::BaseRenderPriv::model |
( |
| ) |
|
|
inlineprotectedinherited |
◆ model() [2/2]
| mat4f& ds3d::gl::BaseRenderPriv::model |
( |
| ) |
|
|
inlineprotectedinherited |
◆ normalizedView() [1/2]
◆ normalizedView() [2/2]
◆ normalizeViewPort() [1/2]
| static void ds3d::gl::BaseRenderPriv::normalizeViewPort |
( |
const ViewLayout & |
layout, |
|
|
uint32_t |
winW, |
|
|
uint32_t |
winH, |
|
|
NormalViewPort & |
normalizedView |
|
) |
| |
|
inlinestaticinherited |
◆ normalizeViewPort() [2/2]
| static void ds3d::gl::BaseRenderPriv::normalizeViewPort |
( |
const ViewLayout & |
layout, |
|
|
uint32_t |
winW, |
|
|
uint32_t |
winH, |
|
|
NormalViewPort & |
normalizedView |
|
) |
| |
|
inlinestaticinherited |
◆ parseConfig() [1/2]
static functions for backward compatibility
Definition at line 170 of file sources/libs/ds3d/glprocess/gl_render_base_priv.h.
References DS3D_FAILED_RETURN, ds3d::gl::eye4x4(), ds3d::gl::PerspectiveParam::far, ds3d::gl::PerspectiveParam::fov, ds3d::isNear(), ds3d::kConfig, ds3d::kGood, ds3d::gl::BaseRenderConfig::lookat, ds3d::gl::BaseRenderConfig::lookatEnabled, ds3d::gl::BaseRenderConfig::modelMat, ds3d::gl::PerspectiveParam::near, ds3d::gl::BaseRenderConfig::needColorClear, ds3d::gl::BaseRenderConfig::perspective, ds3d::gl::BaseRenderConfig::perspectiveEnabled, ds3d::gl::ViewLookat::position, ds3d::gl::PerspectiveParam::ratio, ds3d::gl::ViewLookat::target, ds3d::gl::ViewLookat::up, ds3d::gl::BaseRenderConfig::viewLayout, ds3d::gl::ViewLayout::xy0, and ds3d::gl::ViewLayout::xy1.
◆ parseConfig() [2/2]
◆ project() [1/2]
| mat4f& ds3d::gl::BaseRenderPriv::project |
( |
| ) |
|
|
inlineprotectedinherited |
◆ project() [2/2]
| mat4f& ds3d::gl::BaseRenderPriv::project |
( |
| ) |
|
|
inlineprotectedinherited |
◆ setWindow() [1/2]
|
|
inlineoverridevirtualinherited |
◆ setWindow() [2/2]
|
|
inlineoverridevirtualinherited |
◆ shader() [1/2]
| Ptr<Program>& ds3d::gl::BaseRenderPriv::shader |
( |
| ) |
|
|
inlineprotectedinherited |
◆ shader() [2/2]
| Ptr<Program>& ds3d::gl::BaseRenderPriv::shader |
( |
| ) |
|
|
inlineprotectedinherited |
◆ storeViewPort() [1/2]
◆ storeViewPort() [2/2]
◆ syncData() [1/2]
| ErrCode ds3d::gl::BaseRenderPriv::syncData |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ syncData() [2/2]
| ErrCode ds3d::gl::BaseRenderPriv::syncData |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ textrueConfig() [1/2]
◆ textrueConfig() [2/2]
◆ uploadData() [1/2]
◆ uploadData() [2/2]
◆ uploadDefaultValues() [1/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::uploadDefaultValues |
( |
| ) |
|
|
protected |
◆ uploadDefaultValues() [2/2]
| ErrCode ds3d::gl::Texture3DRenderCtx::uploadDefaultValues |
( |
| ) |
|
|
protected |
◆ uploadImage() [1/2]
◆ uploadImage() [2/2]
◆ uploadVetex() [1/2]
◆ uploadVetex() [2/2]
◆ vao() [1/2]
◆ vao() [2/2]
◆ view() [1/2]
| mat4f& ds3d::gl::BaseRenderPriv::view |
( |
| ) |
|
|
inlineprotectedinherited |
◆ view() [2/2]
| mat4f& ds3d::gl::BaseRenderPriv::view |
( |
| ) |
|
|
inlineprotectedinherited |
◆ _cudaStream
◆ _modelMat
◆ _normalizedView
◆ _projMat
◆ _shader
◆ _vao
◆ _viewlMat
◆ _window
The documentation for this class was generated from the following file: