Nebula
Loading...
Searching...
No Matches
sampler.h File Reference

Detailed Description

Samplers.

#include "ids/id.h"
#include "util/bit.h"

Go to the source code of this file.

Classes

struct  CoreGraphics::SamplerId
 
struct  CoreGraphics::SamplerCreateInfo
 

Namespaces

namespace  CoreGraphics
 Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
 

Enumerations

enum  CoreGraphics::SamplerFilter { CoreGraphics::NearestFilter , CoreGraphics::LinearFilter , CoreGraphics::CubicFilter }
 
enum  CoreGraphics::SamplerMipMode { CoreGraphics::NearestMipMode , CoreGraphics::LinearMipMode }
 
enum  CoreGraphics::SamplerAddressMode {
  CoreGraphics::RepeatAddressMode , CoreGraphics::MirroredRepeatAddressMode , CoreGraphics::ClampToEdgeAddressMode , CoreGraphics::ClampToBorderAddressMode ,
  CoreGraphics::MirrorClampToEdgeAddressMode
}
 
enum  CoreGraphics::SamplerCompareOperation {
  CoreGraphics::NeverCompare , CoreGraphics::LessCompare , CoreGraphics::EqualCompare , CoreGraphics::LessOrEqualCompare ,
  CoreGraphics::GreaterCompare , CoreGraphics::GreaterOrEqualCompare , CoreGraphics::NotEqualCompare , CoreGraphics::AlwaysCompare
}
 
enum  CoreGraphics::SamplerBorderMode {
  CoreGraphics::FloatTransparentBlackBorder , CoreGraphics::IntTransparentBlackBorder , CoreGraphics::FloatOpaqueBlackBorder , CoreGraphics::IntOpaqueBlackBorder ,
  CoreGraphics::FloatOpaqueWhiteBorder , CoreGraphics::IntOpaqueWhiteBorder
}
 

Functions

SamplerId CoreGraphics::CreateSampler (const SamplerCreateInfo &info)
 create sampler
 
void CoreGraphics::DestroySampler (const SamplerId &id)
 destroy sampler