Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the comments of RenderState #431

Merged
merged 3 commits into from
Aug 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/core/src/shader/state/RasterState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { RenderState } from "./RenderState";
* Raster state.
*/
export class RasterState {
/** specifies whether or not front- and/or back-facing polygons can be culled. */
/** Specifies whether or not front- and/or back-facing polygons can be culled. */
cullMode: CullMode = CullMode.Back;
/** the multiplier by which an implementation-specific value is multiplied with to create a constant depth offset. */
/** The multiplier by which an implementation-specific value is multiplied with to create a constant depth offset. */
depthBias: number = 0;
/** the scale factor for the variable depth offset for each polygon. */
/** The scale factor for the variable depth offset for each polygon. */
slopeScaledDepthBias: number = 0;

/** @internal */
Expand Down