|
| RenderTexture (glm::vec< 2, int > const &size={1, 1}, fge::vulkan::Context const &context=fge::vulkan::GetActiveContext()) |
| RenderTexture (RenderTexture const &r) |
| RenderTexture (RenderTexture &&r) noexcept |
RenderTexture & | operator= (RenderTexture const &r) |
RenderTexture & | operator= (RenderTexture &&r) noexcept |
void | resize (glm::vec< 2, int > const &size) |
void | destroy () final |
uint32_t | prepareNextFrame (VkCommandBufferInheritanceInfo const *inheritanceInfo, uint64_t timeout_ns) override |
void | beginRenderPass (uint32_t imageIndex) override |
void | endRenderPass () override |
void | display (uint32_t imageIndex) override |
Vector2u | getSize () const override |
VkExtent2D | getExtent2D () const override |
fge::vulkan::CommandBuffer & | getCommandBuffer () const override |
VkRenderPass | getRenderPass () const override |
fge::vulkan::TextureImage const & | getTextureImage () const |
uint32_t | getCurrentFrame () const |
void | setClearColor (fge::Color const &color) |
fge::Color | getClearColor () const |
void | setView (View const &view) |
View const & | getView () const |
View const & | getDefaultView () const |
fge::vulkan::Viewport | getViewport (View const &view) const |
Vector2f | mapFramebufferCoordsToViewSpace (Vector2i const &point) const |
Vector2f | mapFramebufferCoordsToViewSpace (Vector2i const &point, View const &view) const |
Vector2f | mapFramebufferCoordsToWorldSpace (Vector2i const &point) const |
Vector2f | mapFramebufferCoordsToWorldSpace (Vector2i const &point, View const &view) const |
Vector2i | mapViewCoordsToFramebufferSpace (Vector2f const &point) const |
Vector2i | mapViewCoordsToFramebufferSpace (Vector2f const &point, View const &view) const |
Vector2i | mapWorldCoordsToFramebufferSpace (Vector2f const &point) const |
Vector2i | mapWorldCoordsToFramebufferSpace (Vector2f const &point, View const &view) const |
RectFloat | mapFramebufferRectToViewSpace (RectInt const &rect) const |
RectFloat | mapFramebufferRectToViewSpace (RectInt const &rect, View const &view) const |
RectFloat | mapFramebufferRectToWorldSpace (RectInt const &rect) const |
RectFloat | mapFramebufferRectToWorldSpace (RectInt const &rect, View const &view) const |
RectInt | mapViewRectToFramebufferSpace (RectFloat const &rect) const |
RectInt | mapViewRectToFramebufferSpace (RectFloat const &rect, View const &view) const |
RectInt | mapWorldRectToFramebufferSpace (RectFloat const &rect) const |
RectInt | mapWorldRectToFramebufferSpace (RectFloat const &rect, View const &view) const |
void | draw (fge::RenderStates &states, fge::vulkan::GraphicPipeline *graphicPipeline=nullptr) const |
std::pair< fge::vulkan::GraphicPipeline &, RequestResults > | requestGraphicPipeline (vulkan::GraphicPipeline::Key const &key) const |
void | clearGraphicPipelineCache () |
uint32_t | requestGlobalTransform (fge::Transformable const &transformable, uint32_t parentGlobalTransform) const |
uint32_t | requestGlobalTransform (fge::Transformable const &transformable, fge::TransformUboData const &parentTransform) const |
uint32_t | requestGlobalTransform (fge::Transformable const &transformable, fge::RenderResourceTransform const &resource) const |
uint32_t | requestGlobalTransform (fge::Transformable const &transformable) const |
fge::TransformUboData const * | getGlobalTransform (fge::RenderResourceTransform const &resource) const |
constexpr Context const & | getContext () const |
void | swapContext (Context const &context) |