![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
Classes | |
class | Buffer |
struct | BufferCopyRegion |
struct | BufferUploadInfo |
union | ClearValue |
struct | ColorBlendDesc |
class | CommandAllocator |
class | CommandList |
class | ComputePipeline |
struct | DepthClearValue |
class | DescriptorLayout |
class | DescriptorSet |
class | Device |
struct | DrawIndexedIndirectCommand |
struct | DrawIndirectCommand |
class | Exception |
struct | Extent |
class | Fence |
class | GraphicPipeline |
struct | GraphicPipelineConfiguration |
class | Image |
struct | ImageUploadInfo |
class | Instance |
class | PhysicalDevice |
struct | PhysicalDeviceDesc |
class | Pipeline |
class | PipelineResources |
struct | PushConstantsDesc |
struct | Rect |
class | RenderTarget |
struct | RenderTargetDesc |
struct | RenderingConfiguration |
class | Sampler |
class | Semaphore |
class | ShaderModule |
struct | StencilOpState |
class | SubmitQueue |
class | SwapChain |
struct | VertexAttributeDesc |
class | VertexInputLayout |
struct | VideoMemoryAllocationDesc |
struct | Viewport |
class | Vireo |
Typedefs | |
using | DescriptorIndex = uint32_t |
typedef union vireo::ClearValue | ClearValue |
Functions | |
consteval bool | isMemoryUsageEnabled () |
Variables | |
constexpr bool | ENABLE_VRAM_USAGE = true |
typedef union vireo::ClearValue ClearValue |
Structure specifying a clear value
Manual page : Render pass
using DescriptorIndex = uint32_t |
Index type used for binding resources with a descriptor set
Manual page : Resources Descriptors
|
strong |
Possible values of the Vireo::createSampler addressMode* parameters, specifying the behavior of sampling with coordinates outside the range [0,1] for the respective u, v, or w coordinate.
Manual page : Image samplers
Enum Values | Documentation |
---|---|
REPEAT | Repeat wrap mode. |
MIRRORED_REPEAT | Mirror repeat wrap mode. |
CLAMP_TO_EDGE | Clamp to edge wrap mode. |
CLAMP_TO_BORDER | Clamp to border wrap mode. |
|
strong |
Size and type of a vertex attribute data
Manual page : Graphics Pipelines
|
strong |
Type of supported backends
Manual page : The Vireo class
Enum Values | Documentation |
---|---|
UNDEFINED | Not used. |
DIRECTX | Direct X 12. |
VULKAN | Vulkan 1.3. |
|
strong |
Framebuffer blending factors. cf. https://registry.khronos.org/vulkan/specs/latest/man/html/VkBlendFactor.html
Manual page : Graphics Pipelines
|
strong |
Framebuffer blending operations. cf. https://registry.khronos.org/vulkan/specs/latest/man/html/VkBlendOp.html
Manual page : Graphics Pipelines
Enum Values | Documentation |
---|---|
ADD | |
SUBTRACT | |
REVERSE_SUBTRACT | |
MIN | |
MAX |
|
strong |
VRAM Buffer use type
Manual page : Memory buffers
|
strong |
|
strong |
Type of command or submit queue
Manual pages : Command Lists, Submission queues
Enum Values | Documentation |
---|---|
GRAPHIC | Command/Queue for a graphic pipeline. |
TRANSFER | Command/Queue for copy operations. |
COMPUTE | Command/Queue for a compute pipeline. |
|
strong |
Comparison operator for depth, stencil, and sampler operations
Manual page : Graphics Pipelines
|
strong |
Values controlling triangle culling. Triangle orientation is specified in the pipeline configuration.
Manual page : Graphics Pipelines
Enum Values | Documentation |
---|---|
NONE | No triangles are discarded. |
FRONT | Front-facing triangles are discarded. |
BACK | Back-facing triangles are discarded. |
|
strong |
Type of data for shaders
Manual page : Resources Descriptors
Enum Values | Documentation |
---|---|
UNIFORM | Uniform buffer. |
UNIFORM_DYNAMIC | Dynamic binding uniform buffer. |
STORAGE | Read-only storage buffer in host-visible memory. |
DEVICE_STORAGE | Read-only storage buffer in GPU memory. |
READWRITE_STORAGE | Read & write storage buffer. |
SAMPLED_IMAGE | Sampled texture (image only, no sampler) |
SAMPLER | Sampler for SAMPLED_IMAGE. |
READWRITE_IMAGE | Read/Write image for compute shaders. |
|
strong |
Possible values of the Vireo::createSampler magFilter and minFilter parameters, specifying filters used for texture lookups
Manual page : Image samplers
Enum Values | Documentation |
---|---|
NEAREST | Nearest filtering. |
LINEAR | Linear filtering. |
|
strong |
Available image formats. Only the common formats between the supported back ends are available.
Manual page : Images
|
strong |
Index type for vertex indices
Manual page : Graphics Pipelines
Enum Values | Documentation |
---|---|
UINT16 | Two bytes unsigned int. |
UINT32 | Four bytes unsigned int. |
|
strong |
Framebuffer logical operations. cf. https://registry.khronos.org/vulkan/specs/latest/man/html/VkLogicOp.html
Manual page : Graphics Pipelines
Enum Values | Documentation |
---|---|
CLEAR | |
SET | |
COPY | |
COPY_INVERTED | |
NOOP | |
INVERT | |
AND | |
NAND | |
OR | |
NOR | |
XOR | |
EQUIV | |
AND_REVERSE | |
AND_INVERTED | |
OR_REVERSE | |
OR_INVERTED |
|
strong |
Possible values of the Vireo::createSampler mipmapMode parameter, specifying the mipmap mode used for texture lookups.
Manual page : Image samplers
Enum Values | Documentation |
---|---|
NEAREST | Nearest filtering. |
LINEAR | Linear filtering. |
|
strong |
Sample counts supported for an image used for storage operations
Manual pages : Graphics Pipelines and Render pass
Enum Values | Documentation |
---|---|
NONE | |
X2 | 2x MSAA |
X4 | 4x MSAA |
X8 | 8x MSAA |
X16 | 16x MSAA |
X32 | 32x MSAA |
X64 | 64x MSAA |
|
strong |
|
strong |
Control polygon rasterization mode
Manual page : Graphics Pipelines
Enum Values | Documentation |
---|---|
FILL | Polygon is filled. |
WIREFRAME | Polygon edges are drawn as line segments. |
|
strong |
Presentation mode for a surface
Manual page : Swap Chains
|
strong |
Supported primitive topologies
Manual page : Graphics Pipelines
|
strong |
Use of a render target image
Manual page : Graphics Pipelines
Enum Values | Documentation |
---|---|
COLOR | Used as a color attachment. |
DEPTH | Used as a depth attachment. |
DEPTH_STENCIL | Used as a depth and stencil attachment. |
|
strong |
State/Layout of images for pipeline barriers
Manual page : Memory barriers
Enum Values | Documentation |
---|---|
UNDEFINED | Unknown/general/common state. |
GENERAL | All types of device access. |
RENDER_TARGET_COLOR | Used as a color attachment in the graphics pipeline. |
RENDER_TARGET_DEPTH | Used as a depth attachment in the graphics pipeline. |
RENDER_TARGET_DEPTH_READ | Used as a depth attachment in the graphics pipeline. |
RENDER_TARGET_DEPTH_STENCIL | Used as a depth and stencil attachment in the graphics pipeline. |
RENDER_TARGET_DEPTH_STENCIL_READ | Used as a depth and stencil attachment in the graphics pipeline. |
DISPATCH_TARGET | Used as a read/write image with a compute pipeline. |
PRESENT | Used for presenting a presentable image for display. |
COPY_SRC | Used as a source of a transfer/copy/blit command. |
COPY_DST | Used as a destination of a transfer/copy/blit command. |
SHADER_READ | Read-only access for images and buffers. |
COMPUTE_READ | Read-only access in a compute shader. |
COMPUTE_WRITE | Read-write access in a compute shader. |
INDIRECT_DRAW | Buffer used as indirect draw datas. |
|
strong |
Semaphores types.
Manual page : Semaphores
|
strong |
|
strong |
|
strong |
|
strong |
Semaphores wait stages
Manual page : Semaphores
consteval bool vireo::isMemoryUsageEnabled | ( | ) |
Returns true
if memory usage collection is enabled
|
constexpr |
Enable this to collect memory usage for buffers & images