33#ifndef DVD_RENDER_TARGET_ATTACHMENT_H_
34#define DVD_RENDER_TARGET_ATTACHMENT_H_
81 bool autoResolve =
true )
94 bool autoResolve =
true)
void setTexture(Handle< Texture > renderTexture, Handle< Texture > resolveTexture) noexcept
Handle< Texture > texture() const
RenderTarget & parent() noexcept
RTAttachmentDescriptor _descriptor
PROPERTY_R_IW(Handle< Texture >, resolvedTexture, INVALID_HANDLE< Texture >)
PROPERTY_R_IW(Handle< Texture >, renderTexture, INVALID_HANDLE< Texture >)
PROPERTY_RW(bool, changed, false)
PROPERTY_RW(U32, binding, 0u)
Handle console commands that start with a forward slash.
eastl::fixed_vector< ExternalRTAttachmentDescriptor, RT_MAX_ATTACHMENT_COUNT, false > ExternalRTAttachmentDescriptors
static constexpr U32 RT_DEPTH_ATTACHMENT_IDX
RTAttachmentType
This enum is used when creating render targets to define the channel that the texture will attach to.
eastl::fixed_vector< InternalRTAttachmentDescriptor, RT_MAX_ATTACHMENT_COUNT, false > InternalRTAttachmentDescriptors
static constexpr U8 RT_MAX_ATTACHMENT_COUNT
constexpr auto to_base(const Type value) -> Type
ExternalRTAttachmentDescriptor(RTAttachment *attachment, const SamplerDescriptor sampler, const RTAttachmentType type, const RTColourAttachmentSlot slot, bool autoResolve=true)
InternalRTAttachmentDescriptor(TextureDescriptor &descriptor, const SamplerDescriptor sampler, const RTAttachmentType type, const RTColourAttachmentSlot slot, bool autoResolve=true)
TextureDescriptor _texDescriptor
SamplerDescriptor _sampler
RTColourAttachmentSlot _slot
RTAttachmentDescriptor(const SamplerDescriptor sampler, const RTAttachmentType type, const RTColourAttachmentSlot slot, const bool autoResolve) noexcept
RTAttachment * _externalAttachment