Dela via


Struct VulkanRenderParameters

When GraphicsBindingOpenXrVulkan is used, this must be filled out and passed to GraphicsBindingOpenXrVulkan.PrepareRender(VulkanRenderParameters) and GraphicsBindingOpenXrVulkan.BlitRemoteFrame(VulkanRenderParameters) once per frame.

struct Microsoft::Azure::RemoteRendering::VulkanRenderParameters

Fields

GraphicsQueue

Vulkan graphics queue.

void* GraphicsQueue{};

QueueFamilyIndex

Queue family index used by the graphics queue.

uint32_t QueueFamilyIndex{};

CommandBuffer

Vulkan command buffer to use for recoding.

void* CommandBuffer{};

RenderPass

Vulkan render pass used by the app to render into frame buffer.

void* RenderPass{};

Srgb

Flag indicating whether the given frame buffer was created with a SRGB format.

bool Srgb{};

SampleCount

MSAA sample count of the given frame buffer.

uint32_t SampleCount{};

CurrentFrameNumber

Current frame number. Note, must be strictly increasing. Can be used to track lifetime of own resources.

uint64_t CurrentFrameNumber{};