#include <scene_context.h>
Classes | |
struct | Equal |
struct | Hash |
Public Member Functions | |
void | ApplyToPipelineDescriptor (const Capabilities &capabilities, PipelineDescriptor &desc) const |
Public Attributes | |
SampleCount | sample_count = SampleCount::kCount1 |
PrimitiveType | primitive_type = PrimitiveType::kTriangle |
Definition at line 19 of file scene_context.h.
void impeller::scene::SceneContextOptions::ApplyToPipelineDescriptor | ( | const Capabilities & | capabilities, |
PipelineDescriptor & | desc | ||
) | const |
Definition at line 16 of file scene_context.cc.
References impeller::DepthAttachmentDescriptor::depth_compare, impeller::StencilAttachmentDescriptor::depth_stencil_pass, impeller::DepthAttachmentDescriptor::depth_write_enabled, impeller::Capabilities::GetDefaultDepthStencilFormat(), impeller::kAlways, impeller::kBackFace, impeller::kCounterClockwise, impeller::kKeep, impeller::kLess, primitive_type, sample_count, impeller::PipelineDescriptor::SetCullMode(), impeller::PipelineDescriptor::SetDepthPixelFormat(), impeller::PipelineDescriptor::SetDepthStencilAttachmentDescriptor(), impeller::PipelineDescriptor::SetPrimitiveType(), impeller::PipelineDescriptor::SetSampleCount(), impeller::PipelineDescriptor::SetStencilAttachmentDescriptors(), impeller::PipelineDescriptor::SetStencilPixelFormat(), impeller::PipelineDescriptor::SetWindingOrder(), and impeller::StencilAttachmentDescriptor::stencil_compare.
PrimitiveType impeller::scene::SceneContextOptions::primitive_type = PrimitiveType::kTriangle |
Definition at line 21 of file scene_context.h.
Referenced by ApplyToPipelineDescriptor(), impeller::scene::SceneContextOptions::Hash::operator()(), and impeller::scene::SceneContextOptions::Equal::operator()().
SampleCount impeller::scene::SceneContextOptions::sample_count = SampleCount::kCount1 |
Definition at line 20 of file scene_context.h.
Referenced by ApplyToPipelineDescriptor(), impeller::scene::Material::GetContextOptions(), impeller::scene::SceneContextOptions::Hash::operator()(), and impeller::scene::SceneContextOptions::Equal::operator()().