pub struct AccelerationStructureCurveGeometryDescriptor(/* private fields */);Expand description
Descriptor for curve geometry in an acceleration structure.
C++ equivalent: MTL4::AccelerationStructureCurveGeometryDescriptor
Implementations§
Source§impl AccelerationStructureCurveGeometryDescriptor
impl AccelerationStructureCurveGeometryDescriptor
Sourcepub fn control_point_buffer(&self) -> BufferRange
pub fn control_point_buffer(&self) -> BufferRange
Get the control point buffer.
Sourcepub fn set_control_point_buffer(&self, buffer: BufferRange)
pub fn set_control_point_buffer(&self, buffer: BufferRange)
Set the control point buffer.
Sourcepub fn control_point_count(&self) -> UInteger
pub fn control_point_count(&self) -> UInteger
Get the control point count.
Sourcepub fn set_control_point_count(&self, count: UInteger)
pub fn set_control_point_count(&self, count: UInteger)
Set the control point count.
Sourcepub fn control_point_format(&self) -> AttributeFormat
pub fn control_point_format(&self) -> AttributeFormat
Get the control point format.
Sourcepub fn set_control_point_format(&self, format: AttributeFormat)
pub fn set_control_point_format(&self, format: AttributeFormat)
Set the control point format.
Sourcepub fn control_point_stride(&self) -> UInteger
pub fn control_point_stride(&self) -> UInteger
Get the control point stride.
Sourcepub fn set_control_point_stride(&self, stride: UInteger)
pub fn set_control_point_stride(&self, stride: UInteger)
Set the control point stride.
Sourcepub fn curve_basis(&self) -> CurveBasis
pub fn curve_basis(&self) -> CurveBasis
Get the curve basis.
Sourcepub fn set_curve_basis(&self, basis: CurveBasis)
pub fn set_curve_basis(&self, basis: CurveBasis)
Set the curve basis.
Sourcepub fn curve_end_caps(&self) -> CurveEndCaps
pub fn curve_end_caps(&self) -> CurveEndCaps
Get the curve end caps.
Sourcepub fn set_curve_end_caps(&self, end_caps: CurveEndCaps)
pub fn set_curve_end_caps(&self, end_caps: CurveEndCaps)
Set the curve end caps.
Sourcepub fn curve_type(&self) -> CurveType
pub fn curve_type(&self) -> CurveType
Get the curve type.
Sourcepub fn set_curve_type(&self, curve_type: CurveType)
pub fn set_curve_type(&self, curve_type: CurveType)
Set the curve type.
Sourcepub fn index_buffer(&self) -> BufferRange
pub fn index_buffer(&self) -> BufferRange
Get the index buffer.
Sourcepub fn set_index_buffer(&self, buffer: BufferRange)
pub fn set_index_buffer(&self, buffer: BufferRange)
Set the index buffer.
Sourcepub fn index_type(&self) -> IndexType
pub fn index_type(&self) -> IndexType
Get the index type.
Sourcepub fn set_index_type(&self, index_type: IndexType)
pub fn set_index_type(&self, index_type: IndexType)
Set the index type.
Sourcepub fn radius_buffer(&self) -> BufferRange
pub fn radius_buffer(&self) -> BufferRange
Get the radius buffer.
Sourcepub fn set_radius_buffer(&self, buffer: BufferRange)
pub fn set_radius_buffer(&self, buffer: BufferRange)
Set the radius buffer.
Sourcepub fn radius_format(&self) -> AttributeFormat
pub fn radius_format(&self) -> AttributeFormat
Get the radius format.
Sourcepub fn set_radius_format(&self, format: AttributeFormat)
pub fn set_radius_format(&self, format: AttributeFormat)
Set the radius format.
Sourcepub fn radius_stride(&self) -> UInteger
pub fn radius_stride(&self) -> UInteger
Get the radius stride.
Sourcepub fn set_radius_stride(&self, stride: UInteger)
pub fn set_radius_stride(&self, stride: UInteger)
Set the radius stride.
Sourcepub fn segment_control_point_count(&self) -> UInteger
pub fn segment_control_point_count(&self) -> UInteger
Get the segment control point count.
Sourcepub fn set_segment_control_point_count(&self, count: UInteger)
pub fn set_segment_control_point_count(&self, count: UInteger)
Set the segment control point count.
Sourcepub fn segment_count(&self) -> UInteger
pub fn segment_count(&self) -> UInteger
Get the segment count.
Sourcepub fn set_segment_count(&self, count: UInteger)
pub fn set_segment_count(&self, count: UInteger)
Set the segment count.