Defines the data required when custom mipmap material has been specified. More...
#include <kanzi/core.ui/graphics3d/mipmap_generation_concept_impl.hpp>
Public Member Functions | |
| void | eraseAttachment (size_t attachmentIndex) |
| Erases an attachment. | |
| MipmapAttachment & | getAttachment (size_t attachmentIndex) |
| Gets an attachment by index. | |
| Geometry & | getGeometry () |
| Gets the geometry contained within. | |
| bool | isEmpty () const |
| Indicates whether or not the whole render data is empty. | |
| MipmapRenderData (Domain *domain) | |
| Constructor. | |
Static Public Attributes | |
| static const size_t | AttachmentCount |
| Number of attachments. | |
Protected Attributes | |
| array< MipmapAttachment, AttachmentCount > | m_attachments |
| Array of rendering data for each attachment the mipmap rendering can target. | |
| GeometrySharedPtr | m_geometry |
| Shared geometry for all mipmap rendering. | |
Defines the data required when custom mipmap material has been specified.
|
explicit |
Constructor.
| void kanzi::MipmapGenerationConceptImpl< TBaseClass, TDerivedClass, FaceCount >::MipmapRenderData::eraseAttachment | ( | size_t | attachmentIndex | ) |
Erases an attachment.
| attachmentIndex | Attachment index. |
|
inline |
Gets an attachment by index.
| attachmentIndex | Attachment index. |
|
inline |
Gets the geometry contained within.
|
inline |
Indicates whether or not the whole render data is empty.
|
static |
Number of attachments.
|
protected |
Shared geometry for all mipmap rendering.
|
protected |
Array of rendering data for each attachment the mipmap rendering can target.
Order is color textures 0, 1, 2, and 3 and depth.