Flutter Impeller
shader_types.h File Reference
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string_view>
#include <vector>
#include "flutter/fml/hash_combine.h"
#include "flutter/fml/logging.h"
#include "impeller/core/runtime_types.h"
#include "impeller/geometry/half.h"
#include "impeller/geometry/matrix.h"

Go to the source code of this file.

Classes

struct  impeller::ShaderStructMemberMetadata
 
struct  impeller::ShaderMetadata
 
struct  impeller::ShaderUniformSlot
 Metadata required to bind a buffer. More...
 
struct  impeller::SampledImageSlot
 Metadata required to bind a combined texture and sampler. More...
 
struct  impeller::ShaderStageIOSlot
 
struct  impeller::ShaderStageBufferLayout
 
struct  impeller::DescriptorSetLayout
 
struct  impeller::Padding< Size >
 
struct  impeller::Padded< T, Size, class >
 Struct used for padding uniform buffer array elements. More...
 

Namespaces

 impeller
 

Enumerations

enum  impeller::ShaderStage {
  impeller::ShaderStage::kUnknown,
  impeller::ShaderStage::kVertex,
  impeller::ShaderStage::kFragment,
  impeller::ShaderStage::kCompute
}
 
enum  impeller::ShaderType {
  impeller::ShaderType::kUnknown,
  impeller::ShaderType::kVoid,
  impeller::ShaderType::kBoolean,
  impeller::ShaderType::kSignedByte,
  impeller::ShaderType::kUnsignedByte,
  impeller::ShaderType::kSignedShort,
  impeller::ShaderType::kUnsignedShort,
  impeller::ShaderType::kSignedInt,
  impeller::ShaderType::kUnsignedInt,
  impeller::ShaderType::kSignedInt64,
  impeller::ShaderType::kUnsignedInt64,
  impeller::ShaderType::kAtomicCounter,
  impeller::ShaderType::kHalfFloat,
  impeller::ShaderType::kFloat,
  impeller::ShaderType::kDouble,
  impeller::ShaderType::kStruct,
  impeller::ShaderType::kImage,
  impeller::ShaderType::kSampledImage,
  impeller::ShaderType::kSampler
}
 
enum  impeller::DescriptorType {
  impeller::DescriptorType::kUniformBuffer,
  impeller::DescriptorType::kStorageBuffer,
  impeller::DescriptorType::kSampledImage,
  impeller::DescriptorType::kImage,
  impeller::DescriptorType::kSampler,
  impeller::DescriptorType::kInputAttachment
}
 

Functions

constexpr ShaderStage impeller::ToShaderStage (RuntimeShaderStage stage)
 
constexpr Vector4 impeller::ToVector (Color color)