Nebula
Loading...
Searching...
No Matches
vktextureview.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
10#include "ids/idallocator.h"
12namespace Vulkan
13{
14
26
28{
29 VkImageView view;
30};
31
32enum
33{
36};
37
38typedef Ids::IdAllocator<
39 VkTextureViewLoadInfo,
40 VkTextureViewRuntimeInfo
43
45const VkImageView TextureViewGetVk(const CoreGraphics::TextureViewId id);
48
49} // namespace Vulkan
Code
enums
Definition pixelformat.h:26
An ID allocator associates an id with a slice in an N number of arrays.
Definition idallocator.h:39
Vulkan implementation of GPU acceleration structure.
Definition vkaccelerationstructure.cc:15
@ TextureView_LoadInfo
Definition vktextureview.h:34
@ TextureView_RuntimeInfo
Definition vktextureview.h:35
VkTextureViewAllocator textureViewAllocator(0x00FFFFFF)
Definition vktextureview.h:42
const VkImageView TextureViewGetVk(const TextureViewId id)
Get vk image view.
Definition vktextureview.cc:23
const VkDevice TextureViewGetVkDevice(const CoreGraphics::TextureViewId id)
Get device used to create view.
Definition vktextureview.cc:32
Ids::IdAllocator< VkTextureViewLoadInfo, VkTextureViewRuntimeInfo > VkTextureViewAllocator
Definition vktextureview.h:41
texture type
Definition texture.h:25
Definition texture.h:94
Definition textureview.h:16
Definition vktextureview.h:16
SizeT numMips
Definition vktextureview.h:20
CoreGraphics::TextureId tex
Definition vktextureview.h:18
CoreGraphics::TextureSwizzle swizzle
Definition vktextureview.h:24
IndexT mip
Definition vktextureview.h:19
VkDevice dev
Definition vktextureview.h:17
SizeT numLayers
Definition vktextureview.h:22
CoreGraphics::PixelFormat::Code format
Definition vktextureview.h:23
IndexT layer
Definition vktextureview.h:21
Definition vktextureview.h:28
VkImageView view
Definition vktextureview.h:29
int SizeT
Definition types.h:49
int IndexT
Definition types.h:48