Cogs.Core
Extensions
Terrain
Source
ClipmapUpsampler.h
1
#pragma once
2
3
#include "Rendering/Common.h"
4
5
namespace
Cogs
6
{
7
class
IGraphicsDevice;
8
struct
RenderContext;
9
struct
RasterTile;
10
class
ClipmapLevel;
11
class
RasterSource;
12
struct
RasterTileRegion;
13
14
class
ClipmapUpsampler
15
{
16
public
:
17
void
initialize(
IGraphicsDevice
* device);
18
19
void
upsampleLevelRegions(
RenderContext
& context,
20
ClipmapLevel
* level,
21
const
RasterTileRegion
** regions,
22
const
size_t
numRegions);
23
24
TextureHandle
upsampleTile(
RenderContext
& renderContext,
25
RasterSource
* source,
26
RasterTile
* parentTile,
27
RasterTile
* tile);
28
29
VertexBufferHandle
vertexBufferHandle;
30
InputLayoutHandle
upsampleLayoutHandle;
31
InputLayoutHandle
upsampleTileLayoutHandle;
32
33
EffectHandle
upsampleEffectHandle;
34
EffectHandle
upsampleTileEffectHandle;
35
36
ConstantBufferBindingHandle
levelParameterBinding;
37
BufferHandle
levelParameterBufferHandle;
38
39
TextureBindingHandle
coarseImageryBinding;
40
SamplerStateBindingHandle
coarseImagerySamplerBinding;
41
42
ConstantBufferBindingHandle
upsampleParameterBinding;
43
BufferHandle
upsampleParameterBufferHandle;
44
45
ConstantBufferBindingHandle
upsampleTileParameterBinding;
46
BufferHandle
upsampleTileParameterBufferHandle;
47
48
SamplerStateHandle
linearRepeatStateHandle;
49
SamplerStateHandle
pointRepeatStateHandle;
50
SamplerStateHandle
linearClampStateHandle;
51
};
52
}
Cogs::ClipmapLevel
Definition:
ClipmapLevel.h:26
Cogs::ClipmapUpsampler
Definition:
ClipmapUpsampler.h:15
Cogs::IGraphicsDevice
Represents a graphics device used to manage graphics resources and issue drawing commands.
Definition:
IGraphicsDevice.h:169
Cogs::RasterSource
Definition:
RasterSource.h:47
Cogs
Contains all Cogs related functionality.
Definition:
FieldSetter.h:23
Cogs::Handle_t< TextureTag >
Cogs::RasterTileRegion
Definition:
RasterTile.h:80
Cogs::RasterTile
Definition:
RasterTile.h:41
Cogs::RenderContext
Definition:
RenderContext.h:150
Generated by
1.9.6