Nebula
Loading...
Searching...
No Matches
textureview.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
10//------------------------------------------------------------------------------
11#include "coregraphics/config.h"
13namespace CoreGraphics
14{
15
17
31
33TextureViewId CreateTextureView(const TextureViewCreateInfo& info);
35void DestroyTextureView(const TextureViewId id);
36
38void TextureViewReload(const TextureViewId id);
39
41TextureId TextureViewGetTexture(const TextureViewId id);
42
43} // namespace CoreGraphics
Code
enums
Definition pixelformat.h:26
@ InvalidPixelFormat
Definition pixelformat.h:84
A StringAtom.
Definition stringatom.h:22
#define ID_24_8_TYPE(x)
Definition id.h:132
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition accelerationstructure.h:24
void TextureViewReload(const TextureViewId id)
reload texture view by creating a new backend view with the old texture (assuming it's changed)
Definition vktextureview.cc:136
TextureUsage
type of texture usage
Definition texture.h:56
@ InvalidTextureUsage
Definition texture.h:57
TextureId TextureViewGetTexture(const TextureViewId id)
get texture
Definition vktextureview.cc:181
void DestroyTextureView(const TextureViewId id)
destroy texture view
Definition vktextureview.cc:124
ImageBits
Definition config.h:82
TextureViewId CreateTextureView(const TextureViewCreateInfo &info)
create texture view
Definition vktextureview.cc:48
Compile time configuration options for the CoreGraphics subsystem.
texture type
Definition texture.h:25
Definition texture.h:94
Definition textureview.h:19
TextureId tex
Definition textureview.h:21
SizeT numLayers
Definition textureview.h:25
PixelFormat::Code format
Definition textureview.h:26
IndexT startLayer
Definition textureview.h:24
ImageBits bits
Definition textureview.h:27
CoreGraphics::TextureUsage usage
Definition textureview.h:28
IndexT startMip
Definition textureview.h:22
SizeT numMips
Definition textureview.h:23
Util::StringAtom name
Definition textureview.h:20
CoreGraphics::TextureSwizzle swizzle
Definition textureview.h:29
Definition textureview.h:16
int SizeT
Definition types.h:49
int IndexT
Definition types.h:48