Jump to content

Expose the Render* members to public


klepto2
 Share

Recommended Posts

While this might not be needed for most users, and a lot can change in the Render* classes can change.
It is needed to have access to have access to this classes from its highlevel counterparts. (eg: Texture -> RenderTexture)

Why:

  • More flexibility
  • Easier to add extensions which require low level access like GLHandles or VK handles depending on the renderer
  • Integration of third party things will be easier.

I noticed that there were some kind of methods to get this data. Like the commented Ultraengine::Render::GetRenderTexture function. something like this for all Render* items would be nice. 

  • Upvote 1
  • Intel® Core™ i7-8550U @ 1.80 Ghz 
  • 16GB RAM 
  • INTEL UHD Graphics 620
  • Windows 10 Pro 64-Bit-Version
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...