Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::noRenderTarget Class Referencefinal

#include <NonePlaceholderObjects.h>

+ Inheritance diagram for Divide::noRenderTarget:

Public Member Functions

 noRenderTarget (GFXDevice &context, const RenderTargetDescriptor &descriptor)
 
- Public Member Functions inherited from Divide::RenderTarget
virtual bool create ()
 Init all attachments. Returns false if already called.
 
bool hasAttachment (RTAttachmentType type, RTColourAttachmentSlot slot=RTColourAttachmentSlot::SLOT_0) const
 
bool usesAttachment (RTAttachmentType type, RTColourAttachmentSlot slot=RTColourAttachmentSlot::SLOT_0) const
 
RTAttachmentgetAttachment (RTAttachmentType type, RTColourAttachmentSlot slot=RTColourAttachmentSlot::SLOT_0) const
 
U8 getAttachmentCount (RTAttachmentType type) const noexcept
 
U8 getSampleCount () const noexcept
 
bool resize (U16 width, U16 height)
 Resize all attachments.
 
bool updateSampleCount (U8 newSampleCount)
 Change msaa sampel count for all attachments.
 
U16 getWidth () const noexcept
 
U16 getHeight () const noexcept
 
vec2< U16getResolution () const noexcept
 
F32depthClearValue () noexcept
 
const Str< 64 > & name () const noexcept
 
- Public Member Functions inherited from Divide::GUIDWrapper
 GUIDWrapper () noexcept
 
 GUIDWrapper (const GUIDWrapper &old) noexcept
 
 GUIDWrapper (GUIDWrapper &&old) noexcept
 
virtual ~GUIDWrapper ()=default
 
FORCE_INLINE I64 getGUID () const noexcept
 
GUIDWrapperoperator= (const GUIDWrapper &old)=delete
 
GUIDWrapperoperator= (GUIDWrapper &&other)=delete
 
- Public Member Functions inherited from Divide::GraphicsResource
virtual ~GraphicsResource ()
 
GFXDevicecontext () const noexcept
 
U64 nameHash () const noexcept
 
- Public Member Functions inherited from Divide::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=default
 
NonCopyableoperator= (NonCopyable &&)=default
 
- Public Member Functions inherited from Divide::NonMovable
 NonMovable (NonMovable &&)=delete
 
NonMovableoperator= (NonMovable &&)=delete
 
 NonMovable (const NonMovable &)=default
 
NonMovableoperator= (const NonMovable &)=default
 

Additional Inherited Members

- Public Types inherited from Divide::RenderTarget
enum class  Usage : U8 { RT_READ_WRITE = 0 , RT_READ_ONLY = 1 , RT_WRITE_ONLY = 2 }
 
- Public Types inherited from Divide::GraphicsResource
enum class  Type : U8 {
  RENDER_TARGET , SHADER_BUFFER , BUFFER , SHADER ,
  SHADER_PROGRAM , TEXTURE , COUNT
}
 
- Static Public Member Functions inherited from Divide::GUIDWrapper
static I64 generateGUID () noexcept
 
- Protected Member Functions inherited from Divide::RenderTarget
 RenderTarget (GFXDevice &context, const RenderTargetDescriptor &descriptor)
 
virtual bool initAttachment (RTAttachment *att, RTAttachmentType type, RTColourAttachmentSlot slot)
 
bool autoResolveAttachment (RTAttachment *att) const
 
- Protected Member Functions inherited from Divide::GraphicsResource
 GraphicsResource (GFXDevice &context, Type type, I64 GUID, U64 nameHash)
 
- Protected Member Functions inherited from Divide::NonCopyable
 NonCopyable ()=default
 
 ~NonCopyable ()=default
 
- Protected Member Functions inherited from Divide::NonMovable
 NonMovable ()=default
 
 ~NonMovable ()=default
 
- Protected Attributes inherited from Divide::RenderTarget
RenderTargetDescriptor _descriptor
 
RTAttachment_uptr _attachments [RT_MAX_ATTACHMENT_COUNT] {}
 
bool _attachmentsUsed [RT_MAX_ATTACHMENT_COUNT] = {}
 
bool _attachmentsAutoResolve [RT_MAX_ATTACHMENT_COUNT] = {}
 
- Protected Attributes inherited from Divide::GUIDWrapper
const I64 _guid
 
- Protected Attributes inherited from Divide::GraphicsResource
GFXDevice_context
 

Detailed Description

Definition at line 46 of file NonePlaceholderObjects.h.

Constructor & Destructor Documentation

◆ noRenderTarget()

Divide::noRenderTarget::noRenderTarget ( GFXDevice context,
const RenderTargetDescriptor descriptor 
)
inline

Definition at line 48 of file NonePlaceholderObjects.h.


The documentation for this class was generated from the following file: