|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Represents an cubemap made of 6 2D textures. More...
#include <ITextureCube.hpp>


Public Member Functions | |
| ITexture2D | CreateStaging () |
| virtual Math::UPoint | Size () const noexcept=0 |
| Returns the size of the cubemap texture in pixels as a UPoint, where X is the width and Y is the height. | |
| virtual unsigned | Width () const noexcept=0 |
| Gets the width of the cubemap texture in pixels. | |
| virtual unsigned | Height () const noexcept=0 |
| Gets the height of the cubemap texture in pixels. | |
| virtual void * | GetViewHandle () const noexcept=0 |
| Gets an opaque handle to the underlying GPU resource view for the cubemap texture. | |
| virtual std::unique_ptr< ITextureCube > | CreateStaging ()=0 |
| Creates a staging texture cube that can be used for CPU read/write operations. | |
| virtual | ~ITextureCube () override=default |
| Public Member Functions inherited from Engine3DRadSpace.Graphics.IGPUMultiBuffer | |
| ulong | ReadData (ulong subresource, IntPtr ppData) |
| void | SetData (ulong subresource, IntPtr pData, ulong buffSize) |
| void | EndRead (ulong subresource) |
| virtual size_t | ReadData (size_t subResource, void **data)=0 |
| Reads the data of a subresource and returns the size of the data read. | |
| virtual void | SetData (size_t subResource, void *data, size_t buffSize)=0 |
| Sets the data of a subresource with the specified data and buffer size. | |
| virtual void | EndRead (size_t subResource)=0 |
| Unmaps the specified subresource after reading its data, indicating that the read operation is complete. | |
| template<typename T> | |
| void | SetData (size_t subResource, std::span< T > data) |
| Reads the data of a subresource and returns it as a array of type T. | |
| Public Member Functions inherited from Engine3DRadSpace.Graphics.IGPUResource | |
| virtual void * | GetHandle () const noexcept=0 |
| Gets an opaque handle to the underlying GPU resource. | |
| virtual IGraphicsDevice * | GetGraphicsDevice () const noexcept=0 |
| Gets the GraphicsDevice that created this resource. | |
| virtual | ~IGPUResource ()=default |
Protected Member Functions | |
| ITextureCube ()=default | |
| ITextureCube (const ITextureCube &)=delete | |
| ITextureCube & | operator= (const ITextureCube &)=delete |
| ITextureCube (ITextureCube &&) noexcept=default | |
| ITextureCube & | operator= (ITextureCube &&) noexcept=default |
| Protected Member Functions inherited from Engine3DRadSpace.Graphics.IGPUMultiBuffer | |
| IGPUMultiBuffer ()=default | |
| IGPUMultiBuffer (const IGPUMultiBuffer &)=delete | |
| IGPUMultiBuffer & | operator= (const IGPUMultiBuffer &)=delete |
| IGPUMultiBuffer (IGPUMultiBuffer &&) noexcept=default | |
| IGPUMultiBuffer & | operator= (IGPUMultiBuffer &&) noexcept=default |
| Protected Member Functions inherited from Engine3DRadSpace.Graphics.IGPUResource | |
| IGPUResource ()=default | |
| IGPUResource (const IGPUResource &)=delete | |
| IGPUResource & | operator= (const IGPUResource &)=delete |
| IGPUResource (IGPUResource &&) noexcept=default | |
| IGPUResource & | operator= (IGPUResource &&) noexcept=default |
Properties | |
| Point | Size [get] |
| uint | Width [get] |
| uint | Height [get] |
| IntPtr | ViewHandle [get] |
| Properties inherited from Engine3DRadSpace.Graphics.IGPUResource | |
| IGraphicsDevice | GraphicsDevice [get] |
| IntPtr | GPUHandle [get] |
| Properties inherited from Engine3DRadSpace.IPtrWrapper | |
| IntPtr | Handle [get] |
Represents an cubemap made of 6 2D textures.
|
protecteddefault |
|
protecteddelete |
|
protecteddefaultnoexcept |
|
overridevirtualdefault |
| ITexture2D Engine3DRadSpace.Graphics.ITextureCube.CreateStaging | ( | ) |
|
nodiscardpure virtual |
Creates a staging texture cube that can be used for CPU read/write operations.
Implemented in Engine3DRadSpace.Graphics.InstITextureCube, Engine3DRadSpace.Graphics::DirectX11::TextureCube, and Engine3DRadSpace.Graphics::Null::TextureCube.
|
pure virtualnoexcept |
Gets an opaque handle to the underlying GPU resource view for the cubemap texture.
Implemented in Engine3DRadSpace.Graphics::DirectX11::TextureCube, and Engine3DRadSpace.Graphics::Null::TextureCube.
|
pure virtualnoexcept |
Gets the height of the cubemap texture in pixels.
Implemented in Engine3DRadSpace.Graphics::DirectX11::TextureCube, and Engine3DRadSpace.Graphics::Null::TextureCube.
|
protecteddelete |
|
protecteddefaultnoexcept |
|
pure virtualnoexcept |
Returns the size of the cubemap texture in pixels as a UPoint, where X is the width and Y is the height.
Implemented in Engine3DRadSpace.Graphics::DirectX11::TextureCube, and Engine3DRadSpace.Graphics::Null::TextureCube.
|
pure virtualnoexcept |
Gets the width of the cubemap texture in pixels.
Implemented in Engine3DRadSpace.Graphics::DirectX11::TextureCube, and Engine3DRadSpace.Graphics::Null::TextureCube.
|
get |
|
get |
|
get |
|
get |