iv::Image Class Reference
Basic element that displays a texture. Has many optional configuration parameters. More...
#include <Image.hpp>
Public Attributes | |
ClientMarker | cm |
DirtyAttr< ResourcePath > | attr_filename |
FlatShader::Params | shading |
Public Attributes inherited from iv::Elem | |
ClientMarker | cm |
DirtyAttr< bool > | attr_enabled |
DirtyAttr< float4x4 > | modelTransform |
DirtyAttr< ShaderScissor > | scissor |
Public Attributes inherited from iv::InputNode | |
ClientMarker | cm |
Public Attributes inherited from iv::SlotChild | |
ClientMarker | cm |
DirtyAttr< float3 > | expectedSize |
DirtyAttr< float3 > | preferredSize |
DirtyAttr< float3 > | size |
Public Attributes inherited from iv::Pickable | |
ClientMarker | cm |
Public Attributes inherited from iv::TranslucentElem | |
ClientMarker | cm |
DirtyAttr< float4 > | attr_preblend |
Enables blending in fragment shader - blends into a fixed color rather than into the current content of framebuffer. This allows us to emulate blending in static scenes without requiring specific draw order. More... | |
DirtyAttr< bool > | attr_translucent |
Item will be drawn as translucent - enables blending and draws after all opaque elements sorted by depth with other translucent objects. More... | |
Protected Member Functions | |
virtual void | first_pass_impl (ElementRenderer *) override |
virtual void | second_pass_impl (ElementRenderer *) override |
virtual bool | picking_test_pixel_perfect (float2 local_pos) override |
Protected Member Functions inherited from iv::Elem | |
virtual void | input_childDisconnect (InputNode *) override |
virtual void | input_eachChild (std::function< void(InputNode *) > const &) override |
Protected Member Functions inherited from iv::InputNode | |
virtual bool | input_trigger_process (InputRoot *root, Input::DeviceKey key) |
virtual void | input_process (InputRoot *root, Input::DeviceKey key, bool &press, bool &real, bool &offspace) |
Detailed Description
Basic element that displays a texture. Has many optional configuration parameters.
Constructor & Destructor Documentation
◆ Image()
Member Function Documentation
◆ status()
void iv::Image::status | ( | iv::TableDebugView * | view | ) |
◆ render()
|
overridevirtual |
Implements iv::Renderable.
◆ enabled()
◆ preblend()
◆ translucent()
◆ filename()
Image * iv::Image::filename | ( | ResourcePath const & | val | ) |
◆ fittingStage()
Image * iv::Image::fittingStage | ( | FlatShader::FittingStage | v | ) |
◆ pixelizeStage()
Image * iv::Image::pixelizeStage | ( | FlatShader::PixelizeStage | v | ) |
◆ pixelizeSize()
◆ pixelizeOffset()
◆ resizeStage()
Image * iv::Image::resizeStage | ( | FlatShader::ResizeStage | v | ) |
◆ resizeAnchor()
◆ filteringStage()
Image * iv::Image::filteringStage | ( | FlatShader::FilteringStage | v | ) |
◆ filteringAlphaThreshold()
◆ filteringAlphaWidth()
◆ alpha()
◆ colorTransform()
◆ first_pass_impl()
|
overrideprotectedvirtual |
◆ second_pass_impl()
|
overrideprotectedvirtual |
◆ picking_test_pixel_perfect()
|
overrideprotectedvirtual |
Reimplemented from iv::SlotChild.
◆ instance()
Member Data Documentation
◆ cm
ClientMarker iv::Image::cm |
◆ attr_filename
DirtyAttr< ResourcePath > iv::Image::attr_filename |
◆ shading
FlatShader::Params iv::Image::shading |
The documentation for this class was generated from the following files: